live api javascript, call function from liveApi javascript

adonfadonf's icon

var api = new LiveAPI(sample_callback, "live_set tracks 0");
var args;

function sample_callback(args)
{post("callback called with arguments:", args, "\n");
call api (function(stop_all_clips()));
}

this script doesn't stop clip, why ? do you have information for manipulating lom function with javascript ?

adonfadonf's icon

it's a fantom ! :)

helped by support :

the good sentence is api.call("stop_all_clips")

all function are correct with live api and the lom, let initialize.
add ,x) f or function option.

adonfadonf's icon

sample_callback continue to return undefined, sometimes, update or die or this way is broken ?
he doesn't init always..

Jdudeo's icon

I believe it's:

api.call("stop_all_clips");

adonfadonf's icon

this path is found by liveapi.
i wrote this and parse_float isn't really float.

adonfadonf's icon

some paths able 100%

adonfadonf's icon