M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
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? Thanks a lot and have a nice day!
Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
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
https://docs.cycling74.com/max8/vignett ... ng_patches
https://doubleUG.bandcamp.com/releases
-
- Posts: 6042
- Joined: Mon May 15, 2006 12:15 pm
Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
Even with MPE we can’t address midi to specific channels. It’s a shame.
Please send feature requests.
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
MacStudio M1Max 32Go OS 12.3.1
-
- Posts: 6042
- Joined: Mon May 15, 2006 12:15 pm
Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
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
MacStudio M1Max 32Go OS 12.3.1
-
- Posts: 45
- Joined: Sat Nov 20, 2021 7:53 pm
Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
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)
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)
-
- Posts: 2
- Joined: Tue Mar 26, 2024 10:44 am
Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
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..?
-
- Posts: 6042
- Joined: Mon May 15, 2006 12:15 pm
Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
In my experience, any kind of send/receive will add an unpredictable latency, which is sometimes critical.christianlukegates wrote: ↑Tue Mar 26, 2024 10:48 amLook 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..?
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
MacStudio M1Max 32Go OS 12.3.1
-
- Posts: 2
- Joined: Tue Mar 26, 2024 10:44 am
Re: M4L MIDI-device which outputs MIDI CC's to different MIDI-channels simultaneously
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