M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Learn about building and using Max for Live devices.
Post Reply
vlad_gur
Posts: 1
Joined: Thu Mar 07, 2024 4:37 pm

M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Post by vlad_gur » Thu Mar 07, 2024 4:44 pm

Hi everyone! I'm trying to write simple M4L device with few MIDI CC's which i can control and automate. The problem is that i want to route these CC's onto different MIDI-channels at once. Is that possible? Who can give me a piece of code? :D :D :D Thanks a lot and have a nice day! :)

doubleUG
Posts: 250
Joined: Sun Apr 24, 2011 7:19 am

Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Post by doubleUG » Thu Mar 07, 2024 6:55 pm

thats not possible, in Live all is merged to midi channel 1.
copy the text, open Live > drag in empty M4L device > open Max editor > paste > save M4L device
https://docs.cycling74.com/max8/vignett ... ng_patches

https://doubleUG.bandcamp.com/releases

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Post by chapelier fou » Thu Mar 07, 2024 7:08 pm

Even with MPE we can’t address midi to specific channels. It’s a shame.
Please send feature requests.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Post by chapelier fou » Thu Mar 07, 2024 7:10 pm

That said there is a workaround, which is to use the M4L control surface. It’s a pain to use and somehow proves it’s a weird limitation.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

MichaelAbletonForum
Posts: 45
Joined: Sat Nov 20, 2021 7:53 pm

Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Post by MichaelAbletonForum » Fri Mar 15, 2024 1:11 pm

Yes, think that an feature request since decades. Like VST3 program Change / Parameteres etc.

If you want to do that you need a workaroud like:

dedicated device on separate track and a master

and send the data from the master to the devices via

send / receive (timing not the best!)
mapping a control
via 14Bit CCs (msb for channel)

christianlukegates
Posts: 2
Joined: Tue Mar 26, 2024 10:44 am

Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Post by christianlukegates » Tue Mar 26, 2024 10:48 am

Look into udpsend/udpreceive. I've written a few M4L sequencing patches that all operate on the basis of having everything in one patch controlling different stuff across 2 or 3 midi tracks, utilising a fairly straightforward udpsend/receive system. Not sure if that's maybe what you're looking for..?

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Post by chapelier fou » Tue Mar 26, 2024 11:14 am

christianlukegates wrote:
Tue Mar 26, 2024 10:48 am
Look into udpsend/udpreceive. I've written a few M4L sequencing patches that all operate on the basis of having everything in one patch controlling different stuff across 2 or 3 midi tracks, utilising a fairly straightforward udpsend/receive system. Not sure if that's maybe what you're looking for..?
In my experience, any kind of send/receive will add an unpredictable latency, which is sometimes critical.
The best trick I've found is to use a CC before each note as a flag to specify the voice number. It works well as the CCs are treated "before" notes in Max, and as it's only MIDI it stays in the high priority thread of Live.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

christianlukegates
Posts: 2
Joined: Tue Mar 26, 2024 10:44 am

Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously

Post by christianlukegates » Tue Mar 26, 2024 1:22 pm

idk, my patches are all types of sequencer that hinge on super tight timing and while I had that same concern prior to building them, in use they are solid. Most of the patches are written largely in RNBO tho so that may have some bearing on timing, event scheduling or whatever

Post Reply