Max For Live / Midi Output to Controller

Marc Assenmacher's icon

Hello,

i am working on an M4L Audio Effect. The effect is supposed to trigger LEDs on different midi controllers though note values on several channels.

Examples:

  • If situation X eccurs , send Midi Note 3 Value 17 Channel 3 globally to all midi devices.

  • If situation Y eccurs , send Midi Note 3 Value 17 Channel 6 globally to all midi devices.

  • ...


The solution I know about is:

  1. Make one M4L Midi Effect device for every midi channel that data needs to be sent from.

  2. Make all M4L devices communicate with each other.

  3. Put them inside of several Ableton tracks.

  4. Use the "MIDI To" Function and choose controller and channel.


Problem with this solution:

  • If I want to send data to 5 controllers on 5 different channels I need to make 25 devices in 25 tracks. This is not practical at all and seems like a very dirty solution.



From what I read though this forum, this seems to be the only possible solution since there are Max for Live Limitations. Still I can't believe that a very easy task like this (in Max) has just one so bulked solution to it (in Max for Live).


Any help/articles/information is appreciated!

------------------------------------------------------------------------
Apple M1 Max / maxOS Monterey 12.6.5
Ableton Live 11.3.4
Max 8.5.4 (Full Version)

Source Audio's icon

1- try imp.midi external to send midi directy
2- send OSC to max standalone app to route midi out
or even make little arduino based serial to midi converter

etc
i that live really so terrible when it comes to midi ?

Marc Assenmacher's icon

Hello and thanks for you fast reply.

  1. imp.midi > could not load due to incorrect architecture. Sadly this seems to be out of date.

  2. Seems like a better solution, but still requires lot of effort and other applications for just a simple task.

I just found this artilce. There it states:

MIDI Channel Routings: you can now route MIDI to and from Max for Live audio effects (just like with VST devices). Instruments can also accept MIDI from anywhere within Live. So now you could analyse incoming audio and send the data to your controller, use MIDI notes from any track in Live as a sidechain input for audio processing, and much more.

This seems to be it. I am working myself though the mentioned devices and help articles now.

broc's icon

I think the new features are useful for internal routings but not helpful to overcome the basic limitation of Live, namely that each track can have MIDI output only on one port and one channel.

Source Audio's icon

wrong architecture can only be if you use silicon mac

imp.midi is kind of going to be updated :

https://github.com/pixsper/pxspr.midi


but as other projects like lxmax also seem to take looong time to move forward,
you should consider OSC messages route

Marc Assenmacher's icon

I ended up using the MIDI Channel Routings and switch between controllers and Channels within one device. Of course this just works with certains delays and not in real time, but it suites my needs right now.