diff options
author | Grant Shangreaux <shshoshin@protonmail.com> | 2020-01-06 14:21:24 -0600 |
---|---|---|
committer | Grant Shangreaux <shshoshin@protonmail.com> | 2020-01-06 14:21:24 -0600 |
commit | 3c68b4ea1a9372ff6f64abde0d5031de01dfd305 (patch) | |
tree | 953045308e79dbfc5088340fc7971d85936ff71e | |
parent | c4eb36eb96f03f399cb843ac091e09f233d1b4d4 (diff) |
Fix: button press sound is louder now
-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; } |