CreateJS / SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
http://createjs.com/
MIT License
4.45k stars 832 forks source link

Channels not working in 0.4.0 and Firefox #35

Closed mostlygeek closed 11 years ago

mostlygeek commented 11 years ago

When upgrading from 0.3.0 to 0.4.0, multi-channel playback stopped working in Firefox. This seems to be a SoundJS issue as 0.3.0 still demonstrates the correct behaviour.

I created a demo of this:

http://createjs-amd.herokuapp.com/

The sound works and multi channel playback works correctly with the 0.3.0 libraries. With 0.4.0 it seems only one channel can play at a time.

Everything works great in Chrome, especially with the new WebAudio API support.

Ref: http://community.createjs.com/discussions/soundjs/119-no-multi-channel-sound-in-firefox-htmlaudioplugin-since-v040

lannymcnie commented 11 years ago

Thanks for the report. We noticed this issue recently, and are working on a fix. Sorry for the inconvenience.

lannymcnie commented 11 years ago

I have pushed a fix to GitHub that addresses this issue with multiple instances of the same sound in Firefox. Please use the latest source, or the NEXT lib.

Version 0.4.0 will not be changed. We will probably tag a new version soon, and update the CDN versions.

Thanks for the report!

mostlygeek commented 11 years ago

Thanks for the changes. I updated the demo: http://createjs-amd.herokuapp.com/

It works great in Firefox again.