Optionalcallback: ToneEventCallback<ValueType>The callback to invoke with the event.
Optionalvalues: ValueType[]The values to arpeggiate over.
Optionalpattern: PatternNameThe name of the pattern
Optionaloptions: Partial<PatternOptions<ValueType>>The callback to be invoked at a regular interval
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 current index of the pattern.
The number of iterations of the loop. The default value is Infinity (loop forever).
Muting the Loop means that no callbacks are invoked.
The pattern type.
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.
The current value of the pattern.
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
Pattern arpeggiates between the given notes in a number of patterns.
Example