Giter Site home page Giter Site logo

leapmidi's Introduction

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

leapmidi's People

Contributors

plnech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.