summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Shangreaux <shshoshin@protonmail.com>2020-01-06 14:21:24 -0600
committerGrant Shangreaux <shshoshin@protonmail.com>2020-01-06 14:21:24 -0600
commit3c68b4ea1a9372ff6f64abde0d5031de01dfd305 (patch)
tree953045308e79dbfc5088340fc7971d85936ff71e
parentc4eb36eb96f03f399cb843ac091e09f233d1b4d4 (diff)
Fix: button press sound is louder now
-rw-r--r--audio/button-press.mp3bin13895 -> 15512 bytes
-rw-r--r--tape-deck.js2
2 files changed, 1 insertions, 1 deletions
diff --git a/audio/button-press.mp3 b/audio/button-press.mp3
index 1474d3f..91ae629 100644
--- a/audio/button-press.mp3
+++ b/audio/button-press.mp3
Binary files differ
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;
}