A fork of Christian Scheb's Sound-To-Light-OSC, customised for remote GPIO in place of OSC.
"Real-time detection of beats with Python from an audio input device (typically 'Stereo Mix')"
🎥 YouTube Livestream Involving This Project
I received this lamp as apart of a secret santa and have loved it ever since. It's internal electronics are really simple, allowing me to do this project without risking the lamp (or my life I guess).
- Built for use on Windows & Linux as I need this to run on a Raspberry Pi 4
- This project is tailored to my personal needs, therefore, there may be some weird code
- The removal of OSC does sort-of kill the point of the original repo, however, I'm using remote GPIO as I'm using a Raspberry Pi 4 for light control and it's the easiest way to implement it
- PyAudio (If installation fails, try installing pipwin then using
pipwin install pyaudio
) - PyQt5
- matplotlib
- scipy
Simply run either from the commandline or directly
beatDetector.py - Runs normally, with console and GUI
beatDetectorNoConsole.pyw - Just runs with the GUI
Based on scheb/python-beat-detector, which itself is based on shunfu/python-beat-detector