Skip to content

PLNech/LEAPMidi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEAPMidi

A LEAPMotion -> MIDI Instrument controller

LeapMIDI is a Javascript WebApp that reads your LeapMotion sensor data, transforms them into MIDi ControlChange messages, and sends them to your computer's Midi Through interface to control the instruments you connect to it.

In this proof-of-concept, LeapMidi is used to control ParVagues' track Du Miel's instruments and effects: the CC messages are sent to TidalCycles and SuperCollider to control the music.

Screenshot: TidalCycles track controlled by MIDI Messages sent from a JS webapp reading LeapMotion sensor data Example setup: Left a TidalCycles track, top right LeapMIDI tracking X/Y/Z positions of fingers, normalizing them as 0-127 CC values, and sending them via WebMIDI to SuperCollider via MidiThrough to control the track's instruments and effects. LeapMotion Visualizer bottom right debugs sensor data.

Usage

  1. Setup LeapMotion to send messages readable by the SDKs, in a place where it sees your hands
  2. Connect your Midi instrument to the MIDI Through port
  3. open index.html in your WebMidi-enabled browser
  4. Run TidalCycles with ParVagues' Du Miel track or adapt the code to map to another use-case
  5. ???
  6. Profit!

Demo

See demo on YouTube

In this demo, the left hand controls effects (left thumb -> global filter, left index -> bass distortion, etc) while the right hand controls individual instruments' volume.

Thanks