If damper is disabled for a layer then assume it's safe to not tone remain that layer (this is helpful for tones that dont sustain after initial note down anyway, eg. pizz strings)
Also, assume that {Tone 939 "GM2 SFX", range A0-A0, transpose 0} means a dummy entry, which does not need to be tone remained (because that won't produce any sound anyway).
Actually better yet, have a method called "isSilence" which checks if that layer can only play silence, that is:
of all notes it can play (in the range, if split is enabled)
plus/minus oct/4th/5th via S1/S2/FC1/FC2 (or all octaves if S1/S2/FC1/FC2 are oct up/down)
are they a silent note on the selected patch (eg. GM2 SFX -- see manual)
And if they can only play silence, then dont need to tone remain that layer. This means any silent layer can be used to help tone remain other tones without it having a carry through effect
If damper is disabled for a layer then assume it's safe to not tone remain that layer (this is helpful for tones that dont sustain after initial note down anyway, eg. pizz strings)
Also, assume that {Tone 939 "GM2 SFX", range A0-A0, transpose 0} means a dummy entry, which does not need to be tone remained (because that won't produce any sound anyway).
Actually better yet, have a method called "isSilence" which checks if that layer can only play silence, that is:
And if they can only play silence, then dont need to tone remain that layer. This means any silent layer can be used to help tone remain other tones without it having a carry through effect