Bitwig Studio Control Surface API
5.0.11
|
This interface defines access to the common attributes and operations of channels, such as tracks or nested device channels.
void addColorObserver | ( | ColorValueChangedCallback | callback | ) |
Registers an observer that receives notifications about the color of the channel. The callback gets called at least once immediately after this function call to report the current color. Additional calls are fired each time the color changes.
callback | a callback function that receives three float parameters in the range [0..1]: 1. red, 2. green, and 3. blue. |
void addIsSelectedInMixerObserver | ( | BooleanValueChangedCallback | callback | ) |
Registers an observer that reports if the device chain is selected in Bitwig Studio mixer.
callback | a callback function that takes a single boolean parameter. |
void addNoteObserver | ( | NotePlaybackCallback | callback | ) |
Registers an observer that reports notes when they are played on the channel.
callback | a callback function that receives three parameters: 1. on/off state (boolean), 2. key (int), and 3. velocity (float). |
void addVuMeterObserver | ( | int | range, |
int | channel, | ||
boolean | peak, | ||
IntegerValueChangedCallback | callback | ||
) |
Registers an observer for the VU-meter of this track.
range | the number of steps to which the reported values should be scaled. For example a range of 128 would cause the callback to be called with values between 0 and 127. |
channel | 0 for left channel, 1 for right channel, -1 for the sum of both |
peak | when true the peak value is reported, otherwise the RMS value |
callback | a callback function that takes a single numeric argument. The value is in the range [0..range-1]. |
com.bitwig.base.control_surface.ControlSurfaceException |
SettableColorValue color | ( | ) |
Get the color of the channel.
void duplicate | ( | ) |
Duplicates the track.
SettableBooleanValue getMute | ( | ) |
Gets a representation of the channels mute control.
Parameter getPan | ( | ) |
Gets a representation of the channels pan control.
Send getSend | ( | int | index | ) |
Gets a representation of the channels send control at the given index.
index | the index of the send, must be valid |
SoloValue getSolo | ( | ) |
Gets a representation of the channels solo control.
Parameter getVolume | ( | ) |
Gets a representation of the channels volume control.
SettableBooleanValue isActivated | ( | ) |
Returns an object that represents the activated state of the channel.
BooleanValue isMutedBySolo | ( | ) |
True if the current channel is being muted by an other channel with solo on.
void makeVisibleInArranger | ( | ) |
Tries to scroll the contents of the arrangement editor so that the channel becomes visible.
void makeVisibleInMixer | ( | ) |
Tries to scroll the contents of the mixer panel so that the channel becomes visible.
SettableBooleanValue mute | ( | ) |
Gets a representation of the channels mute control.
Parameter pan | ( | ) |
Gets a representation of the channels pan control.
PlayingNoteArrayValue playingNotes | ( | ) |
Returns an array of the playing notes.
void selectInMixer | ( | ) |
Selects the device chain in the Bitwig Studio mixer, in case it is a selectable object.
SendBank sendBank | ( | ) |
Gets a SendBank that can be used to navigate the sends of this channel.
SoloValue solo | ( | ) |
Gets a representation of the channels solo control.
Parameter volume | ( | ) |
Gets a representation of the channels volume control.