sys:remove-block

(sys:remove-block integer)


Description:

Remove any active blocks.  An integer marker can be set on any scheduled event an a block can be placed or removed on that integer marker at any time.  this allows marked events to be blocked.  all events are marked 0 unless otherwise specified.


Arguments:

        integer -- integer marker


Returns: boolean


Examples:

; block all 100 events

(sys:set-block 100)

(play-note (cons (now) 100) inst 60 80 44100)

; unblock all 100 events

(sys:remove-block 100)

(play-note (cons (now) 100) inst 72 80 44100)



Back to index