beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
has no op id!
Makes it convenient to create Tone.js time-strings (e.g. "C4")

summary (oneliner)

Generates a tone.js Time (used e.g. to specify note lengths). Tone.js expects a string representing time in various places, e.g. when triggering a tone on a synth. There are multiple ways to express time.

See github.com/Tonejs/Tone.js/wiki/Time for more information.

doc

issues

youtube id

collections

related ops

Inputs

Time (Number)

The time to be converted to a tone.js-compatible time-format


Time Type (Number)

Either Note, Triplet, Measure, Second, Frequency or Tick. See Time for more infos.


Relative To Now (Number)

When set the output string will be prefixed by a +-character – so the time will be interpreted as «the current time plus whatever expression follows»


Outputs

Tone Time (Number)

A string representing time, to be used together with another tone.js-op


Credits

  • Uses library: Tone.js (Webaudio Library)

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using ToneTime

Public Patches using ToneTime