You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leveraging this library to create a text keyboard based instrument and I'm wondering if it's possible to cancel a queued up / currently playing sound via say a 'keyup' or some other event? I see that we can predetermine the overall length of the sound via the duration argument at the time of calling queueWaveTable and I've played around with the cancelQueue function on the player by passing it the audioContext. This worked, but canceled all of my currently playing notes. Is there some way I can target a specific sound that has been queued?
Oh and thanks for this! Having so much damn fun over here! 👍
The text was updated successfully, but these errors were encountered:
Leveraging this library to create a text keyboard based instrument and I'm wondering if it's possible to cancel a queued up / currently playing sound via say a 'keyup' or some other event? I see that we can predetermine the overall length of the sound via the duration argument at the time of calling queueWaveTable and I've played around with the cancelQueue function on the player by passing it the audioContext. This worked, but canceled all of my currently playing notes. Is there some way I can target a specific sound that has been queued?
Oh and thanks for this! Having so much damn fun over here! 👍
The text was updated successfully, but these errors were encountered: