Control Surface API  1.1.11
Transport Interface Reference

Public Member Functions

void play ()
void stop ()
void togglePlay ()
void restart ()
void record ()
void rewind ()
void fastForward ()
void tapTempo ()
void addIsPlayingObserver (Callable callback)
void addIsRecordingObserver (Callable callback)
void addOverdubObserver (Callable callback)
void addLauncherOverdubObserver (Callable callback)
void addAutomationWriteModeObserver (Callable callback)
void addIsWritingArrangerAutomationObserver (Callable callback)
void addIsWritingClipLauncherAutomationObserver (Callable callback)
void addAutomationOverrideObserver (Callable callback)
void addIsLoopActiveObserver (Callable callback)
void addPunchInObserver (Callable callback)
void addPunchOutObserver (Callable callback)
void addClickObserver (Callable callback)
void addMetronomeTicksObserver (Callable callback)
void addMetronomeVolumeObserver (Callable callback)
void addPreRollObserver (Callable callback)
void toggleLoop ()
void setLoop (boolean isEnabled)
void togglePunchIn ()
void togglePunchOut ()
void toggleClick ()
void setClick (boolean isEnabled)
void toggleMetronomeTicks ()
void setMetronomeValue (Number amount, Number range)
void toggleOverdub ()
void setOverdub (boolean isEnabled)
void toggleLauncherOverdub ()
void setLauncherOverdub (boolean isEnabled)
void setAutomationWriteMode (String mode) throws ControlSurfaceException
void toggleLatchAutomationWriteMode ()
void toggleWriteArrangerAutomation ()
void toggleWriteClipLauncherAutomation ()
void resetAutomationOverrides ()
void returnToArrangement ()
AutomatableRangedValue getTempo ()
void increaseTempo (Number amount, Number range)
BeatTime getPosition ()
void setPosition (double beats)
void incPosition (double beats, boolean snap)
BeatTime getInPosition ()
BeatTime getOutPosition ()
AutomatableRangedValue getCrossfade ()
TimeSignatureValue getTimeSignature ()

Detailed Description

An interface representing the transport section in Bitwig Studio.

Since:
Bitwig Studio 1.0

Definition at line 12 of file Transport.java.


Member Function Documentation

void addAutomationOverrideObserver ( Callable  callback)

Registers an observer that reports if automation is overridden in Bitwig Studio.

Parameters:
callbacka callback function that receives a single boolean argument (`true` if overridden, `false` otherwise).
Since:
Bitwig Studio 1.0
void addAutomationWriteModeObserver ( Callable  callback)

Registers an observer that reports the current automation write mode.

Parameters:
callbacka callback function that receives a single string argument. Possible values are `"latch"`, `"touch"` or `"write"`.
Since:
Bitwig Studio 1.0
void addClickObserver ( Callable  callback)

Registers an observer that reports if the metronome is enabled in Bitwig Studio.

Parameters:
callbacka callback function that receives a single boolean argument (`true` when the metronome is enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void addIsLoopActiveObserver ( Callable  callback)

Registers an observer that reports if arranger looping is enabled in Bitwig Studio.

Parameters:
callbacka callback function that receives a single boolean argument (`true` when enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void addIsPlayingObserver ( Callable  callback)

Registers an observer that reports if the Bitwig Studio transport is playing.

Parameters:
callbacka callback function that receives a single boolean argument (`true` if playing, `false` otherwise).
Since:
Bitwig Studio 1.0
void addIsRecordingObserver ( Callable  callback)

Registers an observer that reports if the Bitwig Studio transport is recording.

Parameters:
callbacka callback function that receives a single boolean argument (`true` if recording, `false` otherwise).
Since:
Bitwig Studio 1.0
void addIsWritingArrangerAutomationObserver ( Callable  callback)

Registers an observer that reports if Bitwig Studio is currently writing arranger automation.

Parameters:
callbacka callback function that receives a single boolean argument (`true` when arranger automation write is enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void addIsWritingClipLauncherAutomationObserver ( Callable  callback)

Registers an observer that reports if Bitwig Studio is currently writing clip launcher automation.

Parameters:
callbacka callback function that receives a single boolean argument (`true` when clip launcher automation write is enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void addLauncherOverdubObserver ( Callable  callback)

Registers an observer that reports if clip launcher over-dubbing is enabled in Bitwig Studio.

Parameters:
callbacka callback function that receives a single boolean argument (`true` if clip launcher over-dubbing is enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void addMetronomeTicksObserver ( Callable  callback)

Registers an observer that reports if the metronome has tick playback enabled.

Parameters:
callbacka callback function that receives a single boolean argument (`true` if metronome ticks, are enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void addMetronomeVolumeObserver ( Callable  callback)

Registers an observer that reports the metronome volume.

Parameters:
callbacka callback function that receives a single numeric argument.
Since:
Bitwig Studio 1.0
void addOverdubObserver ( Callable  callback)

Registers an observer that reports if over-dubbing is enabled in Bitwig Studio.

Parameters:
callbacka callback function that receives a single boolean argument (`true` if over-dubbing is enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void addPreRollObserver ( Callable  callback)

Registers an observer that reports the current pre-roll setting.

Parameters:
callbacka callback function that receives a single string argument. Possible values are `"none"`, `"one_bar"`, `"two_bars"`, or `"four_bars"`.
Since:
Bitwig Studio 1.0
void addPunchInObserver ( Callable  callback)

Registers an observer that reports if punch-in is enabled in the Bitwig Studio transport.

Parameters:
callbacka callback function that receives a single boolean argument (`true` when punch-in is enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void addPunchOutObserver ( Callable  callback)

Registers an observer that reports if punch-out is enabled in the Bitwig Studio transport.

Parameters:
callbacka callback function that receives a single boolean argument (`true` when punch-out is enabled, `false` otherwise).
Since:
Bitwig Studio 1.0
void fastForward ( )

Calling this function is equivalent to pressing the fast forward button in the Bitwig Studio transport.

Since:
Bitwig Studio 1.0

Returns an object that provides access to the cross-fader, used for mixing between A/B-channels as specified on the Bitwig Studio tracks.

See also:
Track::getCrossFadeMode()
Since:
Bitwig Studio 1.1

Returns an object that provides access to the punch-in position in the Bitwig Studio transport.

Returns:
a beat time object that represents the punch-in position
Since:
Bitwig Studio 1.0

Returns an object that provides access to the punch-out position in the Bitwig Studio transport.

Returns:
a beat time object that represents the punch-out position
Since:
Bitwig Studio 1.0

Returns an object that provides access to the transport position in Bitwig Studio.

Returns:
a beat time object that represents the transport position
Since:
Bitwig Studio 1.0

Returns an object that provides access to the project tempo.

Returns:
the requested tempo value object
Since:
Bitwig Studio 1.0

Returns an object that provides access to the transport time signature.

Returns:
the time signature value object that represents the transport time signature.
Since:
Bitwig Studio 1.1
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.

Parameters:
beatsthe beat time value that gets added to the current transport position. Values have double precision and can be positive or negative.
snapwhen `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
Since:
Bitwig Studio 1.0
void increaseTempo ( Number  amount,
Number  range 
)

Increases the project tempo value by the given amount, which is specified relative to the given range.

Parameters:
amountthe new tempo value relative to the specified range. Values should be in the range [0..range-1].
rangethe range of the provided amount value
Since:
Bitwig Studio 1.0
void play ( )

Starts playback in the Bitwig Studio transport.

Since:
Bitwig Studio 1.0
void record ( )

Starts recording in the Bitwig Studio transport.

Since:
Bitwig Studio 1.0

Resets any automation overrides in Bitwig Studio.

Since:
Bitwig Studio 1.0
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.

Since:
Bitwig Studio 1.0

Switches playback to the arrangement sequencer on all tracks.

Since:
Bitwig Studio 1.0
void rewind ( )

Rewinds the Bitwig Studio transport to the beginning of the arrangement.

Since:
Bitwig Studio 1.0
void setAutomationWriteMode ( String  mode) throws ControlSurfaceException

Sets the automation write mode.

Parameters:
modethe string that identifies the new automation write mode. Possible values are `"latch"`, `"touch"` or `"write"`.
Since:
Bitwig Studio 1.0
void setClick ( boolean  isEnabled)

Enables of disables the metronome according to the given parameter.

Parameters:
isEnabled`true` to enable the metronome, `false` otherwise
Since:
Bitwig Studio 1.0
void setLauncherOverdub ( boolean  isEnabled)

Enables of disables clip launcher over-dubbing according to the given parameter.

Parameters:
isEnabled`true` to enable the over-dubbing, `false` otherwise
Since:
Bitwig Studio 1.0
void setLoop ( boolean  isEnabled)

Enables of disables the arranger loop according to the given parameter.

Parameters:
isEnabled`true` to enable the arranger loop, `false` otherwise
Since:
Bitwig Studio 1.0
void setMetronomeValue ( Number  amount,
Number  range 
)

Sets the metronome volume.

Parameters:
amountthe new metronome volume relative to the specified range. Values should be in the range [0..range-1].
rangethe range of the provided amount value
Since:
Bitwig Studio 1.0
void setOverdub ( boolean  isEnabled)

Enables of disables arranger over-dubbing according to the given parameter.

Parameters:
isEnabled`true` to enable over-dubbing, `false` otherwise
Since:
Bitwig Studio 1.0
void setPosition ( double  beats)

Sets the transport playback position to the given beat time value.

Parameters:
beatsthe new playback position in beats
Since:
Bitwig Studio 1.0
void stop ( )

Stops playback in the Bitwig Studio transport.

Since:
Bitwig Studio 1.0
void tapTempo ( )

When calling this function multiple times, the timing of those calls gets evaluated and causes adjustments to the project tempo.

Since:
Bitwig Studio 1.1
void toggleClick ( )

Toggles the metronome enabled state of the Bitwig Studio transport.

Since:
Bitwig Studio 1.0

Toggles the latch automation write mode in the Bitwig Studio transport.

Since:
Bitwig Studio 1.0

Toggles clip launcher overdubbing in Bitwig Studio.

Since:
Bitwig Studio 1.0
void toggleLoop ( )

Toggles the enabled state of the arranger loop in Bitwig Studio.

Since:
Bitwig Studio 1.0

Toggles the enabled state of the metronome ticks.

Since:
Bitwig Studio 1.0
void toggleOverdub ( )

Toggles the over-dubbing enabled state of the Bitwig Studio transport.

Since:
Bitwig Studio 1.0
void togglePlay ( )

Toggles the transport playback state between playing and stopped.

Since:
Bitwig Studio 1.0
void togglePunchIn ( )

Toggles the punch-in enabled state of the Bitwig Studio transport.

Since:
Bitwig Studio 1.0
void togglePunchOut ( )

Toggles the punch-out enabled state of the Bitwig Studio transport.

Since:
Bitwig Studio 1.0

Toggles the arranger automation write enabled state of the Bitwig Studio transport.

Since:
Bitwig Studio 1.0

Toggles the clip launcher automation write enabled state of the Bitwig Studio transport.

Since:
Bitwig Studio 1.0

List of all members.


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