BasePlayer constructor.
@param playClick A boolean, determines whether the click will be played. @param callbackObject An optional BasePlayerCallback, specifies an object that contains run() and stop() methods to invode during playback.
The Tone module being used.
Starts playing a NoteSequence (either quantized or unquantized), and
returns a Promise that resolves when it is done playing.
The NoteSequence to play.
(Optional) If specified, will play back at this qpm. If not specified, will use either the qpm specified in the sequence or the default of 120. Only valid for quantized sequences.
a Promise that resolves when playback is complete.
Stop playing the currently playing sequence right away.
Generated using TypeDoc
A
NoteSequenceplayer based on Tone.js.