noob question concerning midi send in m4l

bob123's icon

Hi,

I really tried finding the answer myself and on the forum but are new to Max and just don't get it.
I want to make a device in m4l that sends midi (generated by a LFO) to IAC. Ableton than receives the midi data from IAC and I can assign the midi to a parameter of another device within Ableton.
Before Max I used envelopes in simple midi clips in a midi track to send midi to IAC. Now I want to find a better solution that lets me use LFOs also.
As a test I managed to play a synth in Ableton through Max with the midi generated by a phasor~. Can't get it to work with control data though.
The midi channel also should be ok. If I'm sending midi from a simple midi clip in Ableton to IAC I can receive it in Ableton again (and also in Max). If I try the same with M4L it doesn't work.
Every help appreciated!!
Christoph

tep's icon

Hi Christoph

From one channel to another, send and receive do work, so do OSC messages
http://cnmat.berkeley.edu/downloads

otherwise,
Leigh Hunt made these objects to "get rid" of midi limitations in M4L :
https://cycling74.com/forums/lets-get-some-unrestricted-midi-in-and-out-of-m4l-devices

bob123's icon

Hi,

thanks, that was quick! I downloaded the objects from Leigh Hunt and put them in the m4l-externals folder where all the other extensions are. I already did this with other extensions and it worked. But max doesn't recognize the objects if I try to use them. Restarting everything didn't help. Something else I have to do first?
Thanks again!

tep's icon

You have to put it in the cycling74 folder externals folder instead of M4L's, or you can specify any folder you want in MaxMSP in Options/File Preferences. Then Max will see it.

bob123's icon

Thanks!!

bob123's icon

OK, it's working now! Thanks helping!

t3mpuser's icon

If your goal is to use Max/MSP to modulate parameters in Live you might consider just using the API rather than MIDI. You can see an example here: http://www.maxforlive.com/library/device.php?id=66

bob123's icon

Thanks, I just downloaded it! No idea about how to use the API but maybe I can copy paste some stuff in there and hook it up to what I already have.