Patcher Type
I'm working out MIDI functionality in my M4L devices (I understand basic MIDI routing in M4L. So, no need to start from the beginning). *HOWEVER, I want to add MIDI capabilities to a preexisting 'Max Audio Device.'
It is my understanding that I can only route MIDI into a device IF that device is either a 'Max MIDI Effect' OR a 'Max Instrument.'
*What I want to know is: am I stuck copying and pasting patches into blank 'MIDI effect' of 'instrument' patchers -OR- is there a way to change this default functionality of device from within the patching environment?
Word.
Hey natecraypo,
I've done some investigation and I think the clue may be in the patcher source code. You can have a look at this by opening up any M4L patch in a text editor.
A new 'Max Instrument' starts with the text:ampf iiiimeta ptchá
A new 'Max MIDI Effect':ampf mmmmmeta ptchè
A new 'Max Audio Effect':ampf aaaameta ptchÝ
So it may just be a case of substituting this first line to get the desired patch type. I'm going to do some experimenting of my own.
Ok, the letter at the end isn't always constant - if I mess with it, the patch won't open in Live.
However, simply substituting the 4 letters iiii, mmmm and aaaa seems to work, though I haven't tested thoroughly. Give that a go and see if you hit any problems.
Oh yeah, probably safest to do this while the patch isn't open in Live!
interesting. i will play around with that soon-ish. thanks!