r/macappdevs • • 9d ago

TIL your MacBook keyboard light is fast enough to keep up with a beat, so I turned it into a light show for my music

This started as a dumb idea. I saw that post about turning a MacBook trackpad into a speaker and started wondering what else on a laptop could react to music. Turns out the keyboard backlight is fast enough to keep up with a beat, so I built QWERTYgroove.

It listens to whatever your Mac is playing (Spotify, Apple Music, YouTube in the browser, anything) and the backlight follows along. Kicks and snares hit full brightness, smaller stuff like hi-hats is dimmer, and it goes dark in between. Looks way better with the lights off.

Stuff people will probably ask:

\- Needs an M1 or newer MacBook with a backlit keyboard
\- Install is one command in Terminal. It keeps its own copy of Python in one folder, so no Xcode or Homebrew
\- To hear your music it installs BlackHole, a free open source audio driver. Your sound still comes out of your speakers or headphones like normal
\- It asks for your password once during install, that's for BlackHole
\- No accounts, no tracking, it all runs on your Mac. All the code is on GitHub if you want to look through it
\- Works with speakers, wired earphones and Bluetooth, and it switches over if you plug headphones in mid song

It's still new so it might be a bit glitchy on some M2/M3 MacBook Pros, I'm working on that. If it breaks for you, tell me what Mac you're on and I'll try to fix it.

https://github.com/zaenae/QWERTYgroove

Drop a song in the comments and I'll test it

1 Upvotes

0 comments sorted by