Monitor APC40 mkII input in a M4L device
Hello all!
I want to monitor inputs from the APC40 in a M4L device when it's used in Control Surface mode (not as a standard MIDI controller). I've found some devices which work, but am stumped as to *how* they work internally, and they are more complicated than I need. I'm well-versed in Max but not M4L, particularly the Live Object Model, which I'm assuming is what is needed as pure MIDI objects report nothing.
So, what's the most basic way to get (say) one of the knobs on the APC40 connected to a live.dial in a M4L device? Which Live objects are needed to connect to the device and capture the data? The connections/handshaking/etc that seems to be going on "behind the scenes" is proving to be too mysterious...
Once midi device gets reserved as midi remote control in Live,
it's midi communication is not available to anything else than for assigned
controls, as set in midi remote scripts for the device.
I think only option woud be to grab parameter controlled by remote controller
and capture it's value, then reuse for different destination, much too complicated
also because input range might be different then scaled parameter value.
I am not using Live, but I guess if one records automation, then not source
gets recorded, but parameter itself, or ?
If you are Mac user, you could use Max standalone to grab
APC 40 midi parallel to Live and use what you need, then
if that is what you want send data out to Live in midi
or maybe OSC form.
What you could do, is download and study APC 40 communication protocol specs,
disable it as Live control, and use it as plain midi.
also check this
https://github.com/gluon
You can find there all remote scripts used in different Live versions in editable form.
there's also the "grab mid" function in the MaxForLive control surface. It's kinda complex to set up, but you can register arbitrary midi controls and then grab midi directly from those. I pieced something like that together some time ago using these links and the "maxforlive control surface" entry in Max reference.
https://cycling74.com/forums/control-surface-%22maxforlive%22
https://www.youtube.com/watch?v=NFKfph2nv4k - more videos linked in description
https://cycling74.com/forums/using-m4l-for-interactions-with-midi-controllers-like-launchpadapc40
Thanks! I got grab_midi working, it's nice to have that as a secondary/additional option for reading the controls. Still a little confusing how everything is put together, like what overrides what, how things work between tracks and duplicate devices etc., but it's a great start. Appreciate the help!