|
Control Surface API
1.1.11
|

Public Member Functions | |
| BooleanValue | isActivated () |
| AutomatableRangedValue | getVolume () |
| AutomatableRangedValue | getPan () |
| Value | getMute () |
| SoloValue | getSolo () |
| void | addVuMeterObserver (int range, int channel, boolean peak, Callable callback) throws ControlSurfaceException |
| void | addNoteObserver (Callable callback) |
| void | addColorObserver (Callable callback) |
| AutomatableRangedValue | getSend (int index) |
| void | selectInMixer () |
| void | addIsSelectedInMixerObserver (Callable callback) |
This interface defines access to the common attributes and operations of channels, such as tracks or nested device channels.
Definition at line 12 of file Channel.java.
| void addColorObserver | ( | Callable | 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 | ( | Callable | 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 | ( | Callable | 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, | ||
| Callable | callback | ||
| ) | throws ControlSurfaceException |
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 |
Gets a representation of the channels mute control.
Gets a representation of the channels pan control.
| AutomatableRangedValue getSend | ( | int | index | ) |
Gets a representation of the channels send control at the given index.
| index | the index of the send, must be valid |
Gets a representation of the channels solo control.
Gets a representation of the channels volume control.
Returns an object that represents the activated state of the channel.
| void selectInMixer | ( | ) |
Selects the device chain in the Bitwig Studio mixer, in case it is a selectable object.