Hey,
I'm in the process of writing my own web-based tracker and have reached the muddy waters of tracker-variations.
My Question is about the "9" sample offset effect, especially related to special cases when notes and sample number are omitted.
I created a little demo mod that behaves differently in different players.
It's located at
http://www.stef.be/bassoontracker/demomods/test/sampleoffset.modThe sample is a voice counting from 1 to 4, depending on the sample offset and the handling of special cases, you get another sequence in different players .
I tested it on multiple trackers and there are 3 different ways the sample offset is handled:
- counting is heard as 2-3-2-3-3-4-4
- Protracker 1.3 - Amiga
- Protracker 2.3d - Amiga and the Windows Clone
- OpenMPT
- counting is heard as 2-3-2-3-2-3-2-3
- Protracker 3.15 - Amiga
- Protracker 4 - Amiga
- Milkytracker (even in Protracker 2 mode)
- counting is heard as 2-3-2-3-1-2-2-3
- FasttrackerII - DOS
- Milkytracker (in Fasttracker mode)
The problem is: I understand the 2nd and the 3th way, but I can't get my head around the logic of the first way (of Protracker 1, 2 and OpenMPT)
especially the note on row 32: this doesn't have a sample number, nor an effect but somehow the previous 9 effect gets applied twice? (the sample starts playing at "three")
Then after that, at row 48, no sample number and "900": you hear "four"? why?
My own code follows Fasttracker here as this seems the most logical implementation (
http://www.stef.be/bassoontracker/?file=demomods%2Ftest%2Fsampleoffset.mod)
but most .mod files seem to expect the PT2 way so I would like to get that right.
And even more a mystery: How would you know what playback variation the .mod files expect?
Anyone who has dug deep into this and wants to shed a light?
Update:
Oh, look at that, I found a 4th way ...
XMPlay with the the "PT1" playback mode does "2-3-2-3-2-3-3-4"
How balls-on weird is that?
puzzling ...