diff --git a/packages/fireworks-js/src/fireworks.ts b/packages/fireworks-js/src/fireworks.ts index 7f52014..54d9af5 100644 --- a/packages/fireworks-js/src/fireworks.ts +++ b/packages/fireworks-js/src/fireworks.ts @@ -40,7 +40,7 @@ export class Fireworks { this.createCanvas(this.target) this.updateOptions(options) - this.sound = new Sound(this.opts) + this.sound = this.opts.soundClass || new Sound(this.opts) this.resize = new Resize( this.opts, this.updateSize.bind(this),