midi from Processing to MaxMsp to Ableton Live

Nov 19, 2010 at 10:41pm

midi from Processing to MaxMsp to Ableton Live


I want to use MaxMsp to be an “intermediate” (i’m french) between Processing and Live.

Processing send midi signal and i want to use this midi information in Live.
I think i can take midiin (in max) from Processing.
And midiout too Live …

“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "midiout",
"id" : "obj-2",
"fontname" : "Arial Bold",
"patching_rect" : [ 286.0, 131.0, 47.0, 18.0 ],
“numinlets” : 1,
“numoutlets” : 0,
“fontsize” : 10.0

, {
“box” : {
“maxclass” : “newobj”,
“text” : “midiin”,
“outlettype” : [ "int" ],
“id” : “obj-1″,
“fontname” : “Arial Bold”,
“patching_rect” : [ 281.0, 77.0, 40.0, 18.0 ],
“numinlets” : 1,
“numoutlets” : 1,
“fontsize” : 10.0

“lines” : [ {
"patchline" : {
"source" : [ "obj-1", 0 ],
“destination” : [ "obj-2", 0 ],
“hidden” : 0,
“midpoints” : [ ]


I’m not easy in Max so… i’m in the fog, if someone have an idea.

thank you,


Nov 20, 2010 at 12:40pm

Of course you can have midi routing like this

Processing –> MaxMSP –> Live

You just need some virtual midi cables (ports) for the connections.
Details depend on the platform. Mac or PC?

Nov 20, 2010 at 11:28pm

I’m on Mac.

In processing I see : Max Midi port 1 and 2
I see the same in Live.

But i can’t make a patch in Max Msp…

You have an idea ?

Nov 21, 2010 at 12:11am

Why not grab Max for Live instead?

If you want to process midi which is eventually to be used in Live then I’d think that Max for Live would be much more suited for the job.

Nov 21, 2010 at 10:02am

– Why not grab Max for Live instead ?
– Can i take the midi signal from Processing in this case ?
– If yes, what is in the patch ????

I want JUST, a patch, who take the midi in Max and out to Live.
I supposed that a simple patch midiin -> midiout is ok… but it don’t works.

Have you an idée to do this patch ?

thank you,


Nov 21, 2010 at 11:28am

I’d suggest consulting the Max documentation to learn how midi ports can be assigned to the objects midiin/midiout in your Max patch. If that doesn’t work ask back.

The data flow (on Mac) would be like this

Processing — port “to MaxMSP 1″–> Max — port “from MaxMSP 1″ –> Live

Nov 21, 2010 at 11:44am

broc, if i’m on this forum, it’s beceause i don’t see any answer anywhere.
Have you see the patch on the top of this topic ?
What do you think about it ?

Nov 21, 2010 at 11:50am

Quote from the midiin reference page:

“Double-clicking on a midiin object shows a pop-up menu for choosing a MIDI port or device.”

The same works for midiout.

Nov 21, 2010 at 1:02pm

so, my patch, is OK for you ?

Nov 21, 2010 at 1:55pm

The patch is OK as ‘midi thru’ patch for common midi data like notes and controllers.

But it doesn’t work for system real time messages like eg. midi clock.
For this you’d need using [rtin] instead of [midiin].

Nov 21, 2010 at 2:18pm

I want ONLY midi thru.

All Controller are created in Processing, and i want to use it in Live, but i don’t know how ‘connect’ processing directly to live. So, i want to use MaxMsp to connect Processing and Live.

But it don’t work !

I walk to the solution… and i think i can find it, but apparently not to day :)

Nov 21, 2010 at 3:05pm

You can connect Processing directly to Live using the IAC bus built into OS X.
It must be activated in the utility ‘Audio MIDI Setup’.


You must be logged in to reply to this topic.