jsantell / dancer.js

high-level audio API, designed to make sweet visualizations
jsantell.github.com/dancer.js
MIT License
2.11k stars 211 forks source link

ArrayBufferView size is not a small enough #9

Closed jsantell closed 12 years ago

jsantell commented 12 years ago

RangeError: ArrayBufferView size is not a small enough positive integer (dancer.js:405) on Chrome. http://news.ycombinator.com/item?id=4075063

Cannot reproduce?

Edit: Got in Opera, since it falls back to the Mozilla adapter, trying to create a new FFT, passing in NaN due to frameBuffer and channels being undefined, since buffer/channels/samplerate is not available in the big O. Perhaps break adapterMoz into an audio data api adapter, where if it supports audio data, great, otherwise, just play the audio track.

jsantell commented 12 years ago

Fixed with flash support in 0.2.0 -- Opera now falls back to flash instead of using the Moz implementation