Track info flags
Track info flags are used with mixer.getTrackInfo()
to control
which information is returned.
For example, to iterate over all insert tracks (excluding master and the "current" track):
import mixer, midi
for i in range(
mixer.getTrackInfo(midi.TN_FirstIns),
mixer.getTrackInfo(midi.TN_LastIns) + 1,
):
...