midi-device that can send a mappable signal when receiving note on and offs
Hey everybody,
I've been dabbling with other people's m4l devices for a couple of years, but so far haven't tried making my own. I've been building stuff in Drambo on iOS and would like to make the jump to m4l. As a first tiny project, I'd like to build a device that can send a signal to a mappable control when receiving a note on. I'd like to have a button like eg the live LFO for the mapping. I figured out, that I can get the note on from the midiparse object, but am lost about what to do next. Would love some beginner friendly advice. Thanks in advance.
I believe there’s a few abstractions in the max for live side bar for mapping you could check out. For the signal it’d just depend on what you wanted to do, it could be a noise~ if you wanted randomness or get specific with a certain signal coming from wherever really. Check out the sah~ object, you’ll probably need that in the mix also. I took apart the stock lfo to learn how to do some of that type of stuff, if you do just make sure to save as haha.
Thanks for your reply. Some things to look into. When I wrote my first post, I thought the letter counter would be a limit, so I tried to make it short.
What I want to do is use a push style MPE-controller on my android tablet (midi poly grid) as a multi kaoss pad like thing controlling parameters in some plug-ins. That's a little like something I like to do in Drambo but with access to all the cool vsts I’ve got.
In Drambo the xy=pads have outputs for x= and y-position and a gate, that’s only on, while you touch the pad. X and y I can set to poly pressure and cc74 in midi poly grid and set it up, so no other pad triggers, if you slide out of the pad. That I can pick up with expression control in a couple of cells in a drum rack (Ned Rush did a great video on it when push 3 came out).
What’s still missing compared to my Drambo setup would be the gate and that’s what I’d like to build .
"send a signal to a mappable control" - what does that mean?
I would like to send a static value to a control, say the send level to a delay, so when I hit a note that level goes from minus infinity to whatever value I set. The stock LFO in Live has this button, that says map, and if you hit it and afterwards touch a (mappable) control the LFO will modulate that control.
I want a device, that sends out a value, that you can set, as long as a note is held. I'd like to determine where this value is sent with a button like the one on the stock LFO. I hope that's clearer?
If the app you’re using doesn’t send the gate information you could track if the value is changing and if it isn’t changing for x amount of time it could send a 0 value to the mapped parameter. If the app can be configured to send a value when it’s being touched you could use that value to set all to 0 instead. I think I had an app years ago where you could layer buttons or pads and send multiple ccs but I can’t remember what it was?
the stock LFO is actually a Max for Live device, you can open it by clicking on the edit button in the device title bar.
see also the snippets that come with Max for Live, especially the "Mapping.maxpat" (see screenshot below)

Great, thanks for all the answers. Tomorrow I'll look into it.