helper:print-mixer   scheme


Defined in:  https://github.com/lambdamusic/extempore-extensions/blob/main/init/init_mixer.xtm

Implementation

;
; helper:print-mixer
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; helper 
;; pretty print Ableton LIVE mixer channel val
; <status>: 'changed' => stronger color  
; <status>: default => regular print  
(define helper:print-mixer
    (lambda (ch val status)
        (if (equal? status 'changed)
            (print-with-colors 'cyan 'default #f 
                (println 'MIXER ch '=> val))
            ;; else: monitor value only
            (println 'MIXER ch '== val)
        )
    ))


Back to Index

Similar Entries