maybe this way:
(define (thump knum at)
;;make two percussive events below knum)
(list (mp:midi :time at
:key (- knum 18)
:dur .05 :amp .5)
(mp:midi :time at
:key (- knum 23)
:dur .05 :amp .4)))
best
Am 03.03.2016 um 17:57 schrieb Rob Howiler:
> Hi
> I am trying to make something work, but I am using old syntax I am sure.
> Below is what I am trying to do. Can anyone help me with the proper syntax?
> Thanks
> Rob
>
> (define (thump knum at)
> ;;make two percussive events below knum)
> (list (new midi :time at
> :key (- knum 18)
> :dur .05 :amp .5)
> (new midi :time at
> :key (- knum 23)
> :dur .05 :amp .4)))
>
> I’m getting an “unbound variable” error message for “new"
>
>
> ------------------------------------------------------
> Dr. Rob Howiler
> Academic Computing Services Coordinator
> Assistant Professor of Music
> [email protected]
> (864) 833-8324
> ------------------------------------------------------
>
>
> --
>
> ------------------------------
> <http://www.presby.edu>
>
> _______________________________________________
> Cmdist mailing list
> [email protected]
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
Johannes Quint
www.johannes-quint.de
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist