diff --git a/src/extensions/scratch3_music/index.js b/src/extensions/scratch3_music/index.js index 9099dc98a..1ef4d6942 100644 --- a/src/extensions/scratch3_music/index.js +++ b/src/extensions/scratch3_music/index.js @@ -786,7 +786,7 @@ class Scratch3MusicBlocks { if (typeof player === 'undefined') return; - if (player.isPlaying) { + if (player.isPlaying && !player.isStarting) { // Take the internal player state and create a new player with it. // `.play` does this internally but then instructs the sound to // stop. @@ -889,7 +889,7 @@ class Scratch3MusicBlocks { const player = this._instrumentPlayerNoteArrays[inst][note]; - if (player.isPlaying) { + if (player.isPlaying && !player.isStarting) { // Take the internal player state and create a new player with it. // `.play` does this internally but then instructs the sound to // stop.