Algosim documentation: sleep

sleep

Suspends execution for a specified amount of time.

Syntax

Description

sleep(t) suspends execution for t seconds. The computation can still be aborted during this pause.

Example

SetInstrument(0); for(i, 1, 127, (NoteOn(i, 100); sleep(0.1)))

See also