Forums > Max For Live

How to call the "replace_selected_notes" sequence using JS


W
February 23, 2010 | 4:54 am

Does anybody know how to call the Clip class attribute "get_selected_notes" sequence using Javascript?

I am attempting to call it this way:

clipApi.call("replace_selected_notes");
clipApi.call("notes", 1);
clipApi.call("note 60 0.0 0.5 100 0");
clipApi.call("done");

I get 2 errors

Clip class has no attribute "note 60 0.0 0.5 100 0" and "wrong Clip Count"

Any body have any idea of the proper way to do this using JS?


Viewing 1 post (of 1 total)