Interface ChannelBank<ChannelType extends Channel>
- All Superinterfaces:
Bank<ChannelType>,HardwareBindable,ObjectProxy,RelativeHardwarControlBindable,Scrollable,Subscribable
- All Known Subinterfaces:
DeviceLayerBank,DrumPadBank,TrackBank
A channel bank provides access to a range of channels in Bitwig Studio, such as tracks or device layers.
Instances of channel bank are typically configured with support for a fixed number of channels and
represent an excerpt of a larger list of channels. Various methods are provided for scrolling to different
sections of the channel list. It basically acts like a window moving over the list of channels.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.Use canScrollChannelsUp().addValueObserver(callback)voidDeprecated.Does nothing.voidDeprecated.Does nothing.voidDeprecated.UsechannelCount().addValueObserver(callback)voidaddChannelScrollPositionObserver(IntegerValueChangedCallback callback, int valueWhenUnassigned) Deprecated.UsechannelScrollPosition()insteadvoidDeprecated.Does nothing.Value that reports if the channel bank can be scrolled further down.Value that reports if the channel bank can be scrolled further down.Value that reports the underlying total channel count (not the number of channels available in the bank window).Deprecated.getChannel(int indexInBank) Deprecated.UseBank.getItemAt(int)instead.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.Does nothing.voidDeprecated.Does nothing.voidDeprecated.Does nothing.voidDeprecated.Does nothing.voidscrollToChannel(int position) Deprecated.voidscrollToSend(int position) Deprecated.Does nothing.voidsetChannelScrollStepSize(int stepSize) Sets the step size used for scrolling the channel bank.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.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
-
getChannel
Deprecated.UseBank.getItemAt(int)instead.Returns the channel for the given index.- Parameters:
indexInBank- the channel index within this bank, not the index within the list of all Bitwig Studio channels. Must be in the range [0..sizeOfBank-1].- Returns:
- the channel object
- Since:
- API version 1
-
setChannelScrollStepSize
void setChannelScrollStepSize(int stepSize) Sets the step size used for scrolling the channel bank.- Parameters:
stepSize- the step size used for scrolling. Default is `1`.- Since:
- API version 1
-
scrollChannelsPageUp
Deprecated.Scrolls the channels one page up. For example if the channel bank is configured with a window size of 8 channels and is currently showing channel [1..8], calling this method would scroll the channel bank to show channel [9..16].- Since:
- API version 1
-
scrollChannelsPageDown
Deprecated.Scrolls the channels one page up. For example if the channel bank is configured with a window size of 8 channels and is currently showing channel [9..16], calling this method would scroll the channel bank to show channel [1..8].- Since:
- API version 1
-
scrollChannelsUp
Deprecated.Scrolls the channel window up by the amount specified viasetChannelScrollStepSize(int)(by default one channel).- Since:
- API version 1
-
scrollChannelsDown
Deprecated.Scrolls the channel window down by the amount specified viasetChannelScrollStepSize(int)(by default one channel).- Since:
- API version 1
-
scrollToChannel
Deprecated.Scrolls the channel bank window so that the channel at the given position becomes visible.- Parameters:
position- the index of the channel within the underlying full list of channels (not the index within the bank). The position is typically directly related to the layout of the channel list in Bitwig Studio, starting with zero in case of the first channel.- Since:
- API version 1
-
channelScrollPosition
Deprecated.Value that reports the current scroll position, more specifically the position of the first channel within the underlying list of channels, that is shown as channel zero within the bank.- Since:
- API version 2
-
addChannelScrollPositionObserver
@Deprecated void addChannelScrollPositionObserver(IntegerValueChangedCallback callback, int valueWhenUnassigned) Deprecated.UsechannelScrollPosition()insteadRegisters an observer that reports the current scroll position, more specifically the position of the first channel within the underlying list of channels, that is shown as channel zero within the bank.- Parameters:
callback- a callback function that receives a single integer number parametervalueWhenUnassigned- a default value for the channel position that gets reported in case the channel bank is not connected to a list of channels in Bitwig Studio.- Since:
- API version 1
-
canScrollChannelsUp
BooleanValue canScrollChannelsUp()Value that reports if the channel bank can be scrolled further down.- Since:
- API version 2
-
addCanScrollChannelsUpObserver
Deprecated.Use canScrollChannelsUp().addValueObserver(callback)Registers an observer that reports if the channel bank can be scrolled further up.- Parameters:
callback- a callback function that receives a single boolean parameter- Since:
- API version 1
-
canScrollChannelsDown
BooleanValue canScrollChannelsDown()Value that reports if the channel bank can be scrolled further down.- Since:
- API version 2
-
addCanScrollChannelsDownObserver
Deprecated.UsecanScrollChannelsDown().addValueObserver(callback)Registers an observer that reports if the channel bank can be scrolled further down.- Parameters:
callback- a callback function that receives a single boolean parameter- Since:
- API version 1
-
channelCount
IntegerValue channelCount()Value that reports the underlying total channel count (not the number of channels available in the bank window).- Since:
- API version 2
-
addChannelCountObserver
Deprecated.UsechannelCount().addValueObserver(callback)Registers an observer that reports the underlying total channel count (not the number of channels available in the bank window).- Parameters:
callback- a callback function that receives a single integer parameter- Since:
- API version 1
-
scrollSendsPageUp
Deprecated.Does nothing.Scrolls the sends one page up.- Since:
- API version 1
-
scrollSendsPageDown
Deprecated.Does nothing.Scrolls the sends one page down.- Since:
- API version 1
-
scrollSendsUp
Deprecated.Does nothing.Scrolls the sends one step up.- Since:
- API version 1
-
scrollSendsDown
Deprecated.Does nothing.Scrolls the sends one step down.- Since:
- API version 1
-
scrollToSend
Deprecated.Does nothing.Scrolls to the send.- Parameters:
position- the index of the send.- Since:
- API version 1
-
addCanScrollSendsUpObserver
Deprecated.Does nothing.Registers an observer that reports if the sends window can be scrolled further up.- Parameters:
callback- a callback function that takes a single boolean parameter- Since:
- API version 1
-
addCanScrollSendsDownObserver
Deprecated.Does nothing.Registers an observer that reports if the sends window can be scrolled further down.- Parameters:
callback- a callback function that takes a single boolean parameter- Since:
- API version 1
-
addSendCountObserver
Deprecated.Does nothing.Registers an observer that reports the underlying total send count (not the number of sends available in the bank window).- Parameters:
callback- a callback function that receives a single integer parameter- Since:
- API version 1
-
canScrollChannelsDown().addValueObserver(callback)