Some of the functions I'm writing work with the Current Track (which is indexed as track 126). The issues are:
1. If the mixer is going to get dynamic track counting in the near future, wouldn't it be better to assign Current Track to some index like -1 (given that Master Track is index 0)?
2. I'm writing MIDI scripts that toggle Stereo Separation knob and Reverse Polarity. It seems useful to toggle them in the Current Track, and they seem to work, but the mixer GUI doesn't show these knobs. I will keep the code, but the fact these knobs are hidden for Current Track makes me nervous, plus I can't see their given value. Could they be "unhidden" given that they seem to exist in future FL versions??? It seems nonsensical to keep these controls hidden... Bonus: I know Current Track has a FX switch enabler at the bottom. It works for toggling it's FX, but it'd be nice if there was a special switch at Current Track to toggle the FX of the "Selected track"...
For further reference, the code I'm writing looks like this:
Code: Select all
if event.data1 == UMX_Button5: # mono CURRENT track
if event.data2 == 0: # make stereo
general.processRECEvent(midi.REC_Mixer_SS + mixer.getTrackPluginId(126, 0), 0,
midi.REC_UpdateValue | midi.REC_UpdateControl | midi.REC_ShowHint)
elif event.data2 == 127: # make mono
general.processRECEvent(midi.REC_Mixer_SS + mixer.getTrackPluginId(126, 0), 63,
midi.REC_UpdateValue | midi.REC_UpdateControl | midi.REC_ShowHint)