diff --git a/src/AudioEngine.js b/src/AudioEngine.js index f39746f..80122ab 100644 --- a/src/AudioEngine.js +++ b/src/AudioEngine.js @@ -248,11 +248,14 @@ class AudioEngine { log.warn('the createPlayer method is no longer available, please use createBank'); } - - createBank () { + createEffectChain () { const effects = new EffectChain(this, this.effects); effects.connect(this); - return new SoundBank(this, effects); + return effects; + } + + createBank () { + return new SoundBank(this, this.createEffectChain()); } }