|
Control Surface API
1.1.11
|

Instances of this interface represent tracks in Bitwig Studio.
Definition at line 11 of file Track.java.
| void addIsQueuedForStopObserver | ( | Callable | callback | ) |
Registers an observer that reports if the clip launcher slots are queued for stop.
| callback | a callback function that receives a single boolean argument. |
| 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.
| callback | a callback function that receives two arguments: 1. the key value in the range [0..127], and 2. the name string |
| void addPositionObserver | ( | Callable | callback | ) |
Registers an observer that reports the position of the track within the list of Bitwig Studio tracks.
| callback | a callback function that receives a single integer parameter |
| void addTrackTypeObserver | ( | int | numChars, |
| String | textWhenUnassigned, | ||
| Callable | callback | ||
| ) |
Registers an observer that reports the track type.
| numChars | the maximum number of characters used for the reported track type |
| textWhenUnassigned | the default text that gets reported when the track is not yet associated with a Bitwig Studio track. |
| callback | a callback function that receives a single track type parameter (string). |
| 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.
| ControlSurfaceException |
| 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.
| name | the 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. |
| ControlSurfaceException |
| 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.
| name | the 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. |
| numSends | the number of sends that are simultaneously accessible in nested channels. |
| ControlSurfaceException |
| BooleanValue getArm | ( | ) |
Returns an object that provides access to the arm state of the track.
Returns an object that provides access to the auto-monitoring state of the track.
Returns an object that indicates if the track may contain audio events.
Returns an object that indicates if the track may contain notes.
Returns an object that can be used to access the clip launcher slots of the track.
Returns an object that provides access to the cross-fade mode of the track.
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 value object that provides access to the clip launcher playback state of the track.
Returns an object that provides access to the monitoring state of the track.
Gets the channels primary device.
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.
| void playNote | ( | int | key, |
| int | velocity | ||
| ) |
Plays a note on the track with a default duration and the given key and velocity.
| key | the key value of the played note |
| velocity | the velocity of the played note |
| void returnToArrangement | ( | ) |
Calling this method causes the arrangement sequencer to take over playback.
| void setName | ( | String | name | ) |
Updates the name of the track.
| name | the new track name |
| void startNote | ( | int | key, |
| int | velocity | ||
| ) |
Starts playing a note on the track with the given key and velocity.
| key | the key value of the played note |
| velocity | the velocity of the played note |
| void stop | ( | ) |
Stops playback of the track.
| void stopNote | ( | int | key, |
| int | velocity | ||
| ) |
Stops playing a currently played note.
| key | the key value of the playing note |
| velocity | the note-off velocity |