TimeBase is a flexible encoding of time which can be evaluated to and from a string.
The context associated with the time value. Used to computeTransport and context-relative timing.
Unit values
Set this debug flag to log all events that happen in this class.
Indicates if the instance was disposed. 'Disposing' an instance means that all of the Web Audio nodes that were created for the instance are disconnected and freed for garbage collection.
The version number semver
disconnect and dispose.
Returns all of the default options belonging to the class.
Convert the class to a string
import { Oscillator } from "tone";
const osc = new Oscillator();
console.log(osc.toString());
Evaluate the time value. Returns the time in seconds.