MIDI to from M4L to specific Live tracks

Learn about building and using Max for Live devices.
Post Reply
Gabe
Posts: 27
Joined: Sun Mar 09, 2003 11:48 am

MIDI to from M4L to specific Live tracks

Post by Gabe » Sun Mar 22, 2015 7:01 am

If I have an M4L patch on one channel, how can I send different MIDI data to different Live tracks/instruments? If, for example, the Max patch is generating a bass line and some chords, how can I get that to different Live instruments?

Some VST's can create a "virtual midi port" that can then show as an available midi input to other tracks. Can this be done in M4L?

oddstep
Posts: 1732
Joined: Tue Feb 12, 2008 9:47 pm
Location: Plymouth the great

Re: MIDI to from M4L to specific Live tracks

Post by oddstep » Sun Mar 22, 2015 9:52 am

All max msp objects in an live set share a namespace... so you can use send and receive objects to pipe midi around.

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: MIDI to from M4L to specific Live tracks

Post by clydesdale » Sun Mar 22, 2015 3:55 pm

A very simple example that sends midi from one patch to another (jpeg images):

https://drive.google.com/file/d/0BzptcH ... sp=sharing

https://drive.google.com/file/d/0BzptcH ... sp=sharing
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

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

Re: MIDI to from M4L to specific Live tracks

Post by broc » Sun Mar 22, 2015 4:56 pm

But keep in mind that extra routings via send/receive are not included in Live's plugin delay compensation (PDC).
So depending on your actual configuration you may get inaccurate timing, in particular for critical data like midi notes.

Gabe
Posts: 27
Joined: Sun Mar 09, 2003 11:48 am

Re: MIDI to from M4L to specific Live tracks

Post by Gabe » Sat Apr 11, 2015 7:08 am

Thanks Clydesdale for the simple illustrative example. That's close to what I'm after, but midi still isn't actually coming into the track. Therefore, I can't record a clip from the incoming midi. I'm wanting to use one channel as a master midi input that can define when & how midi is sent to other channels, to be handled as normal.

Thanks for the PDC heads up as well.

clydesdale
Posts: 350
Joined: Mon Sep 09, 2013 3:28 am

Re: MIDI to from M4L to specific Live tracks

Post by clydesdale » Mon Apr 20, 2015 2:45 am

I see your problem. The sample I showed you actually injects the MIDI into the device chain so it technically occurs after the clip slot. The track with the MIDI sender should be able to function normally so it would record MIDI when armed. Setting the "MIDI From" routing value might work for you too.
LIVE 9.1.7 x64, PUSH w/PXT, APC40, KEYSTATION PRO88, Radium61
Win8.1 Pro, 4820k(4.5GHz)/32GB/840ProSSD/RME Babyface

Post Reply