Forums > MaxMSP

js question – setTimeout

September 7, 2006 | 10:55 am


September 11, 2006 | 3:20 pm

On 7 sept. 06, at 12:55, David Roden wrote:

> Just a quick js question. I’m trying to implement a sequencer in js in
> max. An essential component of the program is the setTimeout method,
> which will be used to send out note info according to stored
> deltatimes.
>
> However, before I take this much further it would be good to know
> whether this method will work when I use js in MAX.

Are you sure setTimeout is part of the Core JavaScript? I don’t think
so…
But Max’ JS implementation proposes the Task class, with methods like
"schedule" which may help you (I never tried them before).

BTW, there is a Max list dedicated to JS stuff…

p
_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://users.skynet.be/crfmw/max


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