github pixijs/sound v2.0.0-alpha
2.0.0-alpha

latest releases: v6.0.1, v6.0.0, v6.0.0-rc...
pre-release7 years ago

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.useLegacy to 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 src is now url in the Sound setup options
  • 💥 breaking change PIXI.sound.SoundInstance has moved to PIXI.sound.webaudio.WebAudioInstance
  • Adds PIXI.sound.htmlaudio and PIXI.sound.webaudio which contains the classes for either HTML5 Audio or WebAudio API.
  • Adds PIXI.sound.toggleMuteAll() and PIXI.sound.togglePauseAll() methods
  • Replaces Browserify-based build system with Rollup
  • Speed is now a tweenable property

Don't miss a new sound release

NewReleases is sending notifications on new releases.