Forums > Max For Live

JS Error: LiveApi is not defined

Mar 04 2014 | 9:20 am


I am trying to learn something on programming Max4Live in Javascript. First step would be, according to the docs ( myvar = new LiveApi();

This gives me an error:

js: FSM-Looper.js: Javascript ReferenceError: LiveApi is not defined, line 12

Is there anything I forgot to include/set up/place in path? The call above is inside a function, init, which I call after receiving a bang from the left outlet of a live.thisdevice object, as suggested in the docs.

I work on Live 9.1.1 and Max 6.1.3 on OS X.

Anyone ever experienced such a problem? Has anyone a working example to this most basic API task?

Thanks for your time, regards,


Mar 04 2014 | 10:19 am

try LiveAPI – it is case sensitive…

Mar 04 2014 | 3:53 pm

Ouch. Facepalm. For not copypasting. Thanks…

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Max For Live