Overview
This release adds fallback support for non-WebAudio based browsers (namely IE 9+). This fallback is available using HTML5 <audio> element. This was a common requested feature for developers wanting to adopt this library. Filters and other Web Audio API features are ignored if using HTML5 audio.
Added
- Basic fallback support for IE 9+
- Adds
PIXI.sound.useLegacyto force enable use of HTML5 audio - Adds
TelephoneFilter - Support for multiple file-types with glob-like URL string. e.g.,
resources/music.{mp3,ogg}#26
Changed
- 💥 breaking change
srcis nowurlin the Sound setup options - 💥 breaking change
PIXI.sound.SoundInstancehas moved toPIXI.sound.webaudio.WebAudioInstance - Adds
PIXI.sound.htmlaudioandPIXI.sound.webaudiowhich contains the classes for either HTML5 Audio or WebAudio API. - Adds
PIXI.sound.toggleMuteAll()andPIXI.sound.togglePauseAll()methods - Replaces Browserify-based build system with Rollup
- Speed is now a tweenable property