Page 1 of 1
Query for an object's MIDI mapping?
Posted: 30 Dec 2011 07:50
by armatronix
Is it possible to get an object's MIDI mapping (or custom MIDI) settings from within a script? This would be very handy for something I'm working on.
Re: Query for an object's MIDI mapping?
Posted: 30 Dec 2011 19:04
by mbncp
Afaik, no. As soon as you need some special stuff, I think it's better to handle the MIDI I/O yourself. It's a bit more work, but with the help of getobject(), getfirst(obj), genext(obj) you can then easely duplicate objects and use some global script to set them up or do changes in real-time.
Dealing with MIDI yourself is probably a little less efficient on the CPU side as the app needs to interpret the scripts, but so far I haven't really found any limitations and tend to use more and more scripting instead of the standard implementation, far more flexible, easier to re-use and seeing what's going on, even after a few months (just guessing).
Re: Query for an object's MIDI mapping?
Posted: 31 Dec 2011 04:29
by armatronix
OK thanks, I think I see how this can work now.