ESP8266 based OSC <-> MIDI WiFi bridge
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hardware
.gitignore
1.jpg
2.jpg
3.jpg
OSC2Midi.ino
README.md
esp8266-osc-to-midi.png
example.touchosc

README.md

OSC2Midi

ESP8266 based OSC <-> Midi wireless bridge.

It is mostly meant to be used with TouchOSC but it will work with any OSC message source.

Library dependencies

Project uses:

Hardware

Based on a generic ESP8266-12f board and the following guides to hook up ESP8266 and do MIDI i/o:

Midi I/O uses SoftwareSerial mostly to allow debug logging via primary serial port.

Schematic

Note! Do checkout the KiCad project instead. Image below is for quick preview only.

ESP8266 OSC to MIDI

Flashing firmware

To flash the firmware I'm using FTDI cable with flash+reset circuit.

Hardware ideas / roadmap / TODO

  • Find a reasonable enclosure and adapt layout to it.
  • MCP73833 based battery charging circuit + microusb input for power.
  • Maaaaybe i2c screen.

OSC message formats

All messages are expected to have payload of 1 or 2 floats with range from 0 to 127.

/midi/cc/{cc} + 1 float

Will send control change message for {cc} number.

/midi/cc/{ccA}/{ccB}/.../{index} + 1 float

Will send control change message for CC specified by {index}. For example:

  • /midi/cc/10/12/15/1 -> CC to 10
  • /midi/cc/10/12/15/3 -> CC to 15

This is meant to be used with TouchOSC groups of faders. For example, my MicroKORG preset includes a fader group of 4 to control amp ADSR: /midi/cc/73/75/70/72

/midi/cc/{ccA}/{ccB} + 2 floats

This sends two control change messages to {ccA} and {ccB}. This is meant to be used with TouchOSC XY pads.

Current prototype

Rather crude build, but it works:

ESP8266 OSC to MIDI

ESP8266 OSC to MIDI

ESP8266 OSC to MIDI