Closed etayluz closed 2 years ago
After scheduling a series of notes to play with player.queueWaveTable, how do I pause or stop the audio if need be?
player.queueWaveTable
Should I use player.cancelQueue or envelope.cancel? What is the difference?
player.cancelQueue
envelope.cancel
read old answer https://github.com/surikov/webaudiofont/issues/62
read docs https://surikov.github.io/webaudiofont/npm/src/docs/classes/player.WebAudioFontPlayer.html#cancelQueue https://surikov.github.io/webaudiofont/npm/src/docs/modules/otypes.html#WaveEnvelope
After scheduling a series of notes to play with
player.queueWaveTable
, how do I pause or stop the audio if need be?Should I use
player.cancelQueue
orenvelope.cancel
? What is the difference?