diff --git a/src/main.js b/src/main.js index 85f011e..0218ead 100644 --- a/src/main.js +++ b/src/main.js @@ -2740,10 +2740,11 @@ function playPause() { playing = !playing if (playing) { for (let audioLayer of context.activeObject.audioLayers) { - console.log(1) - for (let i in audioLayer.sounds) { - let sound = audioLayer.sounds[i] - sound.player.start(0,context.activeObject.currentFrameNum / config.framerate) + if (audioLayer.audible) { + for (let i in audioLayer.sounds) { + let sound = audioLayer.sounds[i] + sound.player.start(0,context.activeObject.currentFrameNum / config.framerate) + } } } advanceFrame()