Skip to content

Real-time detection of beats from audio, sending out OSC signals for sound-to-light control 🎵💡

License

Notifications You must be signed in to change notification settings

scheb/sound-to-light-osc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-beat-detector

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.

Required modules

  • PyAudio
  • PyQt4
  • PyQwt
  • matplotlib
  • scipy
  • python-osc

Usage

python beatDetector.py

Automatically listens to default audio input device.

OSC Signals

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.

Acknowledgments

Based on shunfu/python-beat-detector.

About

Real-time detection of beats from audio, sending out OSC signals for sound-to-light control 🎵💡

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages