|
Control Surface API
1.1.11
|
An interface representing the transport section in Bitwig Studio.
Definition at line 12 of file Transport.java.
| void addAutomationOverrideObserver | ( | Callable | callback | ) |
Registers an observer that reports if automation is overridden in Bitwig Studio.
| callback | a callback function that receives a single boolean argument (`true` if overridden, `false` otherwise). |
| void addAutomationWriteModeObserver | ( | Callable | callback | ) |
Registers an observer that reports the current automation write mode.
| callback | a callback function that receives a single string argument. Possible values are `"latch"`, `"touch"` or `"write"`. |
| void addClickObserver | ( | Callable | callback | ) |
Registers an observer that reports if the metronome is enabled in Bitwig Studio.
| callback | a callback function that receives a single boolean argument (`true` when the metronome is enabled, `false` otherwise). |
| void addIsLoopActiveObserver | ( | Callable | callback | ) |
Registers an observer that reports if arranger looping is enabled in Bitwig Studio.
| callback | a callback function that receives a single boolean argument (`true` when enabled, `false` otherwise). |
| void addIsPlayingObserver | ( | Callable | callback | ) |
Registers an observer that reports if the Bitwig Studio transport is playing.
| callback | a callback function that receives a single boolean argument (`true` if playing, `false` otherwise). |
| void addIsRecordingObserver | ( | Callable | callback | ) |
Registers an observer that reports if the Bitwig Studio transport is recording.
| callback | a callback function that receives a single boolean argument (`true` if recording, `false` otherwise). |
| void addIsWritingArrangerAutomationObserver | ( | Callable | callback | ) |
Registers an observer that reports if Bitwig Studio is currently writing arranger automation.
| callback | a callback function that receives a single boolean argument (`true` when arranger automation write is enabled, `false` otherwise). |
| void addIsWritingClipLauncherAutomationObserver | ( | Callable | callback | ) |
Registers an observer that reports if Bitwig Studio is currently writing clip launcher automation.
| callback | a callback function that receives a single boolean argument (`true` when clip launcher automation write is enabled, `false` otherwise). |
| void addLauncherOverdubObserver | ( | Callable | callback | ) |
Registers an observer that reports if clip launcher over-dubbing is enabled in Bitwig Studio.
| callback | a callback function that receives a single boolean argument (`true` if clip launcher over-dubbing is enabled, `false` otherwise). |
| void addMetronomeTicksObserver | ( | Callable | callback | ) |
Registers an observer that reports if the metronome has tick playback enabled.
| callback | a callback function that receives a single boolean argument (`true` if metronome ticks, are enabled, `false` otherwise). |
| void addMetronomeVolumeObserver | ( | Callable | callback | ) |
Registers an observer that reports the metronome volume.
| callback | a callback function that receives a single numeric argument. |
| void addOverdubObserver | ( | Callable | callback | ) |
Registers an observer that reports if over-dubbing is enabled in Bitwig Studio.
| callback | a callback function that receives a single boolean argument (`true` if over-dubbing is enabled, `false` otherwise). |
| void addPreRollObserver | ( | Callable | callback | ) |
Registers an observer that reports the current pre-roll setting.
| callback | a callback function that receives a single string argument. Possible values are `"none"`, `"one_bar"`, `"two_bars"`, or `"four_bars"`. |
| void addPunchInObserver | ( | Callable | callback | ) |
Registers an observer that reports if punch-in is enabled in the Bitwig Studio transport.
| callback | a callback function that receives a single boolean argument (`true` when punch-in is enabled, `false` otherwise). |
| void addPunchOutObserver | ( | Callable | callback | ) |
Registers an observer that reports if punch-out is enabled in the Bitwig Studio transport.
| callback | a callback function that receives a single boolean argument (`true` when punch-out is enabled, `false` otherwise). |
| void fastForward | ( | ) |
Calling this function is equivalent to pressing the fast forward button in the Bitwig Studio transport.
Returns an object that provides access to the cross-fader, used for mixing between A/B-channels as specified on the Bitwig Studio tracks.
Returns an object that provides access to the punch-in position in the Bitwig Studio transport.
Returns an object that provides access to the punch-out position in the Bitwig Studio transport.
| BeatTime getPosition | ( | ) |
Returns an object that provides access to the transport position in Bitwig Studio.
Returns an object that provides access to the project tempo.
Returns an object that provides access to the transport time signature.
| void incPosition | ( | double | beats, |
| boolean | snap | ||
| ) |
Increases the transport position value by the given number of beats, which is specified relative to the given range.
| beats | the beat time value that gets added to the current transport position. Values have double precision and can be positive or negative. |
| snap | when `true` the actual new transport position will be quantized to the beat grid, when `false` the position will be increased exactly by the specified beat time |
| void increaseTempo | ( | Number | amount, |
| Number | range | ||
| ) |
Increases the project tempo value by the given amount, which is specified relative to the given range.
| amount | the new tempo value relative to the specified range. Values should be in the range [0..range-1]. |
| range | the range of the provided amount value |
| void play | ( | ) |
Starts playback in the Bitwig Studio transport.
| void record | ( | ) |
Starts recording in the Bitwig Studio transport.
| void resetAutomationOverrides | ( | ) |
Resets any automation overrides in Bitwig Studio.
| void restart | ( | ) |
When the transport is stopped, calling this function starts transport playback, otherwise the transport is first stopped and the playback is restarted from the last play-start position.
| void returnToArrangement | ( | ) |
Switches playback to the arrangement sequencer on all tracks.
| void rewind | ( | ) |
Rewinds the Bitwig Studio transport to the beginning of the arrangement.
| void setAutomationWriteMode | ( | String | mode | ) | throws ControlSurfaceException |
Sets the automation write mode.
| mode | the string that identifies the new automation write mode. Possible values are `"latch"`, `"touch"` or `"write"`. |
| void setClick | ( | boolean | isEnabled | ) |
Enables of disables the metronome according to the given parameter.
| isEnabled | `true` to enable the metronome, `false` otherwise |
| void setLauncherOverdub | ( | boolean | isEnabled | ) |
Enables of disables clip launcher over-dubbing according to the given parameter.
| isEnabled | `true` to enable the over-dubbing, `false` otherwise |
| void setLoop | ( | boolean | isEnabled | ) |
Enables of disables the arranger loop according to the given parameter.
| isEnabled | `true` to enable the arranger loop, `false` otherwise |
| void setMetronomeValue | ( | Number | amount, |
| Number | range | ||
| ) |
Sets the metronome volume.
| amount | the new metronome volume relative to the specified range. Values should be in the range [0..range-1]. |
| range | the range of the provided amount value |
| void setOverdub | ( | boolean | isEnabled | ) |
Enables of disables arranger over-dubbing according to the given parameter.
| isEnabled | `true` to enable over-dubbing, `false` otherwise |
| void setPosition | ( | double | beats | ) |
Sets the transport playback position to the given beat time value.
| beats | the new playback position in beats |
| void stop | ( | ) |
Stops playback in the Bitwig Studio transport.
| void tapTempo | ( | ) |
When calling this function multiple times, the timing of those calls gets evaluated and causes adjustments to the project tempo.
| void toggleClick | ( | ) |
Toggles the metronome enabled state of the Bitwig Studio transport.
| void toggleLatchAutomationWriteMode | ( | ) |
Toggles the latch automation write mode in the Bitwig Studio transport.
| void toggleLauncherOverdub | ( | ) |
Toggles clip launcher overdubbing in Bitwig Studio.
| void toggleLoop | ( | ) |
Toggles the enabled state of the arranger loop in Bitwig Studio.
| void toggleMetronomeTicks | ( | ) |
Toggles the enabled state of the metronome ticks.
| void toggleOverdub | ( | ) |
Toggles the over-dubbing enabled state of the Bitwig Studio transport.
| void togglePlay | ( | ) |
Toggles the transport playback state between playing and stopped.
| void togglePunchIn | ( | ) |
Toggles the punch-in enabled state of the Bitwig Studio transport.
| void togglePunchOut | ( | ) |
Toggles the punch-out enabled state of the Bitwig Studio transport.
| void toggleWriteArrangerAutomation | ( | ) |
Toggles the arranger automation write enabled state of the Bitwig Studio transport.
| void toggleWriteClipLauncherAutomation | ( | ) |
Toggles the clip launcher automation write enabled state of the Bitwig Studio transport.