From bil at ccrma.Stanford.EDU Tue Nov 1 04:12:40 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 1 Nov 2005 04:12:40 -0800 Subject: [CM] Re: clicks using sndplay in OS X In-Reply-To: References: <20051030200002.22562.86998.Mailman@cm-mail.stanford.edu> Message-ID: <20051101120816.M42079@ccrma.Stanford.EDU> If I remember right, that was the buffer size that worked best for my previous mac. I had forgotten about the bufsize argument. From jiwon at stanford.edu Wed Nov 2 01:18:15 2005 From: jiwon at stanford.edu (Jiwon Seo) Date: Wed, 2 Nov 2005 01:18:15 -0800 Subject: [CM] Error while using clm Message-ID: While trying to use CLM, I got a strange error. Actually it's even before I use it. I loaded "all.lisp" and tried following, (compile-file "v.ins") (load "v") (with-sound () (fm-violin 0 1 440 .1)) but only got following. make-env: env at breakpoint 3: x axis value 0.000000 > -0.000000 debugger invoked on a SB-KERNEL::MEMORY-FAULT-ERROR in thread #: memory fault What went wrong? I'm using sbcl 0.9.5 on linux (ubuntu 5.10), if that can help. (I've already applied this patch - http://ccrma-mail.stanford.edu/pipermail/cmdist.mbox/cmdist.mbox ) -Jiwon From emres at bilgi.edu.tr Wed Nov 9 01:58:43 2005 From: emres at bilgi.edu.tr (Emre Sevinc) Date: Wed, 9 Nov 2005 11:58:43 +0200 Subject: [CM] How to fix: Can't schedule events in non-real time while RTS is running.? Message-ID: <9940BA60F8E6414F9F0307DD411BCF6906BF938A@Ex2k.bilgi.networks> Hi all, I keep on studying Notes from the Metalevel and I've just finished the chapter about Steve Reich's piano phasing composition. I was able to run the code successfuly, however after I have listened to it I wanted to play a very simple note and to my amazement I can't do it: (define one (new midi :time 0 :keynum 60 :duration 2)) (events one "myscore.mid") It says: Can't schedule events in non-real time while RTS is running. And then I tried the example that worked just a few sec. ago: CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid") Can't schedule events in non-real time while RTS is running. NIL CM> (events (pphase phasing-trope 1 1 .5) "reich.mid") Can't schedule events in non-real time while RTS is running. NIL I searched for RTS in the Common Music dictionary and I saw that there's a function rts-stop however running that function and trying to play something I received the very same error. I also checked rts? CM> (rts?) NIL How can I make Common Music start playing MIDI again? Is there a way to do that without exiting Emacs and restarting Common Music? BTW, my system details: $ uname -a Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 GNU/Linux $ sbcl --version SBCL 0.9.2 Happy hacking, Emre S. -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Wed Nov 9 06:08:08 2005 From: taube at uiuc.edu (Rick Taube) Date: Wed, 9 Nov 2005 08:08:08 -0600 Subject: [CM] How to fix: Can't schedule events in non-real time while RTS is running.? In-Reply-To: <9940BA60F8E6414F9F0307DD411BCF6906BF938A@Ex2k.bilgi.networks> References: <9940BA60F8E6414F9F0307DD411BCF6906BF938A@Ex2k.bilgi.networks> Message-ID: <4f26d565f866c8a64ecf11cb89f81a52@uiuc.edu> wierd. what is the value of *rts* On Nov 9, 2005, at 3:58 AM, Emre Sevinc wrote: > Hi all, > > I keep on studying Notes from the Metalevel and I've just > finished the chapter about Steve Reich's piano phasing composition. > > I was able to run the code successfuly, however after > I have listened to it I wanted to play a very simple note > and to my amazement I can't do it: > > (define one (new midi > ????????????? :time 0 > ????????????? :keynum 60 > ????????????? :duration 2)) > > (events one "myscore.mid") > > It says: Can't schedule events in non-real time while RTS is running. > > And then I tried the example that worked just a few sec. ago: > > CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid") > Can't schedule events in non-real time while RTS is running. > NIL > > CM> (events (pphase phasing-trope 1 1 .5) "reich.mid") > Can't schedule events in non-real time while RTS is running. > NIL > > I searched for RTS in the Common Music dictionary and I saw > that there's a function rts-stop however running that > function and trying to play something I received the very > same error. I also checked rts? > > CM> (rts?) > NIL > > How can I make Common Music start playing MIDI again? > Is there a way to do that without exiting Emacs and restarting > Common Music? > > BTW, my system details: > > $ uname -a > Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 > GNU/Linux > $ sbcl --version > SBCL 0.9.2 > > > Happy hacking, > Emre S. From emres at bilgi.edu.tr Wed Nov 9 07:41:34 2005 From: emres at bilgi.edu.tr (Emre Sevinc) Date: Wed, 9 Nov 2005 17:41:34 +0200 Subject: [CM] How to fix: Can't schedule events in non-real time while RTS is running.? References: <9940BA60F8E6414F9F0307DD411BCF6906BF938A@Ex2k.bilgi.networks> <4f26d565f866c8a64ecf11cb89f81a52@uiuc.edu> Message-ID: <9940BA60F8E6414F9F0307DD411BCF6906BF938B@Ex2k.bilgi.networks> -----Original Message----- From: Rick Taube [mailto:taube at uiuc.edu] Sent: Wed 11/9/2005 4:08 PM To: Emre Sevinc Cc: Common Music Mailing List Subject: Re: [CM] How to fix: Can't schedule events in non-real time while RTS is running.? >wierd. what is the value of *rts* Hmm, you may say I'm going even weirder but *rts* doesn't seem to exist: ============================================================= CM> *rts* The variable *RTS* is unbound. [Condition of type UNBOUND-VARIABLE] Restarts: 0: [ABORT] Abort handling SLIME request. 1: [TERMINATE-THREAD] Terminate this thread (3064531872) Backtrace: 0: (SB-INT:EVAL-IN-LEXENV *RTS* #) ============================================================= I don't know how (and how much) I messed up the system all I did, after listenin' to interesting piano phase stuff, was try to output some midi note and now whenever I try to play something using events, I get that "Can't schedule events in non-real time while RTS is running." error. I'd be more than happy if I can solve it without exiting Emacs and Common Music and restarting them. I'm still searching for ways but couldn't get a result until now. On Nov 9, 2005, at 3:58 AM, Emre Sevinc wrote: >> Hi all, >> >> I keep on studying Notes from the Metalevel and I've just >> finished the chapter about Steve Reich's piano phasing composition. >> >> I was able to run the code successfuly, however after >> I have listened to it I wanted to play a very simple note >> and to my amazement I can't do it: >> >> (define one (new midi >> :time 0 >> :keynum 60 >> :duration 2)) >> >> (events one "myscore.mid") >> >> It says: Can't schedule events in non-real time while RTS is running. >> >> And then I tried the example that worked just a few sec. ago: >> >> CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid") >> Can't schedule events in non-real time while RTS is running. >> NIL >> >> CM> (events (pphase phasing-trope 1 1 .5) "reich.mid") >> Can't schedule events in non-real time while RTS is running. >> NIL >> >> I searched for RTS in the Common Music dictionary and I saw >> that there's a function rts-stop however running that >> function and trying to play something I received the very >> same error. I also checked rts? >> >> CM> (rts?) >> NIL >> >> How can I make Common Music start playing MIDI again? >> Is there a way to do that without exiting Emacs and restarting >> Common Music? >> >> BTW, my system details: >> >> $ uname -a >> Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 >> GNU/Linux >> $ sbcl --version >> SBCL 0.9.2 >> >> >> Happy hacking, >> Emre S. -------------- next part -------------- An HTML attachment was scrubbed... URL: From emres at bilgi.edu.tr Thu Nov 10 02:15:47 2005 From: emres at bilgi.edu.tr (Emre Sevinc) Date: Thu, 10 Nov 2005 12:15:47 +0200 Subject: [CM] How to fix: Can't schedule events in non-real time while RTS is running.? References: <9940BA60F8E6414F9F0307DD411BCF6906BF938A@Ex2k.bilgi.networks> <4f26d565f866c8a64ecf11cb89f81a52@uiuc.edu> Message-ID: <9940BA60F8E6414F9F0307DD411BCF6906BF9393@Ex2k.bilgi.networks> -----Original Message----- From: Rick Taube [mailto:taube at uiuc.edu] Sent: Wed 11/9/2005 4:08 PM To: Emre Sevinc Cc: Common Music Mailing List Subject: Re: [CM] How to fix: Can't schedule events in non-real time while RTS is running.? >wierd. what is the value of *rts* Now I think I'm able to reproduce the error. After I run the piano phase code successfuly I try that: CM> (events (new midi :time 1 :keynum 60 :duration 1 :amplitude 0.5 :channel 1)) Can't schedule events in non-real time while RTS is running. NIL Once I receive that error, nothing works then: CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid") Can't schedule events in non-real time while RTS is running. NIL If I don't run that (events (new midi .... then no problem occurs but it creates that RTS error which I can't get rid of. I still don't have the idea why that happens and how to fix it... Any tips, suggestions? Happy musical hacking, Emre Sevinc >On Nov 9, 2005, at 3:58 AM, Emre Sevinc wrote: > Hi all, > > I keep on studying Notes from the Metalevel and I've just > finished the chapter about Steve Reich's piano phasing composition. > > I was able to run the code successfuly, however after > I have listened to it I wanted to play a very simple note > and to my amazement I can't do it: > > (define one (new midi > :time 0 > :keynum 60 > :duration 2)) > > (events one "myscore.mid") > > It says: Can't schedule events in non-real time while RTS is running. > > And then I tried the example that worked just a few sec. ago: > > CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid") > Can't schedule events in non-real time while RTS is running. > NIL > > CM> (events (pphase phasing-trope 1 1 .5) "reich.mid") > Can't schedule events in non-real time while RTS is running. > NIL > > I searched for RTS in the Common Music dictionary and I saw > that there's a function rts-stop however running that > function and trying to play something I received the very > same error. I also checked rts? > > CM> (rts?) > NIL > > How can I make Common Music start playing MIDI again? > Is there a way to do that without exiting Emacs and restarting > Common Music? > > BTW, my system details: > > $ uname -a > Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 > GNU/Linux > $ sbcl --version > SBCL 0.9.2 > > > Happy hacking, > Emre S. -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Thu Nov 10 04:23:03 2005 From: taube at uiuc.edu (Rick Taube) Date: Thu, 10 Nov 2005 06:23:03 -0600 Subject: [CM] How to fix: Can't schedule events in non-real time while RTS is running.? In-Reply-To: <9940BA60F8E6414F9F0307DD411BCF6906BF9393@Ex2k.bilgi.networks> References: <9940BA60F8E6414F9F0307DD411BCF6906BF938A@Ex2k.bilgi.networks> <4f26d565f866c8a64ecf11cb89f81a52@uiuc.edu> <9940BA60F8E6414F9F0307DD411BCF6906BF9393@Ex2k.bilgi.networks> Message-ID: <7f4af4210e4f0fdeb7f85039d7091694@uiuc.edu> Ill look into it as soon as I have a moment, it will take until tomorrrow. in the meantime, look at the variable *scheduler* after you run events: it should be NIL. if it isnt then set it to nil and then events should run again. On Nov 10, 2005, at 4:15 AM, Emre Sevinc wrote: > -----Original Message----- > From: Rick Taube [mailto:taube at uiuc.edu] > Sent: Wed 11/9/2005 4:08 PM > To: Emre Sevinc > Cc: Common Music Mailing List > Subject: Re: [CM] How to fix: Can't schedule events in non-real time > while RTS is running.? > > >wierd. what is the value of *rts* > > > Now I think I'm able to reproduce the error. After I run > the piano phase code successfuly I try that: > > > CM> (events (new midi > ????????????? :time 1 > ????????????? :keynum 60 > ????????????? :duration 1 > ????????????? :amplitude 0.5 > ????????????? :channel 1)) > Can't schedule events in non-real time while RTS is running. > NIL > > > Once I receive that error, nothing works then: > > > CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid") > Can't schedule events in non-real time while RTS is running. > NIL > > If I don't run that (events (new midi .... > then no problem occurs but it creates that RTS error > which I can't get rid of. > > I still don't have the idea why that happens and > how to fix it... > > Any tips, suggestions? > > > Happy musical hacking, > Emre Sevinc > > > >On Nov 9, 2005, at 3:58 AM, Emre Sevinc wrote: > > > Hi all, > > > >? I keep on studying Notes from the Metalevel and I've just > >? finished the chapter about Steve Reich's piano phasing composition. > > > >? I was able to run the code successfuly, however after > >? I have listened to it I wanted to play a very simple note > >? and to my amazement I can't do it: > > > >? (define one (new midi > >??????????????? :time 0 > >??????????????? :keynum 60 > >??????????????? :duration 2)) > > > >? (events one "myscore.mid") > > > >? It says: Can't schedule events in non-real time while RTS is > running. > > > >? And then I tried the example that worked just a few sec. ago: > > > >? CM> (events (piano2 phasing-trope 1 1 .5 4) "reich.mid") > >? Can't schedule events in non-real time while RTS is running. > >? NIL > > > >? CM> (events (pphase phasing-trope 1 1 .5) "reich.mid") > >? Can't schedule events in non-real time while RTS is running. > >? NIL > > > >? I searched for RTS in the Common Music dictionary and I saw > >? that there's a function rts-stop however running that > >? function and trying to play something I received the very > >? same error. I also checked rts? > > > >? CM> (rts?) > >? NIL > > > >? How can I make Common Music start playing MIDI again? > >? Is there a way to do that without exiting Emacs and restarting > >? Common Music? > > > >? BTW, my system details: > > > >? $ uname -a > >? Linux debian 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 > > GNU/Linux > >? $ sbcl --version > >? SBCL 0.9.2 > > > > > >? Happy hacking, > >? Emre S. > > > From bil at ccrma.Stanford.EDU Fri Nov 11 06:48:41 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 11 Nov 2005 06:48:41 -0800 Subject: [CM] Snd dlp directory heads-up Message-ID: <20051111144602.M51394@ccrma.Stanford.EDU> I have moved the dlp directory contents into the main directory and merged its README into README.Snd. So any reference to dlp/* should remove the "dlp/". This is mainly to simplify load-path settings, and remove one source of merging confusion on my part. Unfortunately, sourceforge seems to be unhappy this morning, so the CVS files are in an inconsistent state. From taube at uiuc.edu Sun Nov 13 12:01:22 2005 From: taube at uiuc.edu (Rick Taube) Date: Sun, 13 Nov 2005 14:01:22 -0600 Subject: [CM] cm cvs Message-ID: <6e889970317245509afe57d134486a86@uiuc.edu> just a warning that cvs may be a bit unstable for about a week as i try to simplify CM's build process. hopefully the new design will make it easier for beginners as well as for the maintainers :) my plan is to: 1. replace the horrible hack loading in make.lisp with generic loading based on the ASDF system definition facility (http://www.cliki.net/asdf) 2. Convert the FFIs in CM to CFFI (http://common-lisp.net/project/cffi/) 3. move support for Midishare, Portmidi, Plotter, CLM etc. into separate "breakout packages" that can then be installed individually via a simple USE-SYSTEM function (which is itself ASDF based), ie: (use-system :cm :directory "/Lisp/cm/") (use-system :clm) (use-system :portmidi) You will still be able to load by loading cm.lisp. cm.sh will be unaffected. in the long run i think standardizing to ASDF and CFFI will make cm a much more transparent system. any concerns or suggestions welcome. btw as of about a week ago, you can load cm into Snd with 100% CLM source compatability, and cm.sh now allows you to start up under Snd: cm.sh -l snd whats more, if you build a snd without GUI support then you can start up with cm under emacs: cm.sh -l snd -e Emacs really! From emres at bilgi.edu.tr Mon Nov 14 15:14:14 2005 From: emres at bilgi.edu.tr (Emre Sevinc) Date: Tue, 15 Nov 2005 01:14:14 +0200 Subject: [CM] How to fix: no such class MIDIMSG Message-ID: <9940BA60F8E6414F9F0307DD411BCF6906BF93A1@Ex2k.bilgi.networks> 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: From emres at bilgi.edu.tr Mon Nov 14 15:16:18 2005 From: emres at bilgi.edu.tr (Emre Sevinc) Date: Tue, 15 Nov 2005 01:16:18 +0200 Subject: [CM] Why multiple-value from scaler->cents? Message-ID: <9940BA60F8E6414F9F0307DD411BCF6906BF93A2@Ex2k.bilgi.networks> Hi, I run scaler->cents function but it returns more than one value: CM> (scaler->cents 3/2) 702 -0.045043945 CM> (scaler->cents 5/4) 386 0.3136902 CM> (scaler->cents 6/5) 316 -0.3587036 I'be browsed the CM dictionary but couldn't find an explanation. Can somebody explain the meaning of the second value to me? Happy hacking, Emre -------------- next part -------------- An HTML attachment was scrubbed... URL: From andersvi at extern.uio.no Tue Nov 15 00:18:24 2005 From: andersvi at extern.uio.no (andersvi at extern.uio.no) Date: Tue, 15 Nov 2005 09:18:24 +0100 Subject: [CM] How to fix: no such class MIDIMSG In-Reply-To: <9940BA60F8E6414F9F0307DD411BCF6906BF93A1@Ex2k.bilgi.networks> (Emre Sevinc's message of "Tue, 15 Nov 2005 01:14:14 +0200") References: <9940BA60F8E6414F9F0307DD411BCF6906BF93A1@Ex2k.bilgi.networks> Message-ID: According to CM's change-log, the midimsg was replaced by several specialized messages-classes some time ago. Try replacing with (new midi-pitch-bend :channel c :bend 0) Youll find the changes in cm/doc/changelog.text. o New highlevel MIDI event classes replace the MIDIMSG class for generating events to MIDI files MidiShare streams 1. Channel Messages classes: midi midi-note-on midi-note-off midi-key-pressure midi-control-change midi-program-change midi-channel-pressure midi-pitch-bend 2. System Messages classes: midi-system-event 3. MIDI File Meta Message classes: midi-sequence-number midi-text-event midi-eot midi-tempo-change midi-smpte-offset midi-time-signature midi-key-signature midi-sequence-event >>> "ES" == Emre Sevinc writes: ES> ES> Hi all, ES> I'm studying Ch. 15 of the book Notes from the Metalevel ES> and after successfuly listening to harmonic series ES> I was stuck at Ex. 2, clearbends: ES> (define (clearbends) ES> ? (process for c below 16 ES> ?????????? output (new midimsg ES> ??????????????????? :time (now) ES> ??????????????????? :msg (make-pitch-bend c 0)))) ES> ; in: DEFINE (CLEARBENDS) ES> ;???? (CM:NEW CM::MIDIMSG :TIME (CM:NOW) :MSG (CM::MAKE-PITCH-BEND CM::C 0)) ES> ; ES> ; caught ERROR: ES> ;?? (in macroexpansion of (NEW MIDIMSG :TIME ...)) ES> ;?? (hint: For more precise location, try *BREAK-ON-SIGNALS*.) ES> ;?? There is no class named MIDIMSG. ES> What does that mean? Is midimsg a deprecated class? Is there ES> some similar class with a different name? ES> I'll be glad if somebody can help me. ES> Happy musical hacking, ES> Emre S. ES> -- William Congreve: Music has charms to soothe the savage beast, to soften rocks or bend a knotted oak. From andersvi at extern.uio.no Tue Nov 15 00:24:34 2005 From: andersvi at extern.uio.no (andersvi at extern.uio.no) Date: Tue, 15 Nov 2005 09:24:34 +0100 Subject: [CM] Why multiple-value from scaler->cents? In-Reply-To: <9940BA60F8E6414F9F0307DD411BCF6906BF93A2@Ex2k.bilgi.networks> (Emre Sevinc's message of "Tue, 15 Nov 2005 01:16:18 +0200") References: <9940BA60F8E6414F9F0307DD411BCF6906BF93A2@Ex2k.bilgi.networks> Message-ID: The values coming out from scaler->cents are rounded to nearest integer, and the second value is just whats left. Happy hacking! >>> "ES" == Emre Sevinc writes: ES> ES> Hi, ES> I run scaler->cents function but it returns ES> more than one value: CM> (scaler->cents 3/2) ES> 702 ES> -0.045043945 CM> (scaler->cents 5/4) ES> 386 ES> 0.3136902 CM> (scaler->cents 6/5) ES> 316 ES> -0.3587036 ES> I'be browsed the CM dictionary but couldn't find ES> an explanation. ES> Can somebody explain the meaning of the second ES> value to me? ES> Happy hacking, ES> Emre ES> From taube at uiuc.edu Tue Nov 15 02:39:48 2005 From: taube at uiuc.edu (Rick Taube) Date: Tue, 15 Nov 2005 04:39:48 -0600 Subject: [CM] How to fix: no such class MIDIMSG In-Reply-To: <9940BA60F8E6414F9F0307DD411BCF6906BF93A1@Ex2k.bilgi.networks> References: <9940BA60F8E6414F9F0307DD411BCF6906BF93A1@Ex2k.bilgi.networks> Message-ID: 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))) 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. From emres at bilgi.edu.tr Tue Nov 15 20:34:43 2005 From: emres at bilgi.edu.tr (Emre Sevinc) Date: Wed, 16 Nov 2005 06:34:43 +0200 Subject: [CM] How to fix: no such class MIDIMSG References: <9940BA60F8E6414F9F0307DD411BCF6906BF93A1@Ex2k.bilgi.networks> Message-ID: <9940BA60F8E6414F9F0307DD411BCF6906BF93A7@Ex2k.bilgi.networks> -----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: From michael at klingbeil.com Fri Nov 18 01:47:53 2005 From: michael at klingbeil.com (Michael Klingbeil) Date: Fri, 18 Nov 2005 04:47:53 -0500 Subject: [CM] error in jcvoi.ins Message-ID: Who knows if anyone is using this instrument, but I just wanted to point out what I think is an error in the formant data table in CLMs jcvoi.ins The line: (setf (aref fnc 2 5 1 1) (flipxy '(175 16.5 262 24.5 392 32.7 523 49.0 784 65.41 1046 98 1568 130.8))) should probably read: (setf (aref fnc 2 5 1 1) (flipxy '( 33 16.5 33 24.5 33 32.7 49 49.0 65 65.41 98 98 131 130.8))) This specifies a breakpoint function for the center of the first formant for a male voice. On the 5th vowel the x values (fundamental frequency) appear to be for the male voice, but the y values (formant position) appear to be for the female voice. I'm not exactly sure what vowel table index 5 refers to and I haven't checked the data. It still sounds a bit strange for the male voice. Perhaps someone who knows the history of this instrument can comment. Regards, Michael From bil at ccrma.Stanford.EDU Fri Nov 18 05:36:12 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 18 Nov 2005 05:36:12 -0800 Subject: [CM] error in jcvoi.ins In-Reply-To: References: Message-ID: <20051118132741.M60372@ccrma.Stanford.EDU> Thanks for the bugfix! I can't find the original of that instrument anywhere. I did find a similar table of formant info, but none of it matches the 5th vowel -- perhaps it was "I2" in the original. From dlphillips at woh.rr.com Wed Nov 23 06:43:09 2005 From: dlphillips at woh.rr.com (Dave Phillips) Date: Wed, 23 Nov 2005 09:43:09 -0500 Subject: [CM] CVS cmio error Message-ID: <43847FFD.3070301@woh.rr.com> Greetings: Downloaded and built the latest CM from CVS. Build reported 15 warnings but no errors. When I tried to launch cmio I received this message: * (cmio) ; ; Warning: This function is undefined: ; CMIO Error in KERNEL:%COERCE-TO-FUNCTION: the function CMIO is undefined. [Condition of type UNDEFINED-FUNCTION] Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (KERNEL:%COERCE-TO-FUNCTION CMIO) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/fdefinition.lisp. 0] Hmm, looks like something's missing... Best, dp From taube at uiuc.edu Wed Nov 23 08:10:08 2005 From: taube at uiuc.edu (Rick Taube) Date: Wed, 23 Nov 2005 10:10:08 -0600 Subject: [CM] CVS cmio error In-Reply-To: <43847FFD.3070301@woh.rr.com> References: <43847FFD.3070301@woh.rr.com> Message-ID: <3d4a84d391b63379be41f96364fcfdfd@uiuc.edu> > Hmm, looks like something's missing... Yes, im trying to simplify building CM and im not quit done so cvs is a bit unstable. basically non-standard features have become "breakout packages" that are all loadable via an ASDF based function called USE-SYSTEM. so (use-system :portmidi) compile/loads portmidi support for example. also cm doesnt screw around anymore with anybody's package locks or redefining cltl reserved symbols so its a very modular and well behaved system now. its not done yet but the new documentation is ready: http://commonmusic.sf.net/doc/install.html http://commonmusic.sf.net/doc/dict/use-system-fn.html From andersvi at extern.uio.no Thu Nov 24 01:41:02 2005 From: andersvi at extern.uio.no (andersvi at extern.uio.no) Date: Thu, 24 Nov 2005 10:41:02 +0100 Subject: [CM] CM: midi bank-select Message-ID: Im trying to mould a bank-select message into a midi file with: (new midi-control-change :time 0 :channel 0 :controller +bank-select+ :value 128) but it doesnt seem to do it. > (midi-file-print "test.midi") prints: File: test.midi Format: 0 Tracks: 1 Division: 480 Track 0, length 175 0 # 0 # 0 # 48 # - so theres something output at least. Any clues? -anders From dlphillips at woh.rr.com Thu Nov 24 06:08:33 2005 From: dlphillips at woh.rr.com (Dave Phillips) Date: Thu, 24 Nov 2005 09:08:33 -0500 Subject: [CM] CVS cmio error In-Reply-To: <3d4a84d391b63379be41f96364fcfdfd@uiuc.edu> References: <43847FFD.3070301@woh.rr.com> <3d4a84d391b63379be41f96364fcfdfd@uiuc.edu> Message-ID: <4385C961.9080501@woh.rr.com> Rick Taube wrote: > ... im trying to simplify building CM and im not quit done so cvs is a > bit unstable. > basically non-standard features have become "breakout packages" that > are all loadable via an ASDF based function called USE-SYSTEM. so > (use-system :portmidi) compile/loads portmidi support for example. > also cm doesnt screw around anymore with anybody's package locks or > redefining cltl reserved symbols so its a very modular and well > behaved system now. > > its not done yet but the new documentation is ready: > http://commonmusic.sf.net/doc/install.html > http://commonmusic.sf.net/doc/dict/use-system-fn.html > Ouch, it looks like this old dog must now learn some new tricks. I admit that the previous method was simpler for me. Some questions: If I want everything loaded into CM (Fomus, PM, CMN, CLM, the works), do I need to issue a use-system for each one ? Also, what if I don't want to place all my Lisp components into one directory ? Will that adversely affect how I build/start/use CM ? Will I need to call use-system if I want to use the CMIO panel or can I still conveniently invoke the component programs from the panel ? Btw, happy holidays to Rick and all cmdist users and developers ! Best, dp From taube at uiuc.edu Thu Nov 24 09:27:44 2005 From: taube at uiuc.edu (Rick Taube) Date: Thu, 24 Nov 2005 11:27:44 -0600 Subject: [CM] CVS cmio error In-Reply-To: <4385C961.9080501@woh.rr.com> References: <43847FFD.3070301@woh.rr.com> <3d4a84d391b63379be41f96364fcfdfd@uiuc.edu> <4385C961.9080501@woh.rr.com> Message-ID: > Ouch, it looks like this old dog must now learn some new tricks. I > admit that the previous method was simpler for me. I hope it wont be harder! the goals were to make it easier to build (and to maintain) while also increasing functionality and portage. The main difference between the "old" and the "new" is that common lisp CM is now based on ASDF and CFFI, both of which are rapidly becoming "standard" ways to do things in CLTL. By switching to CFFI both Portmidi and Midishare APIs will now work in basicially every lisp: CLISP SBCL CMUCL OpenMCL Lispworks ACL, and should run on Windows as well. Just as importantly, I dont have to deal with FFI stuff anymore, and the Portmidi and Midshare packages can be loaded into Lisp without CM even around. The idea is to make the default CM a smallish "kernel" that works in every lisp and scheme and then to let people add whatever stuff they want to (assuming their lisp supports it) via a single functino call: (use-system ...) ASDF and CFFI also makes it easier to install non-trivial things: for example you dont have to downlaad and add "interface databases" to openmcl anymore, or install portmidi C libs etc. Both CLM and CMN also now have ASADF definitions so they can be loaded via use-system too. The use-system function works with ANY asdf based software, of which there score of already available, all of which you can work with simply by downlading their sources and doing (use-system :foo) asdf is much more powerful and scalable than the horrible hack code in make.lisp!! > Some questions: If I want everything loaded into CM (Fomus, PM, CMN, > CLM, the works), do I need to issue a use-system for each one ? yes BUT you do NOT need to do this every time you start CM. To automaticall load everything add the appropriate use-systems to either: cm.lisp (for "site-wide" configuration) .cminit.lisp (for personal configuration) If you add your use-system to your .cminit.lisp file then you will always get very latest versions of the software you use as part of starting up cm. > Also, what if I don't want to place all my Lisp components into one > directory ? Will that adversely affect how I build/start/use CM ? No, you can pass a :directory to use-system: (use-system :fomus :directory "/foo/bar/baz/") if you do not specify a directory, then use-system first looks on asdf:*central-registry* and if it cant find it, it searches under the parent directory of CM. > Will I need to call use-system if I want to use the CMIO panel or can > I still conveniently invoke the component programs from the panel ? It should work exactly the same, in fact thats were i got the intiall idea. its just that underneath the window it will now do (use-system ...) instead of the hack loading it does now. I have not converted Lambda-GTk and the GUI tools to the new loading yet. > Btw, happy holidays to Rick and all cmdist users and developers ! Gobble gobble! From taube at uiuc.edu Fri Nov 25 08:36:35 2005 From: taube at uiuc.edu (Rick Taube) Date: Fri, 25 Nov 2005 10:36:35 -0600 Subject: [CM] midishare and portmidi packages available Message-ID: <077d94ea1182b37dbdecb7259033952c@uiuc.edu> Ive basically finished the reorganization of cm sources except for testing and dealing with Windows. tarballs of the new 'breakout packages' for midishare and portmidi are now available on the install page: http://commonmusic.sf.net/doc/install.html#portmidi http://commonmusic.sf.net/doc/install.html#midishare just install them and then use use-system when you want to work with them, eg (use-system :portmidi) . the only incompatible change in functionality is that the portmidi function pm:getDeviceDescriptions has been renamed to pm:getDeviceInfo these packages should work in Allegro, CMUCL, CLISP, LispWorks, OpenMCL and SBCL. as a result of the reorganization a number of old source files have been moved/removed in the repository, if you want to start from scratch you can delete your current cm tree (rm -r cm) and then check out a new repository: cvs checkout -P cm From taube at uiuc.edu Fri Nov 25 13:09:46 2005 From: taube at uiuc.edu (Rick Taube) Date: Fri, 25 Nov 2005 15:09:46 -0600 Subject: [CM] CM: midi bank-select In-Reply-To: References: Message-ID: <70690bbb8ddd6a77076c79be5beeb3ff@uiuc.edu> hi anders - I think the ':value 128' is causing the problem: when you fit 128 into a 7-bit byte you get 0: ? (mod 128 (expt 2 7)) => 0 On Nov 24, 2005, at 3:41 AM, andersvi at extern.uio.no wrote: > (new midi-control-change :time 0 :channel 0 :controller +bank-select+ > :value 128) [...] > 0 # From dlphillips at woh.rr.com Sat Nov 26 07:36:35 2005 From: dlphillips at woh.rr.com (Dave Phillips) Date: Sat, 26 Nov 2005 10:36:35 -0500 Subject: [CM] CVS cmio error In-Reply-To: References: <43847FFD.3070301@woh.rr.com> <3d4a84d391b63379be41f96364fcfdfd@uiuc.edu> <4385C961.9080501@woh.rr.com> Message-ID: <43888103.7040506@woh.rr.com> Rick Taube wrote: >> Ouch, it looks like this old dog must now learn some new tricks. I >> admit that the previous method was simpler for me. > > > I hope it wont be harder! the goals were to make it easier to build > (and to maintain) while also increasing functionality and portage. Well, you're right, the new system is pretty cool and very simple to organize. I've unpacked the latest CLM, CMN, Fomus, Portmidi, MidiShare, and CFFI packages into /home/dlphilp/cm-systems. I added the use-system calls to ~/.cminit.lisp with the correct :directory paths and all appears good to go. I haven't tested any code yet, I'll try to get some tests done this week. Rick, thanks for the instructions, they were most helpful. Best, dp (a.k.a. Ye Olde Dog) From taube at uiuc.edu Sat Nov 26 07:51:26 2005 From: taube at uiuc.edu (Rick Taube) Date: Sat, 26 Nov 2005 09:51:26 -0600 Subject: use-system (was [CM] CVS cmio error) In-Reply-To: <43888103.7040506@woh.rr.com> References: <43847FFD.3070301@woh.rr.com> <3d4a84d391b63379be41f96364fcfdfd@uiuc.edu> <4385C961.9080501@woh.rr.com> <43888103.7040506@woh.rr.com> Message-ID: > Well, you're right, the new system is pretty cool and very simple to > organize. oh goodie. FYI i just tested on clisp/windows and -- to my utter amazement -- it also works there, too. i am even able to (use-system :portmidi) on windows, but am having problems when i actually try to use the portmidi dll. > I've unpacked the latest CLM, CMN, Fomus, Portmidi, MidiShare, and > CFFI packages into /home/dlphilp/cm-systems. I added the use-system > calls to ~/.cminit.lisp with the correct :directory paths and all > appears good to go. if your cm dir is also inside cm-systems then you wont need to specifiy :directory. > I haven't tested any code yet, I'll try to get some tests done this > week. thanks im sure there are issues lurking. From dlphillips at woh.rr.com Sun Nov 27 08:54:59 2005 From: dlphillips at woh.rr.com (Dave Phillips) Date: Sun, 27 Nov 2005 11:54:59 -0500 Subject: [CM] FOMUS load error in CVS CM Message-ID: <4389E4E3.5080206@woh.rr.com> Hi Rick: With CMUCL: ;;; Loading #P"/home/dlphilp/cm-systems/fomus/classes.x86f". Execution of a form compiled with errors: (DEFMETHOD OBJ-PARTID ((EV EVENT-BASE)) (EVENT-PARTID EV)) [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR] Restarts: 0: [CONTINUE] Return NIL from load of #P"/home/dlphilp/cm-systems/fomus/classes.x86f". 1: [RETRY ] Retry performing # on #. 2: [ACCEPT ] Continue, treating # on # as having been successful. 3: Return NIL from load of #P"home:.cminit.lisp". 4: Retry performing # on #. 5: Continue, treating # on # as having been successful. 6: Return NIL from load of "/home/dlphilp/cm/bin/../src/cm.lisp". 7: [ABORT ] Skip remaining initializations. Debug (type H for help) (C::DO-CALL # 35 36 144 ...) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/byte-interp.lisp. 0] ;;; Loading #P"/home/dlphilp/cm-systems/fomus/util.x86f". Execution of a form compiled with errors: (DEFMETHOD OBJ-PROPS ((OBJ PART)) (PART-PROPS OBJ)) [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR] Restarts: 0: [CONTINUE] Return NIL from load of #P"/home/dlphilp/cm-systems/fomus/util.x86f". 1: [RETRY ] Retry performing # on #. 2: [ACCEPT ] Continue, treating # on # as having been successful. 3: Return NIL from load of #P"home:.cminit.lisp". 4: Retry performing # on #. 5: Continue, treating # on # as having been successful. 6: Return NIL from load of "/home/dlphilp/cm/bin/../src/cm.lisp". 7: [ABORT ] Skip remaining initializations. Debug (type H for help) (C::DO-CALL # 96 97 144 ...) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/byte-interp.lisp. 0] By selecting 0 for these errors FOMUS finishes loading itself and the CM prompt appears. Again, I've run no tests yet, sorry about that. Too little time... :( Best, dp From gogins at pipeline.com Sun Nov 27 12:00:17 2005 From: gogins at pipeline.com (Michael Gogins) Date: Sun, 27 Nov 2005 15:00:17 -0500 (GMT-05:00) Subject: [CM] libpg.dll Message-ID: <21686859.1133121617661.JavaMail.root@mswamui-billy.atl.sa.earthlink.net> I reinstalled Common Music from CVS head and now get this Lisp error message on Windows XP with CLisp 2.35 now: This application has failed to start because libpq.dll was not found. Re-installing the application may fix this problem. What is libpq.dll exactly? Is this a new dependency for Common Music, or some library you need to remove from your link? Are there other new dependencies as well? Best regards, Mike Gogins From taube at uiuc.edu Sun Nov 27 12:14:38 2005 From: taube at uiuc.edu (Rick Taube) Date: Sun, 27 Nov 2005 14:14:38 -0600 Subject: [CM] libpg.dll In-Reply-To: <21686859.1133121617661.JavaMail.root@mswamui-billy.atl.sa.earthlink.net> References: <21686859.1133121617661.JavaMail.root@mswamui-billy.atl.sa.earthlink.net> Message-ID: <20b5ac572997a0abed97dc5ab207dde2@uiuc.edu> > This application has failed to start because libpq.dll was not found. > Re-installing the application may fix this problem. Hi I got this error as well and it has nothing to do with CM, you just need to use a differnt download from the clisp site. this one worked for me on xp: http://prdownloads.sourceforge.net/clisp/clisp-2.35-win32-no-pg.zip? download I would be grateful if someone would test Midishare for me on Clisp/XP or Lispworks/XP. I was able to do (use-system :midishare) , open a midi connection using (midishare-open) , get the time using (ms:now) and even send events. however, i couldnt actully hear any sound. I dont know enough about windows and midishare on windows to know what to do to figure out what is losing. msControl32.exe does make sound for me. Do test midishare, install the latest CM from CVS and the follow the install direections here: http://commonmusic.sf.net/doc/install.html#midishare Also can anybody build me a functioning PORTMIDI.DLL so I can test out Portmidi on XP/CLISP ?? I dont have a c compiler or knowhow to do this. I do have a dll but i thing someting might be wrong with it. A static PORTMIDI lib for windows might also work (dont know if cffi can handle this though) On Nov 27, 2005, at 2:00 PM, Michael Gogins wrote: > I reinstalled Common Music from CVS head and now get this Lisp error > message on Windows XP with CLisp 2.35 now: > > > What is libpq.dll exactly? > > Is this a new dependency for Common Music, or some library you need to > remove from your link? > > Are there other new dependencies as well? > > Best regards, > Mike Gogins > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sun Nov 27 12:57:18 2005 From: taube at uiuc.edu (Rick Taube) Date: Sun, 27 Nov 2005 14:57:18 -0600 Subject: [CM] libpg.dll In-Reply-To: <2546733.1133123775987.JavaMail.root@mswamui-billy.atl.sa.earthlink.net> References: <2546733.1133123775987.JavaMail.root@mswamui-billy.atl.sa.earthlink.net> Message-ID: > As you may know, Csound 5 is nearing some sort of release status. I > have a working CLisp FFI interface for the procedural Csound 5 API. if you supply an asdf loading script "csound5.asd" (or whatever) then lispers could load it using asdf and cm could do (use-system :csound5) :) > Obviously CFFI would be better, and an object-oriented interface > better yet. Do you know of any automated tools for producing such > interfaces? SWIG works for Guile, but I can't run or build Guile on my > PC for some reason. look at verazano, AKA "fetter": http://common-lisp.net/project/fetter/ its based in part on GCC-XML: http://www.gccxml.org/ which (presumably) you could transform to lisp expressions using S-XML or some other tool: http://common-lisp.net/project/s-xml/ i havent had the courage yet to actaully try any ogf this, but todd ingals has experience and perhaps can chime in... --rick > > Regards, > Mike > > ----- Original Message ----- > From: "Rick Taube" > To: "Michael Gogins" > Cc: > Sent: Sunday, November 27, 2005 3:14 PM > Subject: Re: [CM] libpg.dll > > >>> This application has failed to start because libpq.dll was not found. >>> Re-installing the application may fix this problem. >> >> Hi I got this error as well and it has nothing to do with CM, you just >> need to use a differnt download from the clisp site. this one worked >> for me on xp: >> >> http://prdownloads.sourceforge.net/clisp/clisp-2.35-win32-no-pg.zip? >> download >> >> >> I would be grateful if someone would test Midishare for me on Clisp/XP >> or Lispworks/XP. I was able to do (use-system :midishare) , open a >> midi connection using (midishare-open) , get the time using (ms:now) >> and even send events. however, i couldnt actully hear any sound. >> I dont know enough about windows and midishare on windows to know what >> to do to figure out what is losing. msControl32.exe does make sound >> for >> me. >> >> Do test midishare, install the latest CM from CVS and the follow the >> install direections here: >> http://commonmusic.sf.net/doc/install.html#midishare >> >> >> Also can anybody build me a functioning PORTMIDI.DLL so I can test out >> Portmidi on XP/CLISP ?? >> I dont have a c compiler or knowhow to do this. I do have a dll but i >> thing someting might be wrong with it. >> A static PORTMIDI lib for windows might also work (dont know if cffi >> can handle this though) >> >> >> >> >> >> On Nov 27, 2005, at 2:00 PM, Michael Gogins wrote: >> >>> I reinstalled Common Music from CVS head and now get this Lisp error >>> message on Windows XP with CLisp 2.35 now: >>> >>> >>> What is libpq.dll exactly? >>> >>> Is this a new dependency for Common Music, or some library you need >>> to >>> remove from your link? >>> >>> Are there other new dependencies as well? >>> >>> Best regards, >>> Mike Gogins >>> >>> >>> >>> >>> _______________________________________________ >>> Cmdist mailing list >>> Cmdist at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> > > From taube at uiuc.edu Sun Nov 27 13:39:09 2005 From: taube at uiuc.edu (Rick Taube) Date: Sun, 27 Nov 2005 15:39:09 -0600 Subject: [CM] FOMUS load error in CVS CM In-Reply-To: <4389E4E3.5080206@woh.rr.com> References: <4389E4E3.5080206@woh.rr.com> Message-ID: On Nov 27, 2005, at 10:54 AM, Dave Phillips wrote: > Hi Rick: > With CMUCL: > ;;; Loading #P"/home/dlphilp/cm-systems/fomus/classes.x86f". > Execution of a form compiled with errors: > (DEFMETHOD OBJ-PARTID ((EV EVENT-BASE)) > (EVENT-PARTID EV)) > [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR] i also get this in cmucl (and sbcl too) on osx, but not in openmcl. i must have somwthing to do with defstub somehow but its not obvious to me what is going wrong. this may take some time poking around... From c.mcclelland at qub.ac.uk Mon Nov 28 03:45:12 2005 From: c.mcclelland at qub.ac.uk (Christopher McClelland) Date: Mon, 28 Nov 2005 11:45:12 +0000 Subject: [CM] Jobs at SARC Message-ID: <2DB909D6-9814-4811-92B2-F3783A317B41@qub.ac.uk> FOUR positions attached to the Sonic Arts Research Centre, Queen's University, Belfast. Deadline 16th December 2005 Lecturer/Senior Lecturer in Music Technology School of Music and Sonic Arts Ref: 05/K519B http://www.qub.ac.uk/jobs/?vac_no=K519&function=view_job The aim of this position is to produce high-quality research and publications in music technology and to undertake undergraduate and postgraduate teaching in the area of research and other areas. Relevant fields of research expertise include human-computer-interaction, hardware development for musical and/or haptic applications, sensor and wireless technologies for creative and multimedia applications, image processing and visual technologies for creative applications. The postholder will be attached to the Sonic Arts Research Centre and must be able to demonstrate experience in interdisciplinary research. ------------------------------------------ Lecturer in Music Technology School of Music and Sonic Arts Ref: 05/K506B http://www.qub.ac.uk/jobs/?vac_no=K506&function=view_job The aim of this position is to undertake high-quality research in music technology and to deliver undergraduate and postgraduate teaching in the research area and elsewhere as appropriate. Relevant fields of research and expertise include physical modelling of musical instruments, digital signal processing for musical applications, hardware development for musical applications, acoustics, room modelling and wave field synthesis. The postholder will be attached to the Sonic Arts Research Centre and must be able to demonstrate experience in interdisciplinary research. ------------------------------------------ RCUK Academic Fellowship ? Creative Media School of Music and Sonic Arts Ref: 05/W405B http://www.qub.ac.uk/jobs/?vac_no=W405&function=view_job This is a 5 year personal Research Fellowship leading to a permanent Academic position. Although staff holding or promised permanent positions are not eligible to apply, applications are invited from researchers who are currently in receipt of research fellowships or grant funding. The Academic Fellow will be based at the Sonic Arts Research Centre (SARC) and will develop creatively-led projects in visual/video technologies which compliment the audio-based work already underway at SARC. ------------------------------------------ Research Assistant School of Music and Sonic Arts Ref: 05/W403B http://www.qub.ac.uk/jobs/?vac_no=W403&function=view_job Required to commence as soon as possible for 2 years, to assist in the pre-compositional development of musical materials and sytems in the preparation of large-scale works for tape, live electronics and instruments. ------------------------------------------ Christopher McClelland Sonic Arts Research Centre Queens Univeristy Belfast c.mcclelland at qub.ac.uk From bil at ccrma.Stanford.EDU Mon Nov 28 13:29:36 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 28 Nov 2005 13:29:36 -0800 Subject: [CM] Snd 7.17 Message-ID: <20051128212718.M74456@ccrma.Stanford.EDU> Snd 7.17 Mike made many improvements in the ruby support Kjetil added a -volume argument to sndplay all dlp directory files moved to main directory (to simplify load-path handling) added: *clm-notehook* and *definstrument-hook* added to Guile version of with-sound (thanks to Rick) the rest of the preferences dialog mus-header-raw-defaults sync-max SND_PATH environment variable (optional load path directory list) if --with-float-samples and --with-doubles, the internal sample data type is double. (this also affects CLM) moved snd-apropos to snd7.scm. clm: fixed various instruments that were using mus-location with src: backandforth.ins, scratch in ug1.ins, granular.ins, various test ins. added optional srate envelope arg to fullmix. Rick added clm.asd. Fernando updated dlocsig and friends. *clm-tempfile-data-format* and *clm-tempfile-header-type* (for double intermediates). cmn: *dynamics-minimum-vertical-separation* added by Anders. Anders also added support for dy0 and dy1 messages in wedge.lisp. Rick added cmn.asd. *dot-vertical-spacing* checked: ACL 8.0, openmcl 1.0, cmucl 19c, clisp 2.35 (cmn), gtk 2.8.7 with much help from Mike, R Mattes, Rick, Anders, J Reyes, Kjetil, T Blechmann J Rundall, H Fugal, Fernando, J Sandgren, M Klingbeil From dlphillips at woh.rr.com Tue Nov 29 10:32:09 2005 From: dlphillips at woh.rr.com (Dave Phillips) Date: Tue, 29 Nov 2005 13:32:09 -0500 Subject: [CM] CVS CM errors with CLM Message-ID: <438C9EA9.4070501@woh.rr.com> Hi Rick: I realize things are unstable, so this info may not be very relevant: ;;;; Loading #P"/home/dlphilp/cm-systems/clm/clm1.x86f". Error in function USE-PACKAGE: Use'ing package CLM results in name conflicts for these symbols: (#:SRC #:ENV #:INIT-WITH-SOUND #:FINISH-WITH-SOUND #:MUS-BSHORT #:MUS-AIFC #:SPECTRUM #:DAC #:FILTER #:*CLM-FILE-NAME* #:*DEFINSTRUMENT-HOOK* #:MUS-NEXT #:*CLM-SRATE* #:MUS-RIFF #:*CLM-CHANNELS* #:MUS-LSHORT #:CLM-LOAD) [Condition of type SIMPLE-ERROR] Restarts: 0: [CONTINUE] Unintern the conflicting symbols in the CM package. 1: Return NIL from load of #P"/home/dlphilp/cm-systems/clm/all.lisp". 2: [RETRY ] Retry performing # on #. 3: [ACCEPT ] Continue, treating # on # as having been successful. 4: Return NIL from load of #P"home:.cminit.lisp". 5: Retry performing # on #. 6: Continue, treating # on # as having been successful. 7: Return NIL from load of "/home/dlphilp/cm/bin/../src/cm.lisp". 8: [ABORT ] Skip remaining initializations. Debug (type H for help) (USE-PACKAGE :CLM #) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/package.lisp. 0] This is with CLM-3 built here a week ago. Best, dp From taube at uiuc.edu Tue Nov 29 04:50:41 2005 From: taube at uiuc.edu (Rick Taube) Date: Tue, 29 Nov 2005 06:50:41 -0600 Subject: [CM] Re: FOMUS load error in CVS CM In-Reply-To: <4389E4E3.5080206@woh.rr.com> References: <4389E4E3.5080206@woh.rr.com> Message-ID: <88f360516be9f71a210d36e9968c6429@uiuc.edu> The errors when compiling/loading fomus into cm should be fixed in cvs now. b be sure to delete your existing fomus fasl files (.pccf in cmu i think) before doing a (use-system :fomus) because they will still contain the errors. --rick > Hi Rick: > > With CMUCL: > > ;;; Loading #P"/home/dlphilp/cm-systems/fomus/classes.x86f". > > Execution of a form compiled with errors: > (DEFMETHOD OBJ-PARTID ((EV EVENT-BASE)) > (EVENT-PARTID EV)) > [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR] > From carl.boingie at verizon.net Tue Nov 29 12:16:41 2005 From: carl.boingie at verizon.net (Carl Edwards) Date: Tue, 29 Nov 2005 15:16:41 -0500 Subject: [CM] Visual Music in NYC Call for Submission Message-ID: Please forgive the cross-posting: Call for Submissions (Please forward this email) The New York Digital Salon is seeking submissions for the Abstract Visual Music project. Current plans include an online image and webcast exhibition, along with public screenings, lectures, and other events. Images depicting abstract visual music are being sought, along with time-based work, i.e. Quicktime movies, Flash animations, DVDs, videotapes, etc. All work must be in digital format. Essays and artist statements on the creation, theory, and history of abstract visual music will also be considered for the website, as well as possible publication in our catalog. Visual music artworks and installations will also be considered. Software and hardware that allows for the creation of abstract visual music is also being considered and programmers are invited to submit their work. There is no entry fee. The preliminary deadline is February 1, 2006. Please email submissions to avm at nydigitalsalon.org, or mail them to Diane Field, Assistant Director, New York Digital Salon, c/o MFA Computer Art Department, 209 E. 23 St., New York, NY 10010, USA. All submissions must use the NYDS Submissions Form (.PDF), which includes the artist's name, address, phone number, email, title, year completed, medium, and other relevant details about the artwork. Click here to view. Mailed submissions with a self-addressed stamped envelope will be returned. For further information, please contact Diane Field, Assistant Director, ?New York Digital Salon dianefield at nydigitalsalon.org or call 212-592-2532. Our Call for Submissions is in Adobe Portable Document Format (PDF). In order to view, print, and fill out our forms, you will need to use the latest version of Acrobat Reader (version 5 or later). Acrobat Reader can be downloaded free from the Adobe Website. http://www.nydigitalsalon.org/11/intro.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From tasasoti at otenet.gr Tue Nov 29 04:59:27 2005 From: tasasoti at otenet.gr (=?iso-8859-7?B?9OHz4SDz+fTn8d/v9Q==?=) Date: Tue, 29 Nov 2005 14:59:27 +0200 Subject: [CM] help new to lisp and common music Message-ID: can anybody tell me how to use with-sound in a lisp project? I have a list of notes and rhythm but I don.t know how to get a snd file out of it Please help me Tasa From bil at ccrma.Stanford.EDU Tue Nov 29 14:06:37 2005 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 29 Nov 2005 14:06:37 -0800 Subject: [CM] help new to lisp and common music In-Reply-To: References: Message-ID: <20051129220357.M35915@ccrma.Stanford.EDU> There is copious documentation. clm.html is a place to start. README.clm talks about the various lisps. From taube at uiuc.edu Tue Nov 29 14:23:08 2005 From: taube at uiuc.edu (Rick Taube) Date: Tue, 29 Nov 2005 16:23:08 -0600 Subject: [CM] help new to lisp and common music In-Reply-To: References: Message-ID: <5fcf4caf5d349dafb36410271b4eddd9@uiuc.edu> On Nov 29, 2005, at 6:59 AM, ???? ???????? wrote: > can anybody tell me how to use with-sound in a lisp project? > I have a list of notes and rhythm but I don.t know how to get a snd > file out > of it > Please help me > Tasa (load (compile-file "/path/to/clm-3/v.ins")) (with-sound () (fm-violin 0 1 440 .5)) (defparameter list-of-notes (loop repeat 10 collect (+ (random 220) 220))) (defparameter list-of-rhythms (loop repeat 10 collect (* .25 (+ 1 (random 3))))) (with-sound () (loop with x = 0 for n in list-of-notes for r in list-of-rhythms for x = 0 then (+ x r) do (fm-violin x (* r 1.5) n .5) (incf x r))) From taube at uiuc.edu Tue Nov 29 14:29:51 2005 From: taube at uiuc.edu (Rick Taube) Date: Tue, 29 Nov 2005 16:29:51 -0600 Subject: [CM] CVS CM errors with CLM In-Reply-To: <438C9EA9.4070501@woh.rr.com> References: <438C9EA9.4070501@woh.rr.com> Message-ID: > Hi Rick: > I realize things are unstable, so this info may not be very relevant: > ;;;; Loading #P"/home/dlphilp/cm-systems/clm/clm1.x86f". unfortumately, its relevant, what "fixed" fomus breaks clm. ill have to figure out what the package problem really is with sbcl and cmucl From taube at uiuc.edu Tue Nov 29 14:36:26 2005 From: taube at uiuc.edu (Rick Taube) Date: Tue, 29 Nov 2005 16:36:26 -0600 Subject: [CM] help new to lisp and common music In-Reply-To: <5fcf4caf5d349dafb36410271b4eddd9@uiuc.edu> References: <5fcf4caf5d349dafb36410271b4eddd9@uiuc.edu> Message-ID: <7ed54a5958cb222030b19e42cd4de912@uiuc.edu> arrrg forgot to delete a line (with-sound () (loop with x = 0 for n in list-of-notes for r in list-of-rhythms do (fm-violin x (* r 1.5) n .5) (incf x r))) whatever! On Nov 29, 2005, at 4:23 PM, Rick Taube wrote: > On Nov 29, 2005, at 6:59 AM, ???? ???????? wrote: > >> can anybody tell me how to use with-sound in a lisp project? >> I have a list of notes and rhythm but I don.t know how to get a snd >> file out >> of it >> Please help me >> Tasa > > (load (compile-file "/path/to/clm-3/v.ins")) > > (with-sound () > (fm-violin 0 1 440 .5)) > > (defparameter list-of-notes > (loop repeat 10 collect (+ (random 220) 220))) > > (defparameter list-of-rhythms > (loop repeat 10 collect (* .25 (+ 1 (random 3))))) > > (with-sound () > (loop with x = 0 > for n in list-of-notes > for r in list-of-rhythms > for x = 0 then (+ x r) > do (fm-violin x (* r 1.5) n .5) > (incf x r))) > > From joshp at u.washington.edu Tue Nov 29 21:51:34 2005 From: joshp at u.washington.edu (Joshua Parmenter) Date: Tue, 29 Nov 2005 21:51:34 -0800 Subject: [CM] SC note calls / add actions. Message-ID: <6E706312-016F-45AF-89F0-EF347278ABE5@u.washington.edu> I was just noticing that new scsynth note calls use addaction 1 (addToTail) with 0 as a target. The default behavior in SuperCollider however is to use group 0 for only global note controls (such as scoping sound or reverbs), and an addaction of 0 (add to the head) for all notes unless order of execution is a concern (when synths feed into one another). In SC, the Score class and the general practice of the Server node tree is the creation of a new group (group 1) for all actual notes. This is also useful for global effects such as reverbs, where you generally want all notes to be run before a node that is always running at the tail in group 0. Would it be possible for CMs default behavior to mirror SuperCollider's? Are were there reasons for using addToTail in the CM implementation? Thanks for any help, Josh ****************************************** Joshua Parmenter joshp at u.washington.edu Post-Doctoral Research Associate - Center for Digital Arts and Experimental Media Raitt Hall - University of Washington Seattle, Washington 98195 http://www.dxarts.washington.edu http://homepage.mac.com/joshpar From TestCase at asu.edu Wed Nov 30 08:25:48 2005 From: TestCase at asu.edu (todd ingalls) Date: Wed, 30 Nov 2005 09:25:48 -0700 (MST) Subject: [CM] SC note calls / add actions. In-Reply-To: <6E706312-016F-45AF-89F0-EF347278ABE5@u.washington.edu> Message-ID: On Tue, 29 Nov 2005, Joshua Parmenter wrote: > In SC, the Score class and the general practice of the Server node > tree is the creation of a new group (group 1) for all actual notes. > This is also useful for global effects such as reverbs, where you > generally want all notes to be run before a node that is always > running at the tail in group 0. Josh, I think it certainly makes sense to go ahead and change this so it is inline with SC default before. I believe the reason I initially did this was related to having to explicitedly create group 1. however, what would make sense would be do also have the default behavior as always starting a score file with a /g_new command creating group 1. Would that be desireable behavior as well?