I'm getting the object like this a = this.patcher.getnamed("amp_env_function");
Then sending the message like this
a.message("sustain 3 0");
I'm also sending a list of x+y coordinates, correctly formatted with commas, as far as I know.
I get this message - "function: doesn't understand "sustain 3 0""
Now if I do a bit of symbol fiddling in the Max environment I can get it to update the function object with the right values, but why can't I do this directly from JS?