Interface TrackBank
- All Superinterfaces:
Bank<Track>,ChannelBank<Track>,HardwareBindable,ObjectProxy,RelativeHardwarControlBindable,Scrollable,Subscribable
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
ControllerHost.createTrackBank(int, int, int).
Additional methods are provided in the ControllerHost interface to create track banks that include only main
tracks (ControllerHost.createMainTrackBank(int, int, int)) or only effect tracks (ControllerHost.createEffectTrackBank(int, int, int)).- Since:
- API version 1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.usesceneBank()instead.voidDeprecated.useChannelBank.canScrollChannelsDown()instead.voidDeprecated.useChannelBank.canScrollChannelsUp()instead.voidDeprecated.UsesceneBank().itemCount().addValueObserver()voidaddSceneScrollPositionObserver(IntegerValueChangedCallback callback, int valueWhenUnassigned) Deprecated.UsesceneBank()instead.voidaddTrackScrollPositionObserver(IntegerValueChangedCallback callback, int valueWhenUnassigned) Deprecated.useScrollable.scrollPosition()instead.voidfollowCursorTrack(CursorTrack cursorTrack) Causes this bank to follow the supplied cursor.getChannel(int indexInBank) Deprecated.UseBank.getItemAt(int)instead.Deprecated.UsesceneBank()instead.getTrack(int indexInBank) Deprecated.usegetChannel(int)instead.voidlaunchScene(int indexInWindow) Deprecated.UsesceneBank()instead.voidDeprecated.UsesceneBank()instead.voidDeprecated.UsesceneBank()instead.voidDeprecated.UsesceneBank()instead.voidDeprecated.UsesceneBank()instead.voidscrollToScene(int position) Deprecated.UsesceneBank()instead.voidscrollToTrack(int position) Deprecated.useChannelBank.scrollToChannel(int)instead.voidDeprecated.useChannelBank.scrollChannelsDown()instead.voidDeprecated.useChannelBank.scrollChannelsPageDown()instead.voidDeprecated.useChannelBank.scrollChannelsPageUp()instead.voidDeprecated.useChannelBank.scrollChannelsUp()instead.voidsetShouldShowClipLauncherFeedback(boolean value) Decides if Bitwig Studio's clip launcher should indicate the area being controlled by this controller or not.voidsetTrackScrollStepSize(int stepSize) Deprecated.useChannelBank.setChannelScrollStepSize(int)instead.Methods inherited from interface com.bitwig.extension.controller.api.Bank
cursorIndex, getCapacityOfBank, getItemAt, getSizeOfBank, itemCount, setSizeOfBank, setSkipDisabledItemsMethods inherited from interface com.bitwig.extension.controller.api.ChannelBank
addCanScrollChannelsDownObserver, addCanScrollChannelsUpObserver, addCanScrollSendsDownObserver, addCanScrollSendsUpObserver, addChannelCountObserver, addChannelScrollPositionObserver, addSendCountObserver, canScrollChannelsDown, canScrollChannelsUp, channelCount, channelScrollPosition, scrollChannelsDown, scrollChannelsPageDown, scrollChannelsPageUp, scrollChannelsUp, scrollSendsDown, scrollSendsPageDown, scrollSendsPageUp, scrollSendsUp, scrollToChannel, scrollToSend, setChannelScrollStepSizeMethods inherited from interface com.bitwig.extension.controller.api.ObjectProxy
createEqualsValue, existsMethods inherited from interface com.bitwig.extension.controller.api.RelativeHardwarControlBindable
addBinding, addBindingWithSensitivityMethods inherited from interface com.bitwig.extension.controller.api.Scrollable
canScrollBackwards, canScrollForwards, scrollBackwards, scrollBackwardsAction, scrollBy, scrollByPages, scrollForwards, scrollForwardsAction, scrollIntoView, scrollPageBackwards, scrollPageBackwardsAction, scrollPageForwards, scrollPageForwardsAction, scrollPositionMethods inherited from interface com.bitwig.extension.controller.api.Subscribable
isSubscribed, setIsSubscribed, subscribe, unsubscribe
-
Method Details
-
getTrack
Deprecated.usegetChannel(int)instead.- Since:
- API version 1
-
getChannel
Deprecated.UseBank.getItemAt(int)instead.Returns the track at the given index within the bank.- Specified by:
getChannelin interfaceChannelBank<Track>- Parameters:
indexInBank- the 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:
- API version 1
-
setTrackScrollStepSize
Deprecated.useChannelBank.setChannelScrollStepSize(int)instead. -
scrollTracksPageUp
Deprecated.useChannelBank.scrollChannelsPageUp()instead. -
scrollTracksPageDown
Deprecated.useChannelBank.scrollChannelsPageDown()instead. -
scrollTracksUp
Deprecated.useChannelBank.scrollChannelsUp()instead. -
scrollTracksDown
Deprecated.useChannelBank.scrollChannelsDown()instead. -
scrollToTrack
Deprecated.useChannelBank.scrollToChannel(int)instead. -
addTrackScrollPositionObserver
@Deprecated void addTrackScrollPositionObserver(IntegerValueChangedCallback callback, int valueWhenUnassigned) Deprecated.useScrollable.scrollPosition()instead. -
sceneBank
SceneBank sceneBank()- Since:
- API version 2
-
scrollScenesPageUp
Deprecated.UsesceneBank()instead.Scrolls the scenes one page up.- Since:
- API version 1
-
scrollScenesPageDown
Deprecated.UsesceneBank()instead.Scrolls the scenes one page down.- Since:
- API version 1
-
scrollScenesUp
Deprecated.UsesceneBank()instead.Scrolls the scenes one step up.- Since:
- API version 1
-
scrollScenesDown
Deprecated.UsesceneBank()instead.Scrolls the scenes one step down.- Since:
- API version 1
-
scrollToScene
Deprecated.UsesceneBank()instead.Makes the scene with the given position visible in the track bank.- Parameters:
position- the position of the scene within the underlying full list of scenes- Since:
- API version 1
-
addSceneScrollPositionObserver
@Deprecated void addSceneScrollPositionObserver(IntegerValueChangedCallback callback, int valueWhenUnassigned) Deprecated.UsesceneBank()instead.Registers an observer that reports the current scene scroll position.- Parameters:
callback- a callback function that takes a single integer parametervalueWhenUnassigned- the default value that gets reports when the track bank is not yet connected to a Bitwig Studio document- Since:
- API version 1
-
addCanScrollTracksUpObserver
Deprecated.useChannelBank.canScrollChannelsUp()instead. -
addCanScrollTracksDownObserver
Deprecated.useChannelBank.canScrollChannelsDown()instead. -
addCanScrollScenesUpObserver
Deprecated.usesceneBank()instead.Registers an observer that reports if the scene window can be scrolled further up.- Parameters:
callback- a callback function that takes a single boolean parameter- Since:
- API version 1
-
addCanScrollScenesDownObserver
Deprecated.usesceneBank()instead.Registers an observer that reports if the scene window can be scrolled further down.- Parameters:
callback- a callback function that takes a single boolean parameter- Since:
- API version 1
-
addSceneCountObserver
Deprecated.UsesceneBank().itemCount().addValueObserver()Registers an observer that reports the underlying total scene count (not the number of scenes available in the bank window).- Parameters:
callback- a callback function that receives a single integer parameter- Since:
- API version 1
-
getClipLauncherScenes
Deprecated.UsesceneBank()instead.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:
- API version 1
-
launchScene
Deprecated.UsesceneBank()instead.Launches the scene with the given bank index.- Parameters:
indexInWindow- the scene index within the bank, not the position of the scene withing the underlying full list of scenes.- Since:
- API version 1
-
followCursorTrack
Causes this bank to follow the supplied cursor. When the cursor moves to a new item the bank will be scrolled so that the cursor is within the bank, if possible.- Parameters:
cursorTrack- TheCursorTrackthat this bank should follow.- Since:
- API version 2
-
setShouldShowClipLauncherFeedback
void setShouldShowClipLauncherFeedback(boolean value) Decides if Bitwig Studio's clip launcher should indicate the area being controlled by this controller or not.- Since:
- API versian 17
-
sceneBank()instead.