diff options
-rw-r--r-- | audio/button-press.mp3 | bin | 13895 -> 15512 bytes | |||
-rw-r--r-- | tape-deck.js | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/audio/button-press.mp3 b/audio/button-press.mp3 Binary files differindex 1474d3f..91ae629 100644 --- a/audio/button-press.mp3 +++ b/audio/button-press.mp3 diff --git a/tape-deck.js b/tape-deck.js index 230d3c8..e0ee376 100644 --- a/tape-deck.js +++ b/tape-deck.js @@ -31,6 +31,7 @@ function loadTrackData() { function play() { if (isPlaying) { playButton.src = playButtonUp; + buttonPressSound.play(); tape.pause(); isPlaying = false; deck.src = stopImage; @@ -47,7 +48,6 @@ function play() { isPlaying = true; playButton.src = playButtonDown; - buttonPressSound.play(); deck.src = playImage; } |