Optionaloptions: Partial<LoopOptions>The callback to invoke with the next event in the pattern
ReadonlycontextThe context belonging to the node.
Set this debug flag to log all events that happen in this class.
ReadonlynameThe name of the class
StaticversionThe version number semver
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 number of iterations of the loop. The default value is Infinity (loop forever).
Muting the Loop means that no callbacks are invoked.
The playback rate of the loop. The normal playback rate is 1 (no change).
A playbackRate of 2 would be twice as fast.
The probably of the callback being invoked.
The progress of the loop as a value between 0-1. 0, when the loop is stopped or done iterating.
The duration in seconds of one sample.
The state of the Loop, either started or stopped.
disconnect and dispose.
Get the object's attributes.
Set multiple properties at once with an object.
Convert the incoming time to seconds. This is calculated against the current TransportInstance bpm
Staticget
Loop creates a looped callback at the specified interval. The callback can be started, stopped and scheduled along the Transport's timeline.
Example