Real-time detection of beats for audio from an input device (typically "Stereo Mix"). Outputs OSC signals, which can be used for sound-to-light control.
I use QLC+ for DMX control.
- PyAudio
- PyQt4
- PyQwt
- matplotlib
- scipy
- python-osc
python beatDetector.py
Automatically listens to default audio input device.
OSC signals are sent to localhost:7701
, can be changed in beatDetector.py
.
/beat
is sent for every beat detected, or every 2nd beat when auto generating beats. Ideal for fast light change./bar
is sent every 16 beats. Ideal for less frequent light change.
Based on shunfu/python-beat-detector.