Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught RangeError: ArrayBufferView size is not a small enough positive integer. #9

Open
ghost opened this issue Oct 21, 2011 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 21, 2011

Hi, on chrome I got this error message and I dont know how to handle it (I am pretty new to new to Javascript). Maybe someone can help) Is audiodata supported in chrome anyway? It all works well in FF:

Uncaught RangeError: ArrayBufferView size is not a small enough positive integer.
FourierTransformdsp.js:247
FFTdsp.js:354
loadedMetadata

Thx
C

@jsantell
Copy link

While other browsers support the loadedmetadata event, their audio elements do not have the mozChannels, mozSampleRate and mozFrameBufferLength, which you're probably passing in undefined to the FFT constructor -- discovered this issue when my feature detection wasn't tight enough and Opera tried to go through my Audio Data API routine ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant