OSC to MIDI

12 views
Skip to first unread message

Jeff Hopkins

unread,
Apr 6, 2020, 4:21:44 PM4/6/20
to mididings
Hey guys,

I'm using a Raspberry Pi to run a headless synth, but I want to control some CC values via OSC from an iPad through mididings.

I successfully installed mididings and pyliblo, but I'm having difficulty figuring out how to handle OSC messages etc.

What I've done:
  • I can run 'dump_osc 3333' and get a stream of osc fader messages etc
    • This proves that the system is receiving data from the ipad.
  • I can run a sample script in mididings that transposes a MIDI stream
    • This proves my internal MIDI routing via Jack from my controller to synth, with mididings playing man in the middle
What I want to do
  • Create a script that will take OSC fader messages and output them to CC channels
Any assistance would be greatly appreciated.

Jeff Hopkins

Jeff Hopkins

unread,
Apr 6, 2020, 9:01:31 PM4/6/20
to mididings
Hey guys... ended up figuring out how to do it, using osc2mid and aj2midid

STEFETS - https://github.com/stefets/live-config/

unread,
Apr 6, 2020, 10:45:23 PM4/6/20
to mididings
Hi Jeff, 

Thanks for sharing your solution! 

I want to accomplish the same task, it's in my TODO. There is no way to do that task with Mididings without an OS to MIDI layer. Your approch is correct. But you solution is tight coupled with Jack backend.

On my side, I work with ALSA.

I will try this solution : https://github.com/SpotlightKid/osc2rtmidi because I will have only one interface to do the job. Chris have goood stuff.

It's an uni-directional OSC to MIDI gateway. It open a virtual ALSA MIDI ouput port and listen for OSC messages on UDP port 5555 by default.

I will connect this Virtual Output port with Mididings

Stephane
Reply all
Reply to author
Forward
0 new messages