js question – setTimeout

Sep 7, 2006 at 10:55am

js question – setTimeout

Sep 11, 2006 at 3:20pm

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
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…

Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl



You must be logged in to reply to this topic.