quickbrownf0x
I had fun once. It was awful.
Guys, help me out here please;
I figured I'd have another go at my custom Lemur UI. Totally forgot that it's a pain in the *ss to script and debug.
Can anybody tell me how to access the INSTRUMENT_BANK (tree) object variables (like 'notes', or 'version') and functions/expressions? As in;
decl some_id = {0, 1);
decl oInstrumentBank = findobject('INSTRUMENT_BANK');
decl currentInstrument = getexpression(oInstrumentBank, 'getInstrument(' + some_id + ')';
// getInstrument(id) searches the bank based on 2 variables; 'selected_track_id' and 'selected_track_channel_id' and returns the
right object with all its data
// Everything is nicely rendered, labeled, put in focus. Drinks and high fives all around.
A while back I thought I had it, but I can't get the stupid thing to work now. 4 hours down the toilet, so far, and none the wiser.
Thanks and cheers!
I figured I'd have another go at my custom Lemur UI. Totally forgot that it's a pain in the *ss to script and debug.
Can anybody tell me how to access the INSTRUMENT_BANK (tree) object variables (like 'notes', or 'version') and functions/expressions? As in;
decl some_id = {0, 1);
decl oInstrumentBank = findobject('INSTRUMENT_BANK');
decl currentInstrument = getexpression(oInstrumentBank, 'getInstrument(' + some_id + ')';
// getInstrument(id) searches the bank based on 2 variables; 'selected_track_id' and 'selected_track_channel_id' and returns the
right object with all its data
// Everything is nicely rendered, labeled, put in focus. Drinks and high fives all around.
A while back I thought I had it, but I can't get the stupid thing to work now. 4 hours down the toilet, so far, and none the wiser.
Thanks and cheers!