Music for this Site
Remember when websites had music? At the risk of coming off a little kitsch, I've added a small music player to the footer of this site.
The tracks are all creative commons licensed or public domain, found on Wikimedia. I compressed the files as much as reasonably possible to balance fast streaming with acceptable sound quality. Some of the recordings being old, not all of the artifacts you hear are a result of compression.
In my desire to join the 512KB club, I did toy with the idea of using MIDI files due to how small they are. But the Web 1.0 vibe was too strong—even for me. So I guess I won't be joining the club anytime soon.
Track List & Attributions
- Johann Sebastian Bach - Brandenburg Concerto No. 4 in G Major - II (Adante), CC BY-SA 3.0
- Johann Sebastian Bach - Brandenburg Concerto No. 4 in G Major - III (Presto), CC BY-SA 3.0
- Ludwig van Beethoven - Symphony No. 3 in E flat major, Op. 55 'Eroica' - II. Marcia funebre. Adagio assai, CC0 1.0
- Pablo de Sarasate - Andalusian Romance, Public domain
- Béla Bartók - Romanian Folk Dances , CC BY-SA 2.0
- Johann Nikolaus Quintz - String Quartet No. 2 in A Major - II (Andante), CC BY-SA 4.0
- Johannes Brahms - Hungarian Dance No. 1, Public domain
- Johannes Brahms - Hungarian Dance No. 4, Public domain
- Antonín Dvořák - Slavonic Dance No. 2, Public domain
Compression Method
To compress the *.wav, *.ogx, or whatever format the files were in on Wikimedia Commons, I used the following terminal command:
ffmpeg -i Hungarian_Dance_No._4_Brahms_US_Air_Force_Bands.ogx \
-ac 1 \
-af "lowpass=8000" \
-ar 24000 \
-c:a libopus \
-b:a 32k \
Brahms_Hungarian_Dance_No._4.opus
I did this on my home machine, and then used rsync to push it up to my VPS:
rsync -avz Brahms_Hungarian_Dance_No._4.opus \
user@nicholascarrigg.com:\
/var/www/nicholascarrigg.com/html/music/
Why does the music stop when I click a new page?
It's bad enough that I needed to use JS for the player to work, OK? Spotify is down the hall and to the left ☜