Hi there. I'm trying to understand how fadeout on instruments (in XM modules) work.
I already understood that fadeout starts on key-off, so when the envelope enters in the release stage. What I don't know is: how the fadeout value affects volume? In the XM documentation I've read the fadeout 'full' value should be 65536 (0x10000) and this value should decrease by the instrument fadeout value every tick.
But in my tests this doesn't happen.
For example If I set in my test instrument the fadeout value to 0x100 the fadeout should be completed in 0x100 (256) ticks but actually -at least in the tracker I'm using, MilkyTracker- the volume fades to 0 way before 256 ticks, say in half of them.
Any idea? Where I'm doing wrong?