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

Public Member Functions

Track getTrack (int indexInBank)
Track getChannel (int indexInBank)
void setTrackScrollStepSize (int stepSize)
void scrollTracksPageUp ()
void scrollTracksPageDown ()
void scrollTracksUp ()
void scrollTracksDown ()
void scrollToTrack (int position)
void addTrackScrollPositionObserver (Callable callback, int valueWhenUnassigned)
void scrollScenesPageUp ()
void scrollScenesPageDown ()
void scrollScenesUp ()
void scrollScenesDown ()
void scrollToScene (int position)
void addSceneScrollPositionObserver (Callable callback, int valueWhenUnassigned)
void addCanScrollTracksUpObserver (Callable callback)
void addCanScrollTracksDownObserver (Callable callback)
void addCanScrollScenesUpObserver (Callable callback)
void addCanScrollScenesDownObserver (Callable callback)
void addSceneCountObserver (Callable callback)
ClipLauncherScenesOrSlots getClipLauncherScenes ()
void launchScene (int indexInWindow)

Detailed Description

A track bank provides access to a range of tracks and their scenes (clip launcher slots) in Bitwig Studio. Instances of track bank are configured with a fixed number of tracks and scenes and represent an excerpt of a larger list of tracks and scenes. Various methods are provided for scrolling to different sections of the track/scene list. It basically acts like a 2-dimensional window moving over the grid of tracks and scenes.

To receive an instance of track bank that supports all kinds of tracks call Host#createTrackBank. Additional methods are provided in the Host interface to create track banks that include only main tracks (Host#createMainTrackBank) or only effect tracks (Host#createEffectTrackBank).

See also:
Host#createTrackBank
Host#createMainTrackBank
Host#createEffectTrackBank
Since:
Bitwig Studio 1.0

Definition at line 21 of file TrackBank.java.


Member Function Documentation

void addCanScrollScenesDownObserver ( Callable  callback)

Registers an observer that reports if the scene window can be scrolled further down.

Parameters:
callbacka callback function that takes a single boolean parameter
Since:
Bitwig Studio 1.0
void addCanScrollScenesUpObserver ( Callable  callback)

Registers an observer that reports if the scene window can be scrolled further up.

Parameters:
callbacka callback function that takes a single boolean parameter
Since:
Bitwig Studio 1.0
void addSceneCountObserver ( Callable  callback)

Registers an observer that reports the underlying total scene count (not the number of scenes available in the bank window).

Parameters:
callbacka callback function that receives a single integer parameter
Since:
Bitwig Studio 1.0
void addSceneScrollPositionObserver ( Callable  callback,
int  valueWhenUnassigned 
)

Registers an observer that reports the current scene scroll position.

Parameters:
callbacka callback function that takes a single integer parameter
valueWhenUnassignedthe default value that gets reports when the track bank is not yet connected to a Bitwig Studio document
Since:
Bitwig Studio 1.0
void addTrackScrollPositionObserver ( Callable  callback,
int  valueWhenUnassigned 
)
Track getChannel ( int  indexInBank)

Returns the track at the given index within the bank.

Parameters:
indexInBankthe track index within this bank, not the index within the list of all Bitwig Studio tracks. Must be in the range [0..sizeOfBank-1].
Returns:
the requested track object
Since:
Bitwig Studio 1.0

Implements ChannelBank.

Returns an object that provides access to the clip launcher scenes of the track bank.

Returns:
an object that provides access to the clip launcher scenes of the track bank.
Since:
Bitwig Studio 1.0
Track getTrack ( int  indexInBank)
Deprecated:
use getChannel(int) instead.
Since:
Bitwig Studio 1.0
void launchScene ( int  indexInWindow)

Launches the scene with the given bank index.

Parameters:
indexInWindowthe scene index within the bank, not the position of the scene withing the underlying full list of scenes.
Since:
Bitwig Studio 1.0
void scrollScenesDown ( )

Scrolls the scenes one step down.

Since:
Bitwig Studio 1.0

Scrolls the scenes one page down.

Since:
Bitwig Studio 1.0

Scrolls the scenes one page up.

Since:
Bitwig Studio 1.0
void scrollScenesUp ( )

Scrolls the scenes one step up.

Since:
Bitwig Studio 1.0
void scrollToScene ( int  position)

Makes the scene with the given position visible in the track bank.

Parameters:
positionthe position of the scene within the underlying full list of scenes
Since:
Bitwig Studio 1.0
void scrollToTrack ( int  position)

List of all members.


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