A scene bank provides access to a range of scenes in Bitwig Studio. Instances of scene bank are configured with a fixed number of scenes and represent an excerpt of a larger list of scenes. Various methods are provided for scrolling to different sections of the scene list. It basically acts like a window moving over the list of underlying scenes.
To receive an instance of scene bank call com.bitwig.extension.controller.api.ControllerHost#createSceneBank.
- See also
- com.bitwig.extension.controller.api.ControllerHost#createSceneBank
- Since
- API version 1
◆ addCanScrollDownObserver()
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
- Deprecated:
- Use canScrollForwards() instead.
◆ addCanScrollUpObserver()
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
- Deprecated:
- Use canScrollBackwards() instead.
◆ addSceneCountObserver()
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
- Deprecated:
- Use itemCount() instead.
◆ addScrollPositionObserver()
Registers an observer that reports the current scene scroll position.
- Parameters
-
| callback | a callback function that takes a single integer parameter |
| valueWhenUnassigned | the default value that gets reports when the track bank is not yet connected to a Bitwig Studio document |
- Since
- API version 1
- Deprecated:
- Use scrollPosition() instead
◆ getScene()
| Scene getScene |
( |
int |
indexInBank | ) |
|
Returns the scene at the given index within the bank.
- Parameters
-
| indexInBank | the scene index within this bank, not the index within the list of all Bitwig Studio scenes. Must be in the range [0..sizeOfBank-1]. |
- Returns
- the requested scene object
- Since
- API version 1
◆ launchScene()
| void launchScene |
( |
int |
indexInWindow | ) |
|
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
◆ scrollDown()
◆ scrollPageDown()
◆ scrollPageUp()
◆ scrollTo()
| void scrollTo |
( |
int |
position | ) |
|
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
- Deprecated:
- Use scrollIntoView(int) instead.
◆ scrollUp()
◆ setIndication()
| void setIndication |
( |
boolean |
shouldIndicate | ) |
|
Specifies if the Bitwig Studio clip launcher should indicate which scenes are part of the window. By default indications are disabled.
- Parameters
-
| shouldIndicate | true if visual indications should be enabled, false otherwise |
- Since
- API version 10
The documentation for this interface was generated from the following file: