Mathias Gatti
  • home
  • archives
  • about
  • reviews

Music controlled by gestures

Use your webcam to identify gestures and trigger any script. Code and instructions taken from here.

How it works?

Using this website you can identify 6 basic gestures and receive their MIDI code into your computer. midi_example.py is a simple script that receives the messages and prints them. You can replace the print statement for anything else you want.

For more details about the website development check this repository.

Requirements

  • Python 3
  • Some python modules (Try something like pip install -r requirements.txt)

Usage

  1. Run the script.

python midi_example.py

  1. Go to the website and modify the selection bar in order to choose the midi output (Instead of None).

Support my work

If you want to help me to keep going developing and maintaining open-source projects you can contribute buying me some ko-fi.