Re:Dancer.js, a high level audio api to make visualizations
by jsantell on Wednesday June 06, 2012 @05:07PM
(#4076233)
Both Mozilla and Webkit implemented different audio (Audio Data/Web Audio) APIs -- wonder what BlackBerry Dev Alpha uses if any.. needs a better 'not supported' message
Re:Dancer.js, a high level audio api to make visualizations
by HorizonXP on Wednesday June 06, 2012 @11:23PM
(#4077445)
I'm not really up to speed on the differences between browsers, but the Dev Alpha does use Webkit. Unsure what build we have, and what audio APIs are actually supported. The fact that I hear the music and see the particles moving is a start at least.
Re:Dancer.js, a high level audio api to make visualizations
by jsantell on Thursday June 07, 2012 @12:52AM
(#4077667)
I'll look into more webkit browsers -- I know on my Nexus S webkit browser, it has awful performance, but the audio plays. If the webkitAudioContext/AudioContext isn't found, it falls back to the Mozilla implementation, which is an extension of the non-fancy HTML5 audio, which means it will play audio, just be unable to read the frequency data from it -- and while the glowy balls move around independent of that data, there'll just be no boom and shaking due to absence of the frequency data :)
Now to build Chromium and try on vanilla Webkit..
Re:Dancer.js, a high level audio api to make visualizations
by HorizonXP on Thursday June 07, 2012 @03:18AM
(#4077960)
That's exactly what I observe, so it likely is kicking back to the Mozilla implementation.
If you need me to test/debug, give me a shout. I'd be happy to help.
Re:Dancer.js, a high level audio api to make visualizations
by jsantell on Thursday June 07, 2012 @09:18AM
(#4078838)
Great, will let you know :) although I need to do research on when/if/how the Web Audio API is hitting mobile Webkit browsers..
Re:Dancer.js, a high level audio api to make visualizations
by hwillis on Wednesday June 06, 2012 @04:38PM
(#4076086)
It takes a few seconds to start. The particles should pulse on each kick. You may not be able to hear it very well, its very bass-heavy.
Re:Dancer.js, a high level audio api to make visualizations
by HorizonXP on Wednesday June 06, 2012 @11:28PM
(#4077456)
Ok, I just tried it on my desktop, and it works perfectly in Chrome. On the Dev Alpha, like I said, I see rotating fuzzy balls, but not the beat synch'd animation like I see on Chrome.
At the top, I see the spectrum scrolling by, with it averaging about 20 FPS. I cannot click on toggle FFT spectrum, it doesn't recognize my tap. Like a limitation with the WebGL implementation.
The music loads, the particles move, but not really in sync with the music. It just spins...