GithubHelp home page GithubHelp logo

iteratix / sound-to-light-osc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scheb/sound-to-light-osc

0.0 0.0 0.0 2.55 MB

Real-time detection of beats from audio, sending out OSC signals for sound-to-light control ๐ŸŽต๐Ÿ’ก

Python 100.00%

sound-to-light-osc's Introduction

sound-to-light-osc

Real-time detection of beats with Python from an audio input device (typically "Stereo Mix"). Outputs OSC signals, to be used for sound-to-light control.

It keeps track of the music "intensity" (calm, normal, intense) to switch lighting programs.

I use QLC+ for DMX control.

Video

Required modules

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

Usage

python beatDetector.py

OSC Signals

OSC signals are sent to localhost:7701, can be changed in beatDetector.py.

  • /beat is sent for every beat detected.
  • /bar is sent every to change the lighting scene.
  • /prog1 - /prog8 is sent to change lighting programs (available have to be configured in beatDetector.py)

Acknowledgments

Based on shunfu/python-beat-detector.

Version History

1.0

  • Beat detection
  • Automatic beat generation based on BPM
  • Pause and new song detection

1.1

  • Improved max volume calibration
  • Improved pause detection
  • Intensity detection
  • Automatic lighting program switch

Support Me

I love to hear from people using my work, it's giving me the motivation to keep working on it.

If you want to let me know you're finding it useful, please consider giving it a star โญ on GitHub.

If you love my work and want to say thank you, you can help me out for a beer ๐Ÿป๏ธ via PayPal.

sound-to-light-osc's People

Contributors

nicooow avatar scheb avatar shunfu avatar susnux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.