PixiJS Sound
WebAudio API playback library, with filters. Modern audio playback for modern browsers.
Features
- Pausing and resuming
- Independent volume control
- Support blocking or layered sounds (multiple instances)
- Support for
PIXI.Loader
system - Dynamic filters:
- ReverbFilter
- DistortionFilter
- EqualizerFilter
- StereoFilter
- TelephoneFilter
Known Compatibility
- Chrome 58+
- Firefox 49+
- Safari 10+
- iOS 9+
- IE 9+
Usage
Installation is available by NPM:
npm i @pixi/sound --save
import { sound } from '@pixi/sound';
sound.add('my-sound', 'path/to/file.mp3');
sound.play('my-sound');
Resources
License
MIT License.