Excellent advice thank you. I am going to upgrade to the iPad version soon because Canvas looks so cool. For the moment I'm on the old Lemur.
Regarding the hexadecimal numbers. I have created a script under the project folder called 'ChordMaker'. Inside this script I have some global variables. One of them is below:
Code: Select all
decl keys = { 0x3D, 0x3E, 0x3F ...}
... Basically 12 chromatic notes from middle C. Now in another script that makes a call to midiout and passes one of the keys from the array (Execution set to manual), like so:
Code: Select all
midiout(0, {0x90, ChordMaker.keys[2], 0x7F});
The problem I'm having is nothing happens. If I hardcode the 0x3F it works fine. I can only assume I'm doing something wrong, or that the hex is being converted to a number and passing the number.
Unless ChordMaker has to return the keys for that to work. Lemur's scripting is very odd ha ha. It's like going from C to async JS
Any ideas?