diff --git a/src/index.js b/src/index.js index ab273ec..6dccf70 100644 --- a/src/index.js +++ b/src/index.js @@ -90,19 +90,13 @@ class AudioPlayer { } /** - * Stop all sounds, notes and drums that are playing + * Stop all sounds that are playing */ stopAllSounds () { // stop all active sound players for (const soundId in this.activeSoundPlayers) { this.activeSoundPlayers[soundId].stop(); } - - // stop all instruments - this.audioEngine.instrumentPlayer.stopAll(); - - // stop drum notes - this.audioEngine.drumPlayer.stopAll(); } /**