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

Public Member Functions

void select (int slot)
void record (int slot)
void showInEditor (int slot)
void createEmptyClip (int slot, int lengthInBeats)
void addIsSelectedObserver (Callable callback)
void addHasContentObserver (Callable callback)
void addPlaybackStateObserver (Callable callback)
void addIsPlayingObserver (Callable callback)
void addIsRecordingObserver (Callable callback)
void addIsPlaybackQueuedObserver (Callable callback)
void addIsRecordingQueuedObserver (Callable callback)
void addIsStopQueuedObserver (Callable callback)
void addIsQueuedObserver (Callable callback)
void addColorObserver (Callable callback)
void setIndication (boolean shouldIndicate)

Detailed Description

Instances of this interface represent a scrollable fixed-size window that is connected to a section of the clip launcher slots for a specific track.

Since:
Bitwig Studio 1.0

Definition at line 11 of file ClipLauncherSlots.java.


Member Function Documentation

void addColorObserver ( Callable  callback)

Registers an observer that reports the colors of clip in the current slot window.

Parameters:
callbacka callback function that receives four parameters: 1. the slot index (integer), 2. the red coordinate of the RBG color value, 3. the green coordinate of the RBG color value, and 4. the blue coordinate of the RBG color value
Since:
Bitwig Studio 1.0
void addHasContentObserver ( Callable  callback)

Registers an observer that reports which slots contain clips.

Parameters:
callbacka callback function that receives two parameters: 1. the slot index (integer), and 2. a boolean parameter indicating if the slot at that index contains a clip (`true`) or not (`false`)
Since:
Bitwig Studio 1.0
void addIsPlaybackQueuedObserver ( Callable  callback)

Add an observer if clip playback is queued on the slot.

Parameters:
callbacka callback function that receives two parameters: 1. the slot index (integer), and 2. a boolean parameter indicating if the slot at that index has a clip that is currently queued for playback (`true`) or not (`false`)
Since:
Bitwig Studio 1.1
void addIsPlayingObserver ( Callable  callback)

Registers an observer that reports which slots have clips that are currently playing.

Parameters:
callbacka callback function that receives two parameters: 1. the slot index (integer), and 2. a boolean parameter indicating if the slot at that index has a clip that is currently playing (`true`) or not (`false`)
Since:
Bitwig Studio 1.0
void addIsQueuedObserver ( Callable  callback)
Deprecated:
Use addIsPlaybackQueuedObserver instead.
Since:
Bitwig Studio 1.0
void addIsRecordingObserver ( Callable  callback)

Registers an observer that reports which slots have clips that are currently recording.

Parameters:
callbacka callback function that receives two parameters: 1. the slot index (integer), and 2. a boolean parameter indicating if the slot at that index has a clip that is currently recording (`true`) or not (`false`)
Since:
Bitwig Studio 1.0
void addIsRecordingQueuedObserver ( Callable  callback)

Add an observer if clip recording is queued on the slot.

Parameters:
callbacka callback function that receives two parameters: 1. the slot index (integer), and 2. a boolean parameter indicating if the slot at that index has a clip that is currently queued for recording (`true`) or not (`false`)
Since:
Bitwig Studio 1.1
void addIsSelectedObserver ( Callable  callback)

Registers an observer that reports selection changes for the slots inside the window.

Parameters:
callbacka callback function that receives two parameters: 1. the slot index (integer), and 2. a boolean parameter indicating if the slot at that index is selected (`true`) or not (`false`)
Since:
Bitwig Studio 1.0
void addIsStopQueuedObserver ( Callable  callback)

Add an observer if clip playback is queued to stop on the slot.

Parameters:
callbacka callback function that receives two parameters: 1. the slot index (integer), and 2. a boolean parameter indicating if the slot at that index has a clip that is currently queued for stop (`true`) or not (`false`)
Since:
Bitwig Studio 1.1
void addPlaybackStateObserver ( Callable  callback)

Registers an observer that reports the playback state of clips / slots. The reported states include `stopped`, `playing`, `recording`, but also `queued for stop`, `queued for playback`, `queued for recording`.

Parameters:
callbacka callback function that receives three parameters: 1. the slot index (integer), 2. the queued or playback state: `0` when stopped, `1` when playing, or `2` when recording, and 3. a boolean parameter indicating if the second argument is referring to the queued state (`true`) or the actual playback state (`false`)
Since:
Bitwig Studio 1.1
void createEmptyClip ( int  slot,
int  lengthInBeats 
)

Creates an new clip in the slot with the given index.

Parameters:
slotthe index of the slot within the slot window.
Since:
Bitwig Studio 1.0
void record ( int  slot)

Starts recording into the slot with the given index.

Parameters:
slotthe index of the slot within the slot window.
Since:
Bitwig Studio 1.0
void select ( int  slot)

Selects the slot with the given index.

Parameters:
slotthe index of the slot within the slot window.
Since:
Bitwig Studio 1.0
void setIndication ( boolean  shouldIndicate)

Specifies if the Bitwig Studio clip launcher should indicate which slots are part of the window. By default indications are disabled.

Parameters:
shouldIndicate`true` if visual indications should be enabled, `false` otherwise
Since:
Bitwig Studio 1.0
void showInEditor ( int  slot)

Makes the clip content of the slot with the given index visible in the note or audio editor.

Parameters:
slotthe index of the slot within the slot window.
Since:
Bitwig Studio 1.0

List of all members.


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