[CM] How to fix: no such class MIDIMSG
Emre Sevinc
emres at bilgi.edu.tr
Tue Nov 15 20:34:43 PST 2005
-----Original Message-----
From: Rick Taube [mailto:taube at uiuc.edu]
Sent: Tue 11/15/2005 12:39 PM
To: Emre Sevinc
Cc: cmdist at ccrma.Stanford.EDU
Subject: Re: [CM] How to fix: no such class MIDIMSG
>Yes the class name has changed since the book, now CM provides true
>classes for midi messages
>
>http:/commonmusic.sf.net/doc/dict/midi-topic.html
>
>i think this is what you want:
>
> (define (clearbends)
> (process for c below 16
> output (new midi-pitch-bend :time (now) :bend 0 :channel
>c)))
Thank you very much for the information.
Thanks to andersvi at extern.uio.no, too for explanation
of scaler->cents details.
>see also
>http://commonmusic.sourceforge.net/doc/dict/midi-pitch-bend-cls.html
On Nov 14, 2005, at 5:14 PM, Emre Sevinc wrote:
> Hi all,
>
> I'm studying Ch. 15 of the book Notes from the Metalevel
> and after successfuly listening to harmonic series
> I was stuck at Ex. 2, clearbends:
>
> (define (clearbends)
> (process for c below 16
> output (new midimsg
> :time (now)
> :msg (make-pitch-bend c 0))))
>
> ; in: DEFINE (CLEARBENDS)
> ; (CM:NEW CM::MIDIMSG :TIME (CM:NOW) :MSG (CM::MAKE-PITCH-BEND
> CM::C 0))
> ;
> ; caught ERROR:
> ; (in macroexpansion of (NEW MIDIMSG :TIME ...))
> ; (hint: For more precise location, try *BREAK-ON-SIGNALS*.)
> ; There is no class named MIDIMSG.
>
> What does that mean? Is midimsg a deprecated class? Is there
> some similar class with a different name?
>
> I'll be glad if somebody can help me.
>
> Happy musical hacking,
> Emre S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20051116/cdc4da16/attachment.html>
More information about the Cmdist
mailing list