How to call the "replace_selected_notes" sequence using JS

Feb 23, 2010 at 4:54am

How to call the "replace_selected_notes" sequence using JS

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?

#48717

You must be logged in to reply to this topic.