[CM] newbie question (sorry)

Aykut Caglayan aykut_caglayan at yahoo.com
Fri Feb 19 09:19:50 PST 2016


Hi there, 

> (define one (new midi :time 0 
>        :keynum 60 :duration 2))
I assume you are trying to define a function which sends a midi note out.If this is the case, 
first define it as follows:
(define (one ) (send "mp:midi" :time 0 :key 60 :dur 1)
;and fire ;
(one )
Sincerely,Ike
PS: I tested it on Grace 3.8, I doubt it if it works with older cm-emacs environment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20160219/8f519878/attachment.html>


More information about the Cmdist mailing list