From 533b33bb54e76b37ceb5767f234449cfedbb3cfd Mon Sep 17 00:00:00 2001 From: Grant Shangreaux Date: Sat, 4 Jan 2020 20:04:08 -0600 Subject: Add: mp3s -> ogg, note on the index, and tape-start sfx --- audio/2019-mix-side-A.ogg | Bin 0 -> 63384545 bytes audio/2019-mix-side-B.ogg | Bin 0 -> 63729739 bytes audio/tape-start.mp3 | Bin 0 -> 106643 bytes index.html | 21 +++++++++++++++------ tape-deck.js | 3 +-- 5 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 audio/2019-mix-side-A.ogg create mode 100644 audio/2019-mix-side-B.ogg create mode 100644 audio/tape-start.mp3 diff --git a/audio/2019-mix-side-A.ogg b/audio/2019-mix-side-A.ogg new file mode 100644 index 0000000..37efddd Binary files /dev/null and b/audio/2019-mix-side-A.ogg differ diff --git a/audio/2019-mix-side-B.ogg b/audio/2019-mix-side-B.ogg new file mode 100644 index 0000000..d72bd27 Binary files /dev/null and b/audio/2019-mix-side-B.ogg differ diff --git a/audio/tape-start.mp3 b/audio/tape-start.mp3 new file mode 100644 index 0000000..8e86548 Binary files /dev/null and b/audio/tape-start.mp3 differ diff --git a/index.html b/index.html index 8236d1e..09d1da6 100644 --- a/index.html +++ b/index.html @@ -5,11 +5,20 @@ Tapes - - - - - - +
+

+ Still in the works, but you can listen to the music of my 2019 music journal. + I intend to add writings to add to the musical/life journey of the past year. + More tapes will be added to the collection over time. Enjoy! sh.sh. +

+
+
+ + + + + + +
diff --git a/tape-deck.js b/tape-deck.js index 7d75abc..c5b8db7 100644 --- a/tape-deck.js +++ b/tape-deck.js @@ -1,7 +1,7 @@ const urlParams = new URLSearchParams(window.location.search); const currentSide = urlParams.get("side"); const sfx = new Audio("audio/tape-start.mp3"); -const tape = new Audio(`audio/2019-mix-side-${currentSide}.mp3`); +const tape = new Audio(`audio/2019-mix-side-${currentSide}.ogg`); let display = document.getElementById("notes"); let currentTrackIndex = 0; @@ -42,4 +42,3 @@ fetch(`side${currentSide}.json`) display.textContent = currentTrack.title; }); }); - -- cgit v1.2.3