Re: Performance issues with hundreds of queued BufferSources

> 
> Should I queue a couple seconds' worth of notes with noteOn(), then continually add to the queue, perhaps using requestAnimationFrame to approximate precise timing? (The precise timing of noteOn() is pretty important for my application.) Any other ideas?

Yes. You should do exactly that. This approach works fine.

The timing of the queuing of these “batches” is not particularly important so long as you maintain a reasonable amount of buffers in the queue.

.            .       .    .  . ...Joe

Joe Berkovitz
President

Noteflight LLC
Boston, Mass.
phone: +1 978 314 6271
www.noteflight.com
"Your music, everywhere"

Received on Monday, 25 November 2013 13:41:07 UTC