Skip to content

1.2.0

Compare
Choose a tag to compare
@bigtimebuddy bigtimebuddy released this 13 Feb 19:10

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.