Forums > MaxMSP

midi from Processing to MaxMsp to Ableton Live

November 19, 2010 | 10:41 pm

Hello,

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,

Moza


November 20, 2010 | 12:40 pm

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?


November 20, 2010 | 11:28 pm

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 ?


November 21, 2010 | 12:11 am

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.


November 21, 2010 | 10:02 am

ShelLuser
– 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,

moza


November 21, 2010 | 11:28 am

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


November 21, 2010 | 11:44 am

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 ?


November 21, 2010 | 11:50 am

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.


November 21, 2010 | 1:02 pm

so, my patch, is OK for you ?


November 21, 2010 | 1:55 pm

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].


November 21, 2010 | 2:18 pm

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 :)


November 21, 2010 | 3:05 pm

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’.


Viewing 12 posts - 1 through 12 (of 12 total)