How to set value of parameter of a live object (live.tab for example), in C?
I want to set values of the following parameters we can see in the maxpat:
saved_attribute_attributes" : { "valueof" : {
"parameter_shortname" : "live.tab[1]",
"parameter_invisible" : 0,
"parameter_modmax" : 127.0,
"parameter_annotation_name" : "",
"parameter_longname" : "live.tab[5]",
"parameter_modmin" : 0.0,
"parameter_linknames" : 0,
"parameter_modmode" : 0,
...
I want to change their value from a C function. First, I create te live.tab object (works fine), then I want to set these attributes, but I'm not able to do it.
Which function from SDK should I use?
Thanks for help
You shouldn' t change those dynamically. Live needs to know the state of them in order to display automation/presets properly.
Hi,
I don't want to change them, I want to create a live.tab object from my own external, in C. I want to create the patch containing such objects from a C program. I'm doing it, except that I don't know how to handle saved_attribute_attributes, so the created object miss all the parameters inside this.
Chris
Sorry, this isn't supported at the moment, for your own protection. You shouldn't be changing these parameters dynamically, as EJ said, as you will cause very bad stuff to happen in Live. Can you give me a good argument why you would even need to display them?
Jeremy