Jump to content

my contribution to buzz js audio library


Ezelia
 Share

Recommended Posts

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

 

:)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

  • 5 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...