The metronome to use for counting beats.
The number of beats to wait before performing some action.
The action to perform once the cue has finished waiting.
The action to perform once the cue has finished waiting.
The action to perform once the cue has finished waiting.
The number of beats to wait before performing some action.
This event fires when the Cue finishes. This is included because it's part of the IClockChild definition. In practice, there's no reason to use it though, since the whole point of a Cue object is that it's already lining up some action to be performed once it finishes.
Signifies whether the Cue has stopped.
The metronome to use for counting beats.
Provides a way of identifying cues so they can be easily retrieved later.
Returns the name of this type. This can be used rather than instanceof which is sometimes unreliable.
Provides a way for setting the ref through a chained function call. For example:
clock.addChild(Cue.afterMs(100, console.log('Hello!')).withRef('cue'));
The calling object.
The ref to set on the object.
Generated using TypeDoc
The BeatCue defines some action which should be performed after x number of beats has passed.