theodolite

NICHOLAS CARRIGG


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

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 ☜