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

Public Member Functions

void addPositionObserver (Callable callback)
ClipLauncherSlots getClipLauncherSlots ()
ClipLauncherSlots getClipLauncher ()
void addIsQueuedForStopObserver (Callable callback)
BooleanValue getArm ()
BooleanValue getMonitor ()
BooleanValue getAutoMonitor ()
EnumValue getCrossFadeMode ()
BooleanValue getIsMatrixStopped ()
BooleanValue getIsMatrixQueuedForStop ()
SourceSelector getSourceSelector ()
void stop ()
void returnToArrangement ()
void setName (String name)
void addPitchNamesObserver (Callable callback)
void playNote (int key, int velocity)
void startNote (int key, int velocity)
void stopNote (int key, int velocity)
void addTrackTypeObserver (int numChars, String textWhenUnassigned, Callable callback)
BooleanValue getCanHoldNoteData ()
BooleanValue getCanHoldAudioData ()
CursorDevice createCursorDevice () throws ControlSurfaceException
CursorDevice createCursorDevice (String name) throws ControlSurfaceException
CursorDevice createCursorDevice (String name, int numSends) throws ControlSurfaceException
Device getPrimaryDevice ()
Device getPrimaryInstrument ()

Detailed Description

Instances of this interface represent tracks in Bitwig Studio.

Since:
Bitwig Studio 1.0

Definition at line 11 of file Track.java.


Member Function Documentation

void addIsQueuedForStopObserver ( Callable  callback)

Registers an observer that reports if the clip launcher slots are queued for stop.

Parameters:
callbacka callback function that receives a single boolean argument.
Since:
Bitwig Studio 1.1
void addPitchNamesObserver ( Callable  callback)

Registers an observer that reports names for note key values on this track. The track might provide special names for certain keys if it contains instruments that support that features, such as the Bitwig Drum Machine.

Parameters:
callbacka callback function that receives two arguments: 1. the key value in the range [0..127], and 2. the name string
Since:
Bitwig Studio 1.0
void addPositionObserver ( Callable  callback)

Registers an observer that reports the position of the track within the list of Bitwig Studio tracks.

Parameters:
callbacka callback function that receives a single integer parameter
Since:
Bitwig Studio 1.1
void addTrackTypeObserver ( int  numChars,
String  textWhenUnassigned,
Callable  callback 
)

Registers an observer that reports the track type.

Parameters:
numCharsthe maximum number of characters used for the reported track type
textWhenUnassignedthe default text that gets reported when the track is not yet associated with a Bitwig Studio track.
callbacka callback function that receives a single track type parameter (string).
Since:
Bitwig Studio 1.0
CursorDevice createCursorDevice ( ) throws ControlSurfaceException

Returns an object that provides access to the cursor item of the track's device selection as shown in the Bitwig Studio user interface.

Returns:
the requested device selection cursor object
Exceptions:
ControlSurfaceException
Since:
Bitwig Studio 1.1
CursorDevice createCursorDevice ( String  name) throws ControlSurfaceException

Creates a named device selection cursor that is independent from the device selection in the Bitwig Studio user interface, assuming the name parameter is not null. When `name` is `null` the result is equal to calling Track#createCursorDevice.

Parameters:
namethe name of the custom device selection cursor, for example "Primary", or `null` to refer to the device selection cursor in the arranger cursor track as shown in the Bitwig Studio user interface.
Returns:
the requested device selection cursor object
Exceptions:
ControlSurfaceException
See also:
Track::createCursorDevice
createCursorDevice(String name, int numSends)
Since:
Bitwig Studio 1.1
CursorDevice createCursorDevice ( String  name,
int  numSends 
) throws ControlSurfaceException

Creates a named device selection cursor that is independent from the device selection in the Bitwig Studio user interface, assuming the name parameter is not null. When `name` is `null` the result is equal to calling Track#createCursorDevice.

Parameters:
namethe name of the custom device selection cursor, for example "Primary", or `null` to refer to the device selection cursor in the arranger cursor track as shown in the Bitwig Studio user interface.
numSendsthe number of sends that are simultaneously accessible in nested channels.
Returns:
the requested device selection cursor object
Exceptions:
ControlSurfaceException
See also:
Track::createCursorDevice
Since:
Bitwig Studio 1.1.6

Returns an object that provides access to the arm state of the track.

Returns:
a boolean value object
Since:
Bitwig Studio 1.0

Returns an object that provides access to the auto-monitoring state of the track.

Returns:
a boolean value object
Since:
Bitwig Studio 1.1

Returns an object that indicates if the track may contain audio events.

Returns:
a boolean value object
Since:
Bitwig Studio 1.0

Returns an object that indicates if the track may contain notes.

Returns:
a boolean value object
Since:
Bitwig Studio 1.0
Deprecated:
Use getClipLauncherSlots() instead.
Since:
Bitwig Studio 1.0

Returns an object that can be used to access the clip launcher slots of the track.

Returns:
an object that represents the clip launcher slots of the track
Since:
Bitwig Studio 1.0

Returns an object that provides access to the cross-fade mode of the track.

Returns:
an enum value object that has three possible states: "A", "B", or "AB"
Since:
Bitwig Studio 1.1

Returns a value object that provides access to the clip launcher's queue-for-stop state on this track. A clip is considered to be queued for stop when playback has been requested to be stopped on that clip, but the playback has not stopped yet due to the current launch quantization settings.

Returns:
a boolean value object that indicates if the clip launcher slots have been queued for stop
See also:
getIsMatrixStopped()
Since:
Bitwig Studio 1.0

Returns a value object that provides access to the clip launcher playback state of the track.

Returns:
a boolean value object that indicates if the clip launcher is stopped for this track
See also:
getIsMatrixQueuedForStop()
Since:
Bitwig Studio 1.0

Returns an object that provides access to the monitoring state of the track.

Returns:
a boolean value object
Since:
Bitwig Studio 1.1

Gets the channels primary device.

Returns:
an object that provides access to the channels primary device.
Deprecated:
Use createCursorDevice("Primary") instead.
Since:
Bitwig Studio 1.0

Returns the source selector for the track, which is shown in the IO section of the track in Bitwig Studio and lists either note or audio sources or both depending on the track type.

Returns:
a source selector object
Since:
Bitwig Studio 1.0
void playNote ( int  key,
int  velocity 
)

Plays a note on the track with a default duration and the given key and velocity.

Parameters:
keythe key value of the played note
velocitythe velocity of the played note
Since:
Bitwig Studio 1.0

Calling this method causes the arrangement sequencer to take over playback.

Since:
Bitwig Studio 1.0
void setName ( String  name)

Updates the name of the track.

Parameters:
namethe new track name
Since:
Bitwig Studio 1.0
void startNote ( int  key,
int  velocity 
)

Starts playing a note on the track with the given key and velocity.

Parameters:
keythe key value of the played note
velocitythe velocity of the played note
Since:
Bitwig Studio 1.0
void stop ( )

Stops playback of the track.

Since:
Bitwig Studio 1.0
void stopNote ( int  key,
int  velocity 
)

Stops playing a currently played note.

Parameters:
keythe key value of the playing note
velocitythe note-off velocity
Since:
Bitwig Studio 1.0

List of all members.


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