Selection
Mixer > Selection
Functions for interacting with the mixer selection.
trackNumber
Returns the index of the first currently selected mixer track.
Returns
int: selected mixer track.
Included since API version 1.
setTrackNumber
Selects the mixer track at trackNumber.
Note
- All functionality except for scrolling flag can be replicated more
easily using
mixer.selectTrack().
Args
-
trackNumber(int): the track index to select. -
flags(int, optional): Options to do with new track selection.-
curfxScrollToMakeVisible(1): Scroll to make the newly-selected track visible. -
curfxCancelSmoothing(2): Effect unknown. -
curfxNoDeselectAll(4): Prevent the deselection of other selected tracks??? Doesn't seem to work. -
curfxMinimalLatencyUpdate(8): Effect unknown.
Defaults to
0. -
Included since API version 1.
isTrackSelected
Returns whether the track at index is selected.
Args
index(int): track index.
Returns
bool: whether the track is selected.
Included since API version 1.
selectTrack
Toggles whether the track at index is selected.
Args
index(int): track index.
Included since API version 1.