milkytracker/MilkyTracker

When rendering an order to a Sample/File, a small part of the next order is also rendered

caseyjoy opened this issue · 0 comments

OS: Ubuntu 21.10
Milkytracker versions: 1.03, latest Github source build
Issue: When rendering an order to a Sample/File, a small piece of the audio in following order is also rendered. I suspect there might just be an off-by-one style bug somewhere in the render process, grabbing slightly too much audio.
Steps to reproduce:

  • Open a new file
  • Load a sample
  • Clone the empty 00 order
  • Add a C-4 of the sample to row 00 in order 01
    image
  • Open the HD Recorder (Ctrl-r)
  • Change range "to" to 00
  • Sample
    • Change render mode from File to Samp
    • Select Instrument 02, Sample zero
    • Click Record - sample will be blank, except for a small part of order 01 at the end
      image
  • File
    • Change render mode to File from Samp
    • Click record
    • Load the rendered file as a sample into Instrument 03, sample 0
    • Open sample editor (Ctrl-s), sample will be blank, except for a small part of order 01 at the end
      image