Transport Op
This op is deprecated!
It will not receive any updatesTransport for timing musical events on the (virtual) audio timeline
Summary (oneliner)
Transport for timing musical events. Supports tempo curves and time changes. Unlike browser-based timing (setInterval, requestAnimationFrame) Tone.Transport timing events pass in the exact time of the scheduled event in the argument of the callback function. Pass that time value to the object you're scheduling.
A single transport is created for you when the library is initialized.
The transport emits the events: "start", "stop", "pause", and "loop" which are called with the time of that event as the argument.
- Ops.Extension.Deprecated.Tonejs.Transport
- Extension Op - Visible to all users
- MIT
- Tone.js (Webaudio Library)
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
INPUT PORTS
Updates the output values
The Beats Per Minute of the Transport
The swing value. Between 0-1 where 1 equal to the note + half the subdivision
Set the subdivision which the swing will be applied to. The default value is an 8th note. Value must be less than a quarter note.
If the transport loops or not
When Loop
= true, this is the starting position of the loop
When Loop
= false, this is the starting position of the loop
Pulses Per Quarter note. This is the smallest resolution the Transport timing supports. Do not change this if you don’t know what you are doing.
Start the transport and all sources synced to the transport
When the transport should start once Start
was triggered
If set Transport
will automatically start when the patch was loaded, or the Update
-port was connected
Stop the transport and all sources synced to the transport
When the transport should stop once Stop
was triggered
OUTPUT PORTS
Either started
or stopped
The current (virtual) timeline-position. Format: Bars:Beats:Sixteenth
The current position in seconds
The currrent progress from 0
to 1
The current position in ticks