The volume slide effects persist even after the commands, meaning that you'd have to initialize the note again to get the volume back.
The envelopes are still in effect by the way, so your note might fade out with the envelope faster than it would do with effect commands. You'll most likely never see volslide used on instruments that have the fade out. the command doesn't fully ignore the envelope however, it it still keeps track of it, so you can have a tremolo with envelopes and fade out with volume slide at the same time.
Note that the command has a 00 value, which just continues the value that was specified in the earlier row.
Hi, looper231,
This is very helpful indeed. Thank you so much for the detailed response. It sort of fits with how I would expect it to work.
I have now implemented it just like you described above. So, if the envelope fades-out to zero before the slide, it just stays at zero.
The reason that I ask about the envelopes is that for my case, my target CPU is too slow (and the platform too limited) to play digital samples, so the only "instruments" we can use are modulated tones generated by the AY-3-8914 sound processor. Hence, in my player, all "samples" are just square waves modulated by software-controlled envelopes. So, it is very likely (actually, I would say practically required) for all "instruments" to have an envelope to shape its sound.
Ultimately, it is more of a "chip-tune" player than a "module player" -- but one that I hope will function close to typical XM players, at least in its effects capabilities.
-dZ.