macbook-keyboard-visualizer
macbook-keyboard-visualizer copied to clipboard
🔆 Audio visualizer using the MacBook keyboard lights
MacBook Keyboard Visualizer
This project was heavily inspired by @pirate's repo.
This script has only been tested on Manjaro on the MacBook Air, but I am pretty sure it will work on other Linux distros running on MacBooks. This does not work on MacOS!
Dependencies
Python dependencies
numpy
pyaudio
Other
kbdlight
(Available on the AUR)
Usage
Just run the python script and let the magic happen ✨
$ python3 mbkv.py
TODO
I need to make the script more sensitive? At the moment, it only has three levels so, sometimes the lights are at maximum for a long time at the same brightness
Research sources
- https://www.swharden.com/wp/2016-07-19-realtime-audio-visualization-in-python
- https://github.com/pirate/mac-keyboard-brightness
- https://askubuntu.com/questions/26248/how-to-get-keyboard-light-keys-working-on-macbook
- https://github.com/WhyNotHugo/kbdlight