summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Shangreaux <shshoshin@protonmail.com>2020-01-04 20:04:08 -0600
committerGrant Shangreaux <shshoshin@protonmail.com>2020-01-04 20:04:08 -0600
commit533b33bb54e76b37ceb5767f234449cfedbb3cfd (patch)
tree6fb1b61e843603d96b9a2105ae44a48fd139eb52
parentf6086f86cbc23fc0db538feafdda9e020e1763c8 (diff)
Add: mp3s -> ogg, note on the index, and tape-start sfx
-rw-r--r--audio/2019-mix-side-A.oggbin0 -> 63384545 bytes
-rw-r--r--audio/2019-mix-side-B.oggbin0 -> 63729739 bytes
-rw-r--r--audio/tape-start.mp3bin0 -> 106643 bytes
-rw-r--r--index.html21
-rw-r--r--tape-deck.js3
5 files changed, 16 insertions, 8 deletions
diff --git a/audio/2019-mix-side-A.ogg b/audio/2019-mix-side-A.ogg
new file mode 100644
index 0000000..37efddd
--- /dev/null
+++ b/audio/2019-mix-side-A.ogg
Binary files differ
diff --git a/audio/2019-mix-side-B.ogg b/audio/2019-mix-side-B.ogg
new file mode 100644
index 0000000..d72bd27
--- /dev/null
+++ b/audio/2019-mix-side-B.ogg
Binary files differ
diff --git a/audio/tape-start.mp3 b/audio/tape-start.mp3
new file mode 100644
index 0000000..8e86548
--- /dev/null
+++ b/audio/tape-start.mp3
Binary files differ
diff --git a/index.html b/index.html
index 8236d1e..09d1da6 100644
--- a/index.html
+++ b/index.html
@@ -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;
});
});
-