5 ms·
Howler.js - Lightweight Javascript library for Web Audio and HTML5 Audio
- nextparadigms 14y agoHas Firefox implemented Web Audio by now?
- james33 14y agoUnfortunately, no. However, it will have at least partial support in Firefox 20, so it is on its way.
- slajax 14y agoCrashes Chrome 24.x OSX 10.8.2 - Awww Snap.
- james33 14y agoHmm, I run Chrome 24 on a Mac and haven't seen any issues.
- robmcm 14y agoI'm still waiting for a JS library to call it's self heavyweight, or bloated ;) Nice work though
- catshirt 14y agohttp://www.javelinjs.com/ http://www.javelinjs.com/
- snoerd 14y agoDoesnt work on an iPad...
- bgruber 14y agowhat's the advantage of using the web audio api for this over html5 audio elements? i don't think there's anything here that html5 audio elements can't do...
- james33 14y agoFor starters, Web Audio is much more performant than HTML5 audio.
- phoboslab 14y agoThis seems to be true, but I never understood why. HTML5 Audio is the simpler API; browsers vendors should be able to optimize it much more, yet, it still performs as bad as it did 2 years ago[1]. Another interesting fact is that iOS supports WebAudio, but doesn't support HTML5 Audio (for a meaningful definition of "support"). I just don't get it. [1] http://phoboslab.org/log/2011/03/the-state-of-html5-audio http://phoboslab.org/log/2011/03/the-state-of-html5-audio
- azakai 14y agoYup, that's totally correct and sadly not much has changed since that blogpost. I still have several bugs filed on HTML5 Audio on chrome that have received no attention, that cause problems in BananaBread, https://developer.mozilla.org/en-US/demos/detail/bananabread https://developer.mozilla.org/en-US/demos/detail/bananabread I suppose their assumption is that everyone should use Web Audio and forget about HTML5 Audio? It's sad though because Web Audio is total overkill for many things.
- arcatek 14y agoI didn't have played with WebAudio yet, but I assume that the main problem of HTML5 <audio/> is that the controls cannot be customized to fit the stylesheet. Using WebAudio probably allows to use custom html structure. So the main question is : when will we have a standard shadow dom styling ? :(
- craigbellot 14y agoDoesn't work on iphone5 either.
- james33 14y agoCheck your mute switch. I have an iPhone 5 and all of the functions work.
- craigbellot 14y agoThanks... That fixed it. However maybe you should detect if the mute switch is on and display a message. I'm guessing a lot of others would not think of that.
- jonknee 14y ago> Thanks... That fixed it. However maybe you should detect if the mute switch is on and display a message. I'm guessing a lot of others would not think of that. Sure, except there is not an API call for that.
- javajosh 14y agoThis is kind of an aside, but I have a question. Is the format of the W3C specification an actual value-add to ideas like this? I mean, if I look at http://www.w3.org/TR/webaudio/ http://www.w3.org/TR/webaudio/ my eyes kind of glaze over, whereas if I read something like http://json.org/ http://json.org/ (to pick something at random) it is far more accessible. Heck, most of the RFCs I've read are more readable than the W3C formatted specs (and are often written in a human, witty way).
- xiaoma 14y agoAre there any decent free tools for doing batch conversions on mp3 or wav files to the formats needed for HTML5 audio across browsers?