Ezelia Posted February 18, 2013 Share Posted February 18, 2013 I think buzzjs is one of the most known Javascript audio libraries for HTML5 game developers. I use this library in my games, it's simple to use and just do the job ...the library lack from one feature : multi-channels ! witch is very important in games. I made a little contribution and posted a pull request witch will be integrated to the core library when its author (Jay Salvat) will have time to review it... if you want multi-channel support for buzzjs library you can use my forked version here : https://github.com/alaa-eddine/buzz Quote Link to comment Share on other sites More sharing options...
desp Posted February 19, 2013 Share Posted February 19, 2013 Does it manage audio looping without losing tempo? Quote Link to comment Share on other sites More sharing options...
Ezelia Posted February 19, 2013 Author Share Posted February 19, 2013 I use it for all my games and never noticed that problem ... btw, here is the official library website : http://buzz.jaysalvat.com/ you'll find detailled documentation and examples, but the version there does not support multi-channels yet. I'm not the original author I just contributed with multi-channel patch Quote Link to comment Share on other sites More sharing options...
BlueMagic Posted February 19, 2013 Share Posted February 19, 2013 You should check out howler.js, built by a friend of mine and seems to have taken over by storm. It's really fantastic and looks like an improvement on buzz.js. http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library https://github.com/goldfire/howler.js BTW I haven't just signed up to spam with this, I've been checking around these forums for the past few days and this is the first contribution I decided I could make It really is a good library, so check it out. Quote Link to comment Share on other sites More sharing options...
benny! Posted February 19, 2013 Share Posted February 19, 2013 You should check out howler.js, built by a friend of mine and seems to have taken over by storm. It's really fantastic and looks like an improvement on buzz.js. http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library https://github.com/goldfire/howler.js BTW I haven't just signed up to spam with this, I've been checking around these forums for the past few days and this is the first contribution I decided I could make It really is a good library, so check it out. I really can second that. Although I have not used any sound in my games so far - I had a quick test run with Howler and so far it seems to work pretty solid even on mobile devices. Quote Link to comment Share on other sites More sharing options...
Ezelia Posted February 19, 2013 Author Share Posted February 19, 2013 @BlueMagic : I check howler library witch I find wonderful and having really interesting features, especially the way it handle sound sprites ... but during my tests it seemed to not support multi-channel sounds. lets say sound.mp3 is a 4 seconds sound file if I write var sound = new Howl({ urls: ['sound.mp3']});sound.play(); //#1 setTimeout(function(){ sound.play(); // <=== this one dont seem to play since #1 is still playing}, 500); for games, it's a useful feature to play bullets or explosion sounds when you have many explosions at the same time for exemple Quote Link to comment Share on other sites More sharing options...
EmployeeNumber8 Posted February 19, 2013 Share Posted February 19, 2013 @BlueMagic You should post a separate topic in the Audio forum for Howlerjs Quote Link to comment Share on other sites More sharing options...
hrpatidar Posted August 8, 2013 Share Posted August 8, 2013 Hi, your added version is not working in iPad and mobile browser. Please help me, what can i do for multi-channel support in mobile browser ?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.