Tone.TransportTime↳ EXTENDS Tone.Time
Tone.TransportTime is a the time along the Transport’s timeline. It is similar to Tone.Time, but instead of evaluating against the AudioContext’s clock, it is evaluated against the Transport’s position. See TransportTime wiki.
CONSTRUCTORnew Tone.TransportTime (
.toNotation ( )#
Convert a Time to Notation. The notation values are will be the closest representation between 1m to 128th note.
.quantize ( )#
Move the time value towards the quantized value by a percentage.
Quantize the time by the given subdivision. Optionally add a percentage which will move the time value towards the ideal quantized value by that percentage.
.toBarsBeatsSixteenths ( )#
Return the time encoded as Bars:Beats:Sixteenths.
.valueOf ( )#
Evaluate the time value. Returns the time in seconds.
.toMilliseconds ( )#
Return the time in milliseconds.