helper:print-tempo   scheme


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

Implementation

;
; helper:print-tempo
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; pretty print the current tempo
(define helper:print-tempo
    (lambda (val status)
        (if (equal? status 'changed)
            (print-with-colors 'cyan 'default #f 
                (println 'TEMPO '=> val))
            ;; else: monitor value only
            (println 'TEMPO '== val)
        )
    ))


Back to Index