OSC controller with Max

k2msmith's icon

Hello,
Would like some suggestions for a starting point.
I have an external program I've written which uses OSC (Open Sound Control). I would like to use this program to control aspects of Live which could include starting/stoping clips and sequencing sounds, but also perhaps using the program to control midi input for an instrument (almost like an external keyboard) or controlling parameters of a particular instrument.

As a start, I have been learning Max for Live and seems like a great environment for this and I have been able to get udpsend/receive objects in Max to read/send messages from/to my program.

What I am not sure about is where to go next. It seems like Max allows me to build instruments or effects that sit in the chain (midi or audio), but does it allow me to process OSC commands in the same way that you would use liveControl or a plug-in like that to receive input from an external device such as a tablet or control surface ?

Wetterberg's icon

you can do all the things you mentioned with MaxForLive, yeah. What I'd do is pipe OSC into a mfl device, and generate the midi notes there, then feed those to a second track. That'll keep things contained within the set.

the control of Live can be done with the m4l.* objects - seek out the LOM (Live Object Model) and have a poke about.