GithubHelp home page GithubHelp logo

leonyuhanov / abletontoosc Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 0.0 98 KB

Getting OSC data form Ableton Live to an ESP8266 to use as a control/sequencing mechanism

License: MIT License

C++ 100.00%

abletontoosc's Introduction

AbletonToOSC

Grab MIDI Data from any instrument from Ableton Live and send that data via OSC to an ESP8266 to use as a control/sequencing mechanism

The Max module is based on the "OSC MIDI Send" module fomr the Ableton Connection Kit https://github.com/Ableton/m4l-connection-kit

Packet form Ableton "/N10,iii0000000<000d000255" Drop the module into any device in Ableton: Insert the Module

In the modules fields, change the host port and instrument id to:

Host: The IP address of your ESP8266

Port: 2000

Instrument ID: your choice, assign each module a different instument ID

Upload the code to your ESP and make sure its on the same network as the machine running Ableton Live

All MIDI data on that instrument will now be routed to the ESP

What the Module transmits fomr Ableton

Each time a MIDI message is made within an instrument, the module will create a packet that looks like this

  "/N10,iii0000000100000001"

The following is a breakdown of the above example:

Byte 0:7 - OSC Note Command with 3 x Integer identifiers "/N10,iii"

Byte 8:11 - Value of the MIDI Device(always 0) "0000"

Byte 12:15 - Value of the Note playd "0001"

Byte 16:19 - Value of the Velocity (100 is Note ON / 0 is note OFF) "0000"

Byte 20:23 - The manualy set Device ID(TO identify what device sent this midi signal) "0001"

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.