Then you would use the MIDI Message from your Keyboard
Macros are dynamic, you write them once and they work in all sets
sefable wrote: ↑Tue Oct 15, 2019 6:19 pmif I add a 13 bank I have to update it manually everywhere. Right now in javascript I have the number of banks and a simple loop creates the banks dynamically. This is because this device will be used for different projects with different parameter banks. I could actually use javascipt and LOM to create session clips, but I would also then need to script the configuration file for ClyphX.
Its a matter of copying and pasting bank 12 and changing 8 numbers to 13
You can query the Bound parameters via MaxforLive also
You've already spent more money in time trying a solution that probably won't end up working, the Macros and everything else I've described works across projects at the Control Surface Level which is a high priority thread as opposed to Max4Lives low priority thread.
From the Live Object Model
Functions
clear_all_envelopes
Removes all automation in the clip.
clear_envelope
Parameter:
device_parameter [id]
Removes the automation of the clip for the given parameter.
No worries!
Cheers
D