richardjwild / arctracker

Plays Tracker and Desktop Tracker modfiles from the Acorn Archimedes
GNU General Public License v2.0
13 stars 0 forks source link

Pad sample doesn't repeat on Beams of Light #4

Closed richardjwild closed 6 years ago

richardjwild commented 6 years ago

Investigate why not and fix.

richardjwild commented 6 years ago

The sample in question had a repeat offset > 0 and a repeat length = 2. Arctracker was assuming a repeat length = 2 in a Tracker module meant no repeat. Evidently this is only true if the repeat offset = 0. A repeat length of 2 is clearly nonsense, so I coded it to make it loop to the end of the sample. Closing because the module now plays okay.