Web Audio crashing in Chrome 38

Hi Group,

I'm having a bug which I've been trying to pin down. An update in Chrome 38
is causing some of my Web Audio classes to crash.

I've submitted a bug here:
https://code.google.com/p/chromium/issues/detail?id=431546

It's been hard for me to debug because the crash is not consistent, but if
you refresh this <http://yotammann.info/demo/Tonejs/test/> page a few times
(hopefully) it'll crash with "Aw, Snap!".

This is a subset of my unit tests which seems to crash pretty consistently,
but I haven't been able to tease out a specific test or module which it is
related to. I have a feeling it's related to the LowpassCombFilter or
FeedbackCombFilter.

Here
<https://github.com/TONEnoTONE/Tone.js/blob/master/Tone/component/FeedbackCombFilter.js>
is my implementation of LowpassCombFilter. It is a little hack-y. Basically
i'm stringing together multiple very short delays and since the delay time
might be less than the buffer frame size, i use a series of delays so that
i can get very small delay times. I use this class to implement a reverb
and karplus-string pluck synthesis pretty effectively, but both are
crashing on me since Chrome 38.

Again, I'm not sure that this class is the issue, because i've had a hard
time debugging it.

If anyone has any advice, bug fixes, or can find the cause of the bug, I
would love to hear. It does not crash in FF or Safari. (i'm on OSX 10.10).

Thank you.

Received on Saturday, 8 November 2014 21:11:47 UTC