Query for an object's MIDI mapping?

Discuss Lemur and share techniques.
Post Reply
armatronix
Newbie
Posts: 18
Joined: 08 Dec 2011 02:00

Query for an object's MIDI mapping?

Post 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.
mbncp
Regular
Posts: 87
Joined: 08 Dec 2011 07:25

Re: Query for an object's MIDI mapping?

Post 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).
armatronix
Newbie
Posts: 18
Joined: 08 Dec 2011 02:00

Re: Query for an object's MIDI mapping?

Post by armatronix »

OK thanks, I think I see how this can work now.
Post Reply