I’ve built a shiny little Python program that will monitor your computer’s sound via the sound card’s stereo mix feature and send the volume level to an Arduino to change an LED’s brightness.

The code is available on Github and is embedded below. Many thanks to Luis for helping me find the right math to make this look best :D