Control Surface API  1.1.11
Channel Interface Reference
Inheritance diagram for Channel:

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)

Detailed Description

This interface defines access to the common attributes and operations of channels, such as tracks or nested device channels.

Since:
Bitwig Studio 1.0

Definition at line 12 of file Channel.java.


Member Function Documentation

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.

Parameters:
callbacka callback function that receives three float parameters in the range [0..1]: 1. red, 2. green, and 3. blue.
Since:
Bitwig Studio 1.0
void addIsSelectedInMixerObserver ( Callable  callback)

Registers an observer that reports if the device chain is selected in Bitwig Studio mixer.

Parameters:
callbacka callback function that takes a single boolean parameter.
Since:
Bitwig Studio 1.1.1
void addNoteObserver ( Callable  callback)

Registers an observer that reports notes when they are played on the channel.

Parameters:
callbacka callback function that receives three parameters: 1. on/off state (boolean), 2. key (int), and 3. velocity (float).
Since:
Bitwig Studio 1.0
void addVuMeterObserver ( int  range,
int  channel,
boolean  peak,
Callable  callback 
) throws ControlSurfaceException

Registers an observer for the VU-meter of this track.

Parameters:
rangethe 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.
channel0 for left channel, 1 for right channel, -1 for the sum of both
peakwhen `true` the peak value is reported, otherwise the RMS value
callbacka callback function that takes a single numeric argument. The value is in the range [0..range-1].
Exceptions:
com.bitwig.base.control_surface.ControlSurfaceException
Since:
Bitwig Studio 1.0

Gets a representation of the channels mute control.

Returns:
an object that provides access to the channels mute control.
Since:
Bitwig Studio 1.0

Gets a representation of the channels pan control.

Returns:
an object that provides access to the channels pan control.
Since:
Bitwig Studio 1.0

Gets a representation of the channels send control at the given index.

Parameters:
indexthe index of the send, must be valid
Returns:
an object that provides access to the requested send control.
Since:
Bitwig Studio 1.0

Gets a representation of the channels solo control.

Returns:
an object that provides access to the channels solo control.
Since:
Bitwig Studio 1.0

Gets a representation of the channels volume control.

Returns:
an object that provides access to the channels volume control.
Since:
Bitwig Studio 1.0

Returns an object that represents the activated state of the channel.

Returns:
an object that provides access to the channels activated state.
Since:
Bitwig Studio 1.1.1
void selectInMixer ( )

Selects the device chain in the Bitwig Studio mixer, in case it is a selectable object.

Since:
Bitwig Studio 1.1.1

List of all members.


The documentation for this interface was generated from the following file:
 All Classes Functions Variables