pixijs / sound

WebAudio API playback library, with filters. Modern audio playback for modern browsers.
https://pixijs.io/sound/examples/
MIT License
409 stars 67 forks source link

Add sound channels #241

Closed Zyie closed 10 months ago

Zyie commented 1 year ago

Adds ability to create multiple sound channels to control volume, speed, filters etc per channel

There is a default main channel that any unregistered sound will use

When loading you can specify the channel to add the sound to e.g. sound: {src: "mysound.mp3", data: { channel: 'music' } }. Or you can add it after with sound.addToChannel