au:print-params

(au:print-params au scope)


Description:

prints any parameters associated with au to the log view


Arguments:

             au -- audiounit whos parameters we want to print to the log

          scope -- the scope whos parameters we want to print (i.e. *au:output-scope* *au:global-scope* *au:input-scope* *au:group-scope*)


Returns: boolean


Related: au:set-param au:get-param au:midi-out 


Examples:

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

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

(au:update-graph)


; print all global parameters for dls (note that tuning is id 0)

(au:print-params dls *au:global-scope*)


; get the current tuning for the dls

(define tuning (au:get-param dls 0 *au:global-scope* 0))

; raise the dls tuning parameter by 300 cents 

(au:set-param (now) dls 0 *au:global-scope* 0 (+ tuning 300))



Back to index