au:set-bypass

(au:set-bypass time au bool)


Description:

Turns on or off bypassing of au


Arguments:

           bool -- #t bypasses the au #f unbypasses the au

             au -- the au to bypass or unbypass

           time -- time in samples to schedule this event


Returns: boolean


Related: au:bypassed? 


Examples:

(define dls (au:make-node "aumu" "dls " "appl"))

(define rev (au:make-node "aufx" "mrev" "appl"))

(au:connect-node rev 0 *au:output-node* 0)

(au:connect-node dls 0 rev 0)

(au:update-graph)


(print (au:get-bypass rev))

(play-note (now) dls 60 20 1000000)

(au:set-bypass (now) rev #t)



Back to index