diff options
-rw-r--r-- | audio/2019-mix-side-A.ogg | bin | 0 -> 63384545 bytes | |||
-rw-r--r-- | audio/2019-mix-side-B.ogg | bin | 0 -> 63729739 bytes | |||
-rw-r--r-- | audio/tape-start.mp3 | bin | 0 -> 106643 bytes | |||
-rw-r--r-- | index.html | 21 | ||||
-rw-r--r-- | tape-deck.js | 3 |
5 files changed, 16 insertions, 8 deletions
diff --git a/audio/2019-mix-side-A.ogg b/audio/2019-mix-side-A.ogg Binary files differnew file mode 100644 index 0000000..37efddd --- /dev/null +++ b/audio/2019-mix-side-A.ogg diff --git a/audio/2019-mix-side-B.ogg b/audio/2019-mix-side-B.ogg Binary files differnew file mode 100644 index 0000000..d72bd27 --- /dev/null +++ b/audio/2019-mix-side-B.ogg diff --git a/audio/tape-start.mp3 b/audio/tape-start.mp3 Binary files differnew file mode 100644 index 0000000..8e86548 --- /dev/null +++ b/audio/tape-start.mp3 @@ -5,11 +5,20 @@ <title>Tapes</title> </head> <body> - <a href="tape-deck.html?side=A"> - <img src="images/side-a.jpeg"> - </a> - <a href="tape-deck.html?side=B"> - <img src="images/side-b.jpeg"> - </a> + <div> + <p> + 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. + </p> + </div> + <div display="flex"> + <a href="tape-deck.html?side=A"> + <img src="images/side-a.jpeg"> + </a> + <a href="tape-deck.html?side=B"> + <img src="images/side-b.jpeg"> + </a> + </div> </body> </html> 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; }); }); - |