[CM] cm cvs, portmidi + supercollider?

Rick Taube taube@uiuc.edu
Fri, 16 Dec 2005 21:47:47 -0600


oops better to check for real note ons:

(define (sc-harmonize mm ms)
   ms
   (when (and (note-on-p mm)
              (> (note-on-velocity mm) 0))
     (loop for i in (pick '(0 3 7) '(0 4 7) )
        do
        (output (new simple :time 0 :dur .1
                     :freq (hertz (+ (note-on-key mm) i)))
                :to *sc*))))