github pixijs/sound v1.2.0
1.2.0

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

Overview

Added more play options. Most importantly, added support for playing from start to end time. This functionality will be expanded in the future to support audio sprites. Also, adds support for overriding the default loop and speed per SoundInstance.

const sound = PIXI.sound.Sound.from('foo.mp3');
sound.play({
   speed: 0.5,
   loop: true
});

🐛 Fixed

  • Fixes the progress for looping sounds

🎁 Added

  • Play a sound from start to end with new sound play arguments.
  • Allow play() overrides to set the speed and loop per SoundInstance.
  • Adds m4a to the list of supported audio file extensions.

Don't miss a new sound release

NewReleases is sending notifications on new releases.