ok i think the problem is that your FF cmn object is not a note so you are specifying a dynamic "outside" of a note context. so maybe it should be someting like this

(define (tester)
  (process while (< (now) 30)
           for note = (+ 60 (random 20))
           for amp = (random 1.0)
           for chan = 0
           for rhy = (pick .25 .75)
           if (< .8 amp)
           output (new cmn :time (now) :note note
                       :staff chan :data '(ff)
                       :duration rhy)
           else
           output (new midi :time (now) :keynum note
                       :duration rhy :amplitude amp
                       :channel chan)

           wait rhy))


its been several years since ive looked at this code -- i wonder now why the CMN object coudlnt simply have an :amplitude value so you wouldnt need midi notes at all.


_______________________________________________
Cmdist mailing list
[email protected]
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to