ToneTime Op

ToneTime

This op is deprecated!

It will not receive any updates

Makes it convenient to create Tone.js time-strings (e.g. "C4")


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.


Edit Documentation

Full Name
  • Ops.Deprecated.WebAudio.Lib.Tonejs.Type.ToneTime
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorJavascript Libraries


 

INPUT PORTS


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»

OUTPUT PORTS


Tone Time (Number)

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


Patches using ToneTime

  • Examples
  • Public
  • My Patches