Routing midi events to chains by midi channel

Learn about building and using Max for Live devices.
Post Reply
DuggletonLive
Posts: 44
Joined: Fri Oct 25, 2013 6:57 am

Routing midi events to chains by midi channel

Post by DuggletonLive » Fri Jun 02, 2017 3:15 am

I'm hoping to be able to route midi events (in real time) to different chains in a rack based on their midi channel.
I'm working on a Max4Live patch that modifies the midi channel of certain events.

I fear that Live doesn't process midi channel information in real time like other DAWs :(
It seems that once the track input sees it's Midi From channel that information is stripped. Generating new channel information in a Max4Live midi effect is ignored by the rack/instrument. :evil:

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

Re: Routing midi events to chains by midi channel

Post by chapelier fou » Sat Jun 03, 2017 5:30 am

I'm not sure but i think that max transforms every midi to channel 1
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

TomKern
Posts: 358
Joined: Mon Dec 05, 2016 7:08 pm

Re: Routing midi events to chains by midi channel

Post by TomKern » Thu Jun 08, 2017 12:45 pm

I don't know much about M4L, but I think you can work around that limitation in Live proper.

1.) Make as many new MIDI tracks as you have MIDI channels you want to send MIDI on.
2.) Set MIDI-From in each one of them such that they receive the MIDI only from one those MIDI channels.

3.) Set the MIDI-To of each one of those tracks to the track that your Instrument Rack is on
4.) Choose in the MIDI-To sub routing menu of each of those tracks the precise chain you want to route that MIDI channel to.

done 8)

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Routing midi events to chains by midi channel

Post by broc » Thu Jun 08, 2017 2:28 pm

TomKern wrote: ...
2.) Set MIDI-From in each one of them such that they receive the MIDI only from one those MIDI channels.
...
But this step would work only for _external_ MIDI input.
(I think the OP wants to process MIDI from other tracks.)

Generally M4L allows flexible MIDI routing across tracks via send/receive or OSC.
However, it may introduce some latency.

TomKern
Posts: 358
Joined: Mon Dec 05, 2016 7:08 pm

Re: Routing midi events to chains by midi channel

Post by TomKern » Thu Jun 08, 2017 3:12 pm

broc wrote:
TomKern wrote: ...
2.) Set MIDI-From in each one of them such that they receive the MIDI only from one those MIDI channels.
...
But this step would work only for _external_ MIDI input.
(I think the OP wants to process MIDI from other tracks.)
True, the OP wasn't clear about the source of the MIDI.
But if it's coming from within Live and there from many different tracks and not all from the same, he could still route it similarly.

Anyways, just trying to help.

Post Reply