tutorials for integrating max 4 live and midi controllers?

Michael Hopkins's icon

Could anyone point me in the direction of tutorials or existing devices i can look at that specifically deal with processing input from midi controllers and sending midi information to control LED feedback on that or other controllers?

I would like to build a device that lets me detect double tap or long hold gestures from an incoming midi controller, and then can map the results of those detections to other parameters on the same track in live, as well as send midi information out to a controller for LED feedback. I would like this device to be entirely contained in a max for live audio effect so it can be used for mapping on audio or midi tracks. Basically the device would be a button that i can midi map to a controller, and then separate outs for when double tap or long hold are detected (toggle out high or low) that can be mapped to a device parameter on the same track. But i would also like to select multiple midi messages to send out to my controller to give LED feedback depending on if the output of the tap or hold detection is hi or low. One of my controllers only needs note on messages for to get different LED feedback, but another needs to be able to send specific cc#s, with specific values, to specific midi channels to access different colors or animations.

I've been able to find this thread: https://cycling74.com/forums/how-to-make-a-double-tapclick-button-for-monome which covers doing the tap or hold detection using thresh.

there are tons of tutorials and devices that handle mapping and controlling parameters in live.

What i can't figure out is how to send midi information out to a controller from inside an audio effect. I don't seem to have access to midi ports from there.

Do i need to buy a full max 8 license to be able to access those ports?

It looks like one work around is to have multiple max for live midi effects on different midi tracks that receive information from my max for live audio effect, but i'd really rather not have to do that if possible.

Another workaround i considered is setting up midi clips on different tracks that contain the needed messages for LED feedback, and then launching them from the audio effect.

but, yeah, i'd really like to have the whole thing contained in a single max audio effect.

help!

Michael Hopkins's icon

Ok ok, so i managed to build my most simple case using one audio and one midi effect with send & receive objects. It just observes the parameter of a looper device's state and gives different color led on my controller for record/overdub/play. That only required midi notes on one port and channel. One of my other controllers I want to use requires midi messages on different channels to address different elements.

But because Live's midi tracks only use a single port and channel, I need another midi effect for each port and channel I want to send midi out for my LED feedback?

I guess i'm just going to start my free trial of max and see if it works from one device that way.

Marc Assenmacher's icon

Hello, did you have any success?

I am having the same problem as you and I am looking into different alternatives right now.

I really don't want to make several tracks with different devices just to send some midi data to a controller...