From taube at uiuc.edu Fri Jan 2 11:01:20 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 2 Jan 2004 13:01:20 -0600 Subject: [CM] cm and MCL 5.0 In-Reply-To: Message-ID: <0D30393A-3D56-11D8-AC80-000A95674CE4@uiuc.edu> >Has anyone had any luck building cm 2.4.0 or 2.4.1 with MCL 5.0? If so, any hints would be appreciated. With a few cosmetic changes CM 2.4.1 now builds fine in MCL 5.0. However, the EOL problem(s) you were having with MCL still exist: you will have to make sure that you convert all CM text files to Macintosh file format before you try to build. The method I suggest (flip -m *) works fine. I guess Ill add this to the troubleshooting tips in install.html To get the changes do 'cvs update' or else simply 'cvs checkout cm' again. (You may have to wait some hours for the CVS changes to migrate to sourceforges' anon. server; the relevant files are "mcl.lisp" (revision 1.5) and "make.lisp" (revison 1.26) To save a lisp image in mcl, boot MCL 5.0 and do (load "cm/src/make.lisp") (make-cm :save-image t) that will generate/compile/load and save the Common Music application in the folder "cm/bin/mcl_5.0_darwin-powerpc/". you will then have to copy or link the MCL shared libs from the MCL 5.0 folder to this directory before you double click the app. Thank you very much to the people that have sent me problem reports: if i havent received any more ill tag the releasae and upload the cm-2.4.1.tar.gz file to souceforge this weekend. -rick From taube at uiuc.edu Fri Jan 2 19:48:16 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 2 Jan 2004 21:48:16 -0600 Subject: [CM] fyi: book publication date References: <200401030139.i031dJ2v029024@viroid.mcgill.ca> Message-ID: <004f01c3d1ac$6c553750$6b016c40@galen> >For your book, do you have any idea when it should be available for >purchase from the publisher? For those interested, Swets says that Notes from the Metalevel will be available in March. If you would like to see a PDF of the book cover go to: http://pinhead.music.uiuc.edu/~hkt/nm/ the same page contains a link to an order form :) and at reduced price until Jan. 31 -Rick From ferguson at music.mcgill.ca Fri Jan 2 19:58:41 2004 From: ferguson at music.mcgill.ca (Sean Ferguson) Date: Fri, 2 Jan 2004 22:58:41 -0500 Subject: [CM] plotter on MCL 5.0 and OSX 10.3.2 Message-ID: Does plotter work on OSX 10.3.2 with MCL 5.0? I was able to compile all the files, but calling (plotter) or (plotter (new plot points (loop with f = 2.5 for x from 0 to 1 by .01 collect (new point x x y (sin (* x f 2 pi))))) :window-title "A Little Sin") returns the following error: > Error: ##x246B9B6> can't be FUNCALLed or APPLYed. > While executing: CCL::DEFAULT-INITARGS > Type Command-. to abort. See the Restarts? menu item for further choices. The macro xy is defined in draw.lisp but I'm not sure where an attempt is being made to funcall or apply it. Again, any help would be appreciated. Sean Ferguson -------------- next part -------------- An HTML attachment was scrubbed... URL: From taube at uiuc.edu Sat Jan 3 07:14:54 2004 From: taube at uiuc.edu (Rick Taube) Date: Sat, 3 Jan 2004 09:14:54 -0600 Subject: [CM] plotter on MCL 5.0 and OSX 10.3.2 References: Message-ID: <002f01c3d20c$57b31320$6b016c40@galen> plotter on MCL 5.0 and OSX 10.3.2> Does plotter work on OSX 10.3.2 with MCL 5.0? When I last tried it worked but I stopped MCL development (or even using MCL) until it acts like an osx native app. I've moved the plotter code from the system into its own tarball until I have time to figure out how to make a more portable version that will work on linux and openmcl. ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/sources/plotter.tar.gz dont forget that you will have to do 'flip -m *' on these sources before you load them. Someone on the list (sorry I cant remember who) has some code that outputs to gnuplot -- this might also be of use if you just want to see the data. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bbattey at u.washington.edu Sat Jan 3 14:18:58 2004 From: bbattey at u.washington.edu (Bret Battey) Date: Sat, 3 Jan 2004 14:18:58 -0800 Subject: [CM] plotter on MCL 5.0 and OSX 10.3.2 In-Reply-To: <002f01c3d20c$57b31320$6b016c40@galen> References: <002f01c3d20c$57b31320$6b016c40@galen> Message-ID: Regarding the gnuplot output, you might be speaking of Orm Finnedahl who posted some gnuplot examples on this list a few months pack (finnendahl at folkwang-hochschule.de). Also, in CLM's DLOCSIG there is some plotter code for exporting to gnuplot (in fact, I usually commented this out since it had name conflicts with Rick's plotter utils) Problem in MCL 5.0 is that it doesn't have a (shell ...) directive!!!! (what were/are they thinking?) So the code examples mentioned above won't work, as they use shell directives to send commands to gnuplot. I did find a shell command that works in MCL 5.0 though: bsd.lisp by Brendan Burns. I've enclosed the file. -------------- next part -------------- A non-text attachment was scrubbed... Name: bsd.lisp Type: application/applefile Size: 462 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bsd.lisp Type: application/text Size: 29706 bytes Desc: not available URL: -------------- next part -------------- -=Bret Bret Battey http://BatHatMedia.com ---------------------------------------------------------------------- Research Associate Center for Digital Arts and Experimental Media University of Washington, Seattle http://www.washington.edu/dxarts/ On Jan 3, 2004, at 7:14 AM, Rick Taube wrote: > > Does plotter work on OSX 10.3.2 with MCL 5.0? > ? > When I last tried it worked but I stopped?MCL?development (or even > using MCL) until?it acts like?an osx native app.? I've moved the > plotter code from the system into its own tarball until I have time to > figure out how to make a more portable version that will work on linux > and openmcl. > ? > ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/sources/plotter.tar.gz > ? > dont forget that you will have to do 'flip -m *' on these sources > before you load them. > Someone on the list (sorry I cant remember who) has some code that > outputs to gnuplot -- this might also be of use if you just want to > see the data. > From mmturner at mindspring.com Sat Jan 3 14:56:15 2004 From: mmturner at mindspring.com (Mitchell Turner) Date: Sat, 3 Jan 2004 17:56:15 -0500 Subject: [CM] SND on OSX In-Reply-To: <20040102200003.9661.50031.Mailman@cm-mail.stanford.edu> References: <20040102200003.9661.50031.Mailman@cm-mail.stanford.edu> Message-ID: <08E849BC-3E40-11D8-AB67-00039305E3B0@mindspring.com> Hi, I am new to this list so if I am asking this question to the wrong list let me know. I am trying to compile SND on OSX (10.3.2). I am compiling with gtk, with guile (both loaded with fink), and with static-xm. I am getting the following after trying make: gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I. -g -O2 -I/sw/include snd-gfile.c snd-gfile.c: In function `prune_file_list': snd-gfile.c:335: error: void value not ignored as it ought to be make: *** [snd-gfile.o] Error 1 I have tried compiling with motif and have had no success there. I've also tried the suggestions in the README.SND file but no luck there either. I am really stuck. Any help would be appreciated, Mitch Turner From taube at uiuc.edu Sat Jan 3 15:01:40 2004 From: taube at uiuc.edu (Rick Taube) Date: Sat, 3 Jan 2004 17:01:40 -0600 Subject: [CM] MCL and OSX References: <002f01c3d20c$57b31320$6b016c40@galen> Message-ID: <007b01c3d24d$8cfb73b0$6b016c40@galen> > Problem in MCL 5.0 is that it doesn't have a (shell ...) directive!!!! > (what were/are they thinking?) Considering that they dont support osx/unix pathnames or unix eols except via a hack it shouldn't be suprising! Long term openmcl is the way to go -- its free, has native threads and its complier is better. Really, at this point OpenMCL + aqua Emacs + listener.el is about as easy to work with as MCL. Do this: 1 install openmcl 0.14: http://openmcl.clozure.com/Distributions/index.html 2 install an Aqua Emacs: http://www.mindlube.com/products/emacs/ 3 download cm-2.4.1 from CVS 4 get a shell, cd to your cm install dir and do % bin/cm.sh -l openmcl -e Emacs thats it. Cm will compile/load and startup in its own window under emacs. and if you want it to behave exactly like Fred/MCL add these to you .emacs file: (setq mac-command-key-is-meta nil) (global-set-key [(alt a)] 'mark-whole-buffer) (global-set-key [(alt v)] 'yank) (global-set-key [(alt c)] 'kill-ring-save) (global-set-key [(alt x)] 'kill-region) (global-set-key [(alt s)] 'save-buffer) (global-set-key [(alt l)] 'goto-line) (global-set-key [(alt o)] 'find-file) (global-set-key [(alt f)] 'isearch-forward) (global-set-key [(alt g)] 'isearch-repeat-forward) (global-set-key [(alt w)] (lambda () (interactive) (kill-buffer (current-buffer)))) (global-set-key [(alt .)] 'keyboard-quit) (global-set-key [(alt z)] 'undo)) once I have the tarball of cm-2.4.1 (monday at the latest) ill make an OSX binary release complete with its own dockable icon From taube at uiuc.edu Sat Jan 3 15:06:11 2004 From: taube at uiuc.edu (Rick Taube) Date: Sat, 3 Jan 2004 17:06:11 -0600 Subject: [CM] SND on OSX References: <20040102200003.9661.50031.Mailman@cm-mail.stanford.edu> <08E849BC-3E40-11D8-AB67-00039305E3B0@mindspring.com> Message-ID: <008201c3d24e$2e3ae6c0$6b016c40@galen> You are on the right list. However, CCRMA has been officially closed for about two weeks (I think it opens again Monday) so it may take until then for Bill to respond to your message. -Rick > Hi, I am new to this list so if I am asking this question to the wrong > list let me know. > > I am trying to compile SND on OSX (10.3.2). I am compiling with gtk, > with guile (both loaded with fink), and with static-xm. I am getting > the following after trying make: > > gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H > -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 > -I/sw/include/pango-1.0 -I/usr/X11R6/include > -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 > -I/sw/lib/glib-2.0/include -I. -g -O2 -I/sw/include snd-gfile.c > snd-gfile.c: In function `prune_file_list': > snd-gfile.c:335: error: void value not ignored as it ought to be > make: *** [snd-gfile.o] Error 1 > > I have tried compiling with motif and have had no success there. I've > also tried the suggestions in the README.SND file but no luck there > either. I am really stuck. > > Any help would be appreciated, > Mitch Turner > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bigswift at ufl.edu Sat Jan 3 03:30:02 2004 From: bigswift at ufl.edu (Patrick Pagano) Date: Sat, 3 Jan 2004 06:30:02 -0500 Subject: [CM] SND on OSX In-Reply-To: <08E849BC-3E40-11D8-AB67-00039305E3B0@mindspring.com> Message-ID: <2B8FED16-3DE0-11D8-9A85-000A95D78358@ufl.edu> get the .dmg at motifzone of motif, you will need to get Guile working first too. you might want to fink it. in the configure script run ./configure --enable-esd fink esound too. are you on 10.2 or Panther? Pat On Saturday, January 3, 2004, at 05:56 PM, Mitchell Turner wrote: > Hi, I am new to this list so if I am asking this question to the wrong > list let me know. > > I am trying to compile SND on OSX (10.3.2). I am compiling with gtk, > with guile (both loaded with fink), and with static-xm. I am getting > the following after trying make: > > gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H > -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 > -I/sw/include/pango-1.0 -I/usr/X11R6/include > -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 > -I/sw/lib/glib-2.0/include -I. -g -O2 -I/sw/include snd-gfile.c > snd-gfile.c: In function `prune_file_list': > snd-gfile.c:335: error: void value not ignored as it ought to be > make: *** [snd-gfile.o] Error 1 > > I have tried compiling with motif and have had no success there. I've > also tried the suggestions in the README.SND file but no luck there > either. I am really stuck. > > Any help would be appreciated, > Mitch Turner > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > Patrick Pagano,B.S. M.F.A candidate http://www.digitalworlds.ufl.edu http://www.screwmusicforever.com/SHREESWIFT From mmturner at mindspring.com Sun Jan 4 06:19:42 2004 From: mmturner at mindspring.com (Mitchell Turner) Date: Sun, 4 Jan 2004 09:19:42 -0500 Subject: [CM] SND on OSX In-Reply-To: <2B8FED16-3DE0-11D8-9A85-000A95D78358@ufl.edu> References: <2B8FED16-3DE0-11D8-9A85-000A95D78358@ufl.edu> Message-ID: <09BBC0A1-3EC1-11D8-B360-00039305E3B0@mindspring.com> Pat, I'm on Panther. I have gotten motif with fink and tried to compile SND using it (motif) instead of gtk. Things when well for a while, then Error. Here is the end of the compiling process: . . . gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -g -O2 -I/sw/include -I/usr/X11R6/include -I/sw/include snd-xxen.c (cd po && make) make[1]: Nothing to be done for `all'. gcc -I. -g -O2 headers.o audio.o io.o sound.o clm.o xen.o vct.o sndlib2xen.o clm2xen.o midi.o snd-io.o snd-utils.o snd-listener.o snd-error.o snd-completion.o snd-menu.o snd-axis.o snd-data.o snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o snd-region.o snd-select.o snd-find.o snd-snd.o snd-help.o snd-main.o snd-print.o snd-trans.o snd-mix.o snd.o snd-env.o snd-xen.o snd-ladspa.o snd-rec.o snd-kbd.o snd-sig.o snd-draw.o snd-run.o snd-xutils.o snd-xerror.o snd-xhelp.o snd-xfind.o snd-xmenu.o snd-xdraw.o snd-xlistener.o snd-xchn.o snd-xsnd.o snd-xregion.o snd-xdrop.o snd-xmain.o snd-xmix.o snd-xrec.o snd-xenv.o snd-gxutils.o snd-gxbitmaps.o snd-gxcolormaps.o snd-xfft.o snd-xprint.o snd-xfile.o snd-xxen.o -o snd -L/sw/lib -lguile -lm -L/usr/X11R6/lib -lSM -lICE -L/sw/lib -lXm -lXt -lX11 -lXext -lXp -lXpm -framework CoreAudio -framework CoreFoundation -framework CoreMIDI ld: Undefined symbols: _cacos _cacosh _ccos _ccosh _SCM_VARIABLE_REF make: *** [snd] Error 1 Thanks for responding, Mitch On Jan 3, 2004, at 6:30 AM, Patrick Pagano wrote: > get the .dmg at motifzone of motif, > you will need to get Guile working first too. you might want to fink > it. > > in the configure script run > > ./configure --enable-esd > > fink esound too. > > are you on 10.2 or Panther? > > Pat > > > On Saturday, January 3, 2004, at 05:56 PM, Mitchell Turner wrote: > >> Hi, I am new to this list so if I am asking this question to the >> wrong list let me know. >> >> I am trying to compile SND on OSX (10.3.2). I am compiling with gtk, >> with guile (both loaded with fink), and with static-xm. I am getting >> the following after trying make: >> >> gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H >> -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 >> -I/sw/include/pango-1.0 -I/usr/X11R6/include >> -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 >> -I/sw/lib/glib-2.0/include -I. -g -O2 -I/sw/include snd-gfile.c >> snd-gfile.c: In function `prune_file_list': >> snd-gfile.c:335: error: void value not ignored as it ought to be >> make: *** [snd-gfile.o] Error 1 >> >> I have tried compiling with motif and have had no success there. >> I've also tried the suggestions in the README.SND file but no luck >> there either. I am really stuck. >> >> Any help would be appreciated, >> Mitch Turner >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> > Patrick Pagano,B.S. M.F.A candidate > http://www.digitalworlds.ufl.edu > http://www.screwmusicforever.com/SHREESWIFT > From scholz-micha at gmx.de Sun Jan 4 08:05:42 2004 From: scholz-micha at gmx.de (Michael Scholz) Date: 04 Jan 2004 17:05:42 +0100 Subject: [CM] SND on OSX In-Reply-To: <09BBC0A1-3EC1-11D8-B360-00039305E3B0@mindspring.com> References: <2B8FED16-3DE0-11D8-9A85-000A95D78358@ufl.edu> <09BBC0A1-3EC1-11D8-B360-00039305E3B0@mindspring.com> Message-ID: <86ekufem21.fsf@Lerche.Socrates> > gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H > -I. -g > -O2 -I/sw/include -I/usr/X11R6/include -I/sw/include snd-xxen.c > (cd po && make) > make[1]: Nothing to be done for `all'. > gcc -I. -g -O2 headers.o audio.o io.o sound.o clm.o xen.o vct.o > sndlib2xen.o clm2xen.o midi.o snd-io.o snd-utils.o snd-listener.o > snd-error.o snd-completion.o snd-menu.o snd-axis.o snd-data.o > snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o > snd-region.o snd-select.o snd-find.o snd-snd.o snd-help.o snd-main.o > snd-print.o snd-trans.o snd-mix.o snd.o snd-env.o snd-xen.o > snd-ladspa.o snd-rec.o snd-kbd.o snd-sig.o snd-draw.o snd-run.o > snd-xutils.o snd-xerror.o snd-xhelp.o snd-xfind.o snd-xmenu.o > snd-xdraw.o snd-xlistener.o snd-xchn.o snd-xsnd.o snd-xregion.o > snd-xdrop.o snd-xmain.o snd-xmix.o snd-xrec.o snd-xenv.o snd-gxutils.o > snd-gxbitmaps.o snd-gxcolormaps.o snd-xfft.o snd-xprint.o snd-xfile.o > snd-xxen.o -o snd -L/sw/lib -lguile -lm -L/usr/X11R6/lib -lSM > -lICE -L/sw/lib -lXm -lXt -lX11 -lXext -lXp -lXpm -framework > CoreAudio -framework CoreFoundation -framework CoreMIDI > ld: Undefined symbols: > _cacos > _cacosh > _ccos > _ccosh > _SCM_VARIABLE_REF > make: *** [snd] Error 1 Something like that appeared here too (no mac but pc and bsd). To get rid of HAVE_COMPLEX_TRIG I added configure option --with-gsl and all went well. If you have gsl, perhaps it helps. Mike From gskhosana at csir.co.za Sun Jan 4 23:12:59 2004 From: gskhosana at csir.co.za (Goodwill Skhosana) Date: Mon, 05 Jan 2004 09:12:59 +0200 Subject: [CM] unsubscribe Message-ID: >>> "Rick Taube" 01/04/04 1:01 AM >>> > Problem in MCL 5.0 is that it doesn't have a (shell ...) directive!!!! > (what were/are they thinking?) Considering that they dont support osx/unix pathnames or unix eols except via a hack it shouldn't be suprising! Long term openmcl is the way to go -- its free, has native threads and its complier is better. Really, at this point OpenMCL + aqua Emacs + listener.el is about as easy to work with as MCL. Do this: 1 install openmcl 0.14: http://openmcl.clozure.com/Distributions/index.html 2 install an Aqua Emacs: http://www.mindlube.com/products/emacs/ 3 download cm-2.4.1 from CVS 4 get a shell, cd to your cm install dir and do % bin/cm.sh -l openmcl -e Emacs thats it. Cm will compile/load and startup in its own window under emacs. and if you want it to behave exactly like Fred/MCL add these to you .emacs file: (setq mac-command-key-is-meta nil) (global-set-key [(alt a)] 'mark-whole-buffer) (global-set-key [(alt v)] 'yank) (global-set-key [(alt c)] 'kill-ring-save) (global-set-key [(alt x)] 'kill-region) (global-set-key [(alt s)] 'save-buffer) (global-set-key [(alt l)] 'goto-line) (global-set-key [(alt o)] 'find-file) (global-set-key [(alt f)] 'isearch-forward) (global-set-key [(alt g)] 'isearch-repeat-forward) (global-set-key [(alt w)] (lambda () (interactive) (kill-buffer (current-buffer)))) (global-set-key [(alt .)] 'keyboard-quit) (global-set-key [(alt z)] 'undo)) once I have the tarball of cm-2.4.1 (monday at the latest) ill make an OSX binary release complete with its own dockable icon _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From bil at ccrma.Stanford.EDU Mon Jan 5 04:42:00 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 05 Jan 2004 04:42:00 -0800 Subject: [CM] file vs io object operationsin OpenMCL In-Reply-To: References: <3FE90B61.1060809@ccrma.Stanford.EDU> Message-ID: <3FF95B98.7050704@ccrma> > Had to convert to have sound-srate reference the file path itself, not > the IO object: Thanks for the bug report! I forgot to handle this case in ffi.lisp for openmcl, cmucl, and sbcl. I think they're ok now. From bil at ccrma.Stanford.EDU Mon Jan 5 05:09:54 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 05 Jan 2004 05:09:54 -0800 Subject: [CM] SND on OSX In-Reply-To: <09BBC0A1-3EC1-11D8-B360-00039305E3B0@mindspring.com> References: <2B8FED16-3DE0-11D8-9A85-000A95D78358@ufl.edu> <09BBC0A1-3EC1-11D8-B360-00039305E3B0@mindspring.com> Message-ID: <3FF96222.2070608@ccrma> > ld: Undefined symbols: > _cacos > [...] > _SCM_VARIABLE_REF > make: *** [snd] Error 1 The first (cacos) looks like a bug in my configure script -- it's supposed to try to fallback on gsl if there's no built-in complex trig support. I'll stare at that code some more. The second is similar to a bug reported to me by Stanko Juzbasic (on the SGI) that has me a bit mystified. That macro (SCM_VARIABLE_REF) has been in Guile forever, but for some reason it is confusing various compilers -- I'll stare at this also. > snd-gfile.c: In function `prune_file_list': > snd-gfile.c:335: error: void value not ignored as it ought to be I need to look at the gtk changelogs (at home) -- my first guess is that something changed after gtk 2.0, and I didn't notice the backwards incompatibility. This part of Snd's gtk code is a horrible temporary kludge anyway -- I wanted the "just-sounds" button to work despite gtk's less-than-adequate file selection widget, so I was messing around in the guts of the dumb thing. They have subsequently provided what appears to be a much better file chooser, with (I think) built-in hooks for the sort of thing I wanted to do here, but I haven't had time yet to look at it very closely. From bil at ccrma.Stanford.EDU Tue Jan 6 05:01:12 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 06 Jan 2004 05:01:12 -0800 Subject: [CM] SND on OSX In-Reply-To: <09BBC0A1-3EC1-11D8-B360-00039305E3B0@mindspring.com> References: <2B8FED16-3DE0-11D8-9A85-000A95D78358@ufl.edu> <09BBC0A1-3EC1-11D8-B360-00039305E3B0@mindspring.com> Message-ID: <3FFAB198.4010607@ccrma> On the SCM_VARIABLE_REF problem, I think I was being fooled by several layers of confusion in my home setup (all this time I thought I was running backwards compatibility tests...) -- xen.h should have used SCM_CDR for Guile 1.4 and earlier (I think). On the snd-gfile.c gtk_list_store_remove problem, at some point gtk changed the return type from void to gboolean (but I can't find any warning about it anywhere); I just removed all the previous just-sounds gtk support. On cacos -- the configure script now tries to compile and load a program using it; could it be in some library other than libm.a? Perhaps libmx? From joshp at u.washington.edu Wed Jan 7 18:44:22 2004 From: joshp at u.washington.edu (Joshua Parmenter) Date: Wed, 7 Jan 2004 18:44:22 -0800 Subject: [CM] Snd-7 on OS X Message-ID: <90DE759F-4184-11D8-8A27-000393CB16D2@u.washington.edu> Hi everyone, I was able to get SND-7 running on OS X Panther, but when I run it I get this message in my xterm: cannot connect to jack server cannot connect to default JACK server It appears that everything runs okay, but I was just wondering if there is something else I should be installing, and if I should worry about this message at all. Thanks for any help. Josh Parmenter From bil at ccrma.Stanford.EDU Fri Jan 9 03:47:06 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 09 Jan 2004 03:47:06 -0800 Subject: [CM] snd 7.1 Message-ID: <3FFE94BA.4060003@ccrma> Snd 7.1: sndplay jack support and other bugfixes thanks to Kjetil S. Matheussen. rtio.rb and extensions.rb thanks to Michael Scholz (and many other *.rb improvements) hooks.rb and hooks support in Ruby thanks to Michael Scholz. Rick provided *definstrument-hook* (defins.lisp) to make it easier to deal with CLM instruments in CM. Bill Sack provided stochastic.ins and stochasticRT.ins. Todd Ingalls got the clm/snd connection to work in OSX/openmcl/X11. virtual editor coverage expanded by about a factor of 4 copy-sample-reader for all sample reader types sample-reader-at-end?, sample-reader-home, sample-reader-position, and free-sample-reader are now generic removed inspect-sample-reader, free-mix|track-sample-reader added region-sample-reader? and read-region-sample use-pan-mix-in-mix-menu (snd-motif.scm), pan-mix-selection|region|vct in mix.scm. added kosine-summation in dsp.scm -- sum-of-cosines with an "index". added sine-ramp and sine-env-channel for envelopes that connect the dots with a sinusoidal curve (using ptree-channel, so it's a virtual op) and an extension of it using a blackman-harris window. Also env-squared-channel, and env-expt-channel (x^n for any positive n). changed enved-exp? to enved-style for user-defined segment connectors, (envelope-linear, envelope-exponential, or a list of 2 procedures, mimicking cursor-style). old enved-exp? is in snd7.scm envelopes can now have the properties 'envelope-base, 'envelope-type, and 'envelope-lambda. The envelope editor manages these, and define-envelope provides an optional base argument. The rest of Snd is supposed to know about the properties. The envelope variable itself still evaluates to the list of breakpoints (for backwards compatibility). added offset-channel, contrast-channel (extensions.scm), ring-modulate-channel (examp.scm) changed mus-data-format-bytes-per-sample to mus-bytes-per-sample (also in C) added selection-changed-hook added dur arg to make-env (lisp and scheme/ruby) for duration in samples added new gtk 2.3 and 2.3.1 stuff to xg module added NVF file support CLM now works in SBCL, xcmnw works in cmucl/Sun. checked: gtlglext 1.0.5, openmcl-darwin 0.14, gtk 2.3.1, clisp 2.32 tried to check: Motif 2.2.3 with much help from Dan Starr, Michael Scholz, Josh Matoon, Rick Taube, Fernando Lopez-Lezcano, Anders Vinjar, Bill Sack, Kjetil S. Matheussen, Todd Ingalls, Bret Battey, Stanko Juzbasic, Mitch Turner, Pat Pagano, Avi Bercovich. From marcoll at folkwang-hochschule.de Fri Jan 9 04:17:57 2004 From: marcoll at folkwang-hochschule.de (Maximilian Marcoll) Date: Fri, 9 Jan 2004 13:17:57 +0100 (CET) Subject: [CM] snd on os x In-Reply-To: <3FFE94BA.4060003@ccrma> Message-ID: <20040109131402.C80013-100000@icemserv.folkwang-hochschule.de> hi! since i'm not that kind of a unix-geek but would like to use snd on my powerbook, it would be really great if someone who build snd on os x would upload a binary version of it somewhere, so people like me could get it... thank you so much. max =============================================== _______________maximilian marcoll______________ ___________composition | performance___________ http://icem-www.folkwang-hochschule.de/~marcoll =============================================== From bil at ccrma.Stanford.EDU Fri Jan 9 07:21:00 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 09 Jan 2004 07:21:00 -0800 Subject: [CM] snd on os x In-Reply-To: <20040109131402.C80013-100000@icemserv.folkwang-hochschule.de> References: <20040109131402.C80013-100000@icemserv.folkwang-hochschule.de> Message-ID: <3FFEC6DC.9000602@ccrma> > since i'm not that kind of a unix-geek but would like to use snd on my > powerbook, it would be really great if someone who build snd on os x would > upload a binary version of it somewhere, so people like me could get it... I put two statically loaded snd images at ccrma-ftp:/pub/Lisp: osx-10.2-snd and osx-10.2-xm-snd (the latter has the xm module). You'll need an X11 server. I'll try to upgrade to 10.3 soon. From mmturner at mindspring.com Fri Jan 9 14:13:08 2004 From: mmturner at mindspring.com (Mitchell Turner) Date: Fri, 9 Jan 2004 17:13:08 -0500 Subject: [CM] SND on OSX In-Reply-To: <20040109200003.6348.48298.Mailman@cm-mail.stanford.edu> References: <20040109200003.6348.48298.Mailman@cm-mail.stanford.edu> Message-ID: <019E585D-42F1-11D8-947E-00039305E3B0@mindspring.com> I'm still having a problem compiling SND. I got the following error: gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -g -O2 -I/sw/include -I/usr/X11R6/include -I/sw/include -I/sw/include xm.c (cd po && make) make[1]: Nothing to be done for `all'. gcc -I. -g -O2 headers.o audio.o io.o sound.o clm.o xen.o vct.o sndlib2xen.o clm2xen.o midi.o snd-io.o snd-utils.o snd-listener.o snd-error.o snd-completion.o snd-menu.o snd-axis.o snd-data.o snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o snd-region.o snd-select.o snd-find.o snd-snd.o snd-help.o snd-main.o snd-print.o snd-trans.o snd-mix.o snd.o snd-env.o snd-xen.o snd-ladspa.o snd-rec.o snd-kbd.o snd-sig.o snd-draw.o snd-run.o snd-xutils.o snd-xerror.o snd-xhelp.o snd-xfind.o snd-xmenu.o snd-xdraw.o snd-xlistener.o snd-xchn.o snd-xsnd.o snd-xregion.o snd-xdrop.o snd-xmain.o snd-xmix.o snd-xrec.o snd-xenv.o snd-gxutils.o snd-gxbitmaps.o snd-gxcolormaps.o snd-xfft.o snd-xprint.o snd-xfile.o snd-xxen.o xm.o -o snd -L/sw/lib -lguile -lm -L/usr/X11R6/lib -lSM -lICE -L/sw/lib -lXm -lXt -lXp -lX11 -lXext -lXpm -framework CoreAudio -framework CoreFoundation -framework CoreMIDI -L/sw/lib -lgsl -lgslcblas -lm -lm ld: warning multiple definitions of symbol _XauDisposeAuth /usr/X11R6/lib/libXp.dylib(AuDispose.o) definition of _XauDisposeAuth /usr/X11R6/lib/libX11.dylib(AuDispose.o) definition of _XauDisposeAuth ld: warning multiple definitions of symbol _XauReadAuth /usr/X11R6/lib/libXp.dylib(AuRead.o) definition of _XauReadAuth /usr/X11R6/lib/libX11.dylib(AuRead.o) definition of _XauReadAuth I used ./configure --with-motif-prefix=/sw --with-guile --with-static-xm I used the libXm.a from ccrma and edited the config.h, setting the macro HAVE_XmToolTipGetLabel to 0. Am not sure what to try next? Thanks for your help. Mitch From bigswift at ufl.edu Sat Jan 10 14:33:38 2004 From: bigswift at ufl.edu (Patrick Pagano) Date: Sat, 10 Jan 2004 17:33:38 -0500 Subject: [CM] SND on OSX In-Reply-To: <019E585D-42F1-11D8-947E-00039305E3B0@mindspring.com> Message-ID: <08FBCA70-43BD-11D8-AB8F-000A95D78358@ufl.edu> mitchell in your makefile specify that Xm file explicitly /usr/X11R6/lib/libXm.a it will complian about weak links but should build Patrick On Friday, January 9, 2004, at 05:13 PM, Mitchell Turner wrote: > I'm still having a problem compiling SND. I got the following error: > > gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -g > -O2 -I/sw/include -I/usr/X11R6/include -I/sw/include -I/sw/include > xm.c > (cd po && make) > make[1]: Nothing to be done for `all'. > gcc -I. -g -O2 headers.o audio.o io.o sound.o clm.o xen.o vct.o > sndlib2xen.o clm2xen.o midi.o snd-io.o snd-utils.o snd-listener.o > snd-error.o snd-completion.o snd-menu.o snd-axis.o snd-data.o > snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o > snd-region.o snd-select.o snd-find.o snd-snd.o snd-help.o snd-main.o > snd-print.o snd-trans.o snd-mix.o snd.o snd-env.o snd-xen.o > snd-ladspa.o snd-rec.o snd-kbd.o snd-sig.o snd-draw.o snd-run.o > snd-xutils.o snd-xerror.o snd-xhelp.o snd-xfind.o snd-xmenu.o > snd-xdraw.o snd-xlistener.o snd-xchn.o snd-xsnd.o snd-xregion.o > snd-xdrop.o snd-xmain.o snd-xmix.o snd-xrec.o snd-xenv.o snd-gxutils.o > snd-gxbitmaps.o snd-gxcolormaps.o snd-xfft.o snd-xprint.o snd-xfile.o > snd-xxen.o xm.o -o snd -L/sw/lib -lguile -lm -L/usr/X11R6/lib > -lSM -lICE -L/sw/lib -lXm -lXt -lXp -lX11 -lXext -lXpm -framework > CoreAudio -framework CoreFoundation -framework CoreMIDI -L/sw/lib > -lgsl -lgslcblas -lm -lm > ld: warning multiple definitions of symbol _XauDisposeAuth > /usr/X11R6/lib/libXp.dylib(AuDispose.o) definition of _XauDisposeAuth > /usr/X11R6/lib/libX11.dylib(AuDispose.o) definition of _XauDisposeAuth > ld: warning multiple definitions of symbol _XauReadAuth > /usr/X11R6/lib/libXp.dylib(AuRead.o) definition of _XauReadAuth > /usr/X11R6/lib/libX11.dylib(AuRead.o) definition of _XauReadAuth > > I used ./configure --with-motif-prefix=/sw --with-guile > --with-static-xm > > I used the libXm.a from ccrma and edited the config.h, setting the > macro HAVE_XmToolTipGetLabel to 0. > > Am not sure what to try next? Thanks for your help. > > Mitch > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > Patrick Pagano,B.S. M.F.A candidate http://www.digitalworlds.ufl.edu http://www.screwmusicforever.com/SHREESWIFT From taube at uiuc.edu Wed Jan 14 06:31:38 2004 From: taube at uiuc.edu (Rick Taube) Date: Wed, 14 Jan 2004 08:31:38 -0600 Subject: [CM] Common Music 2.4.1 available Message-ID: <5CAE7FBA-469E-11D8-891C-000A95674CE4@uiuc.edu> Common Music release 2.4.1 is available for download from sourceforge and CCRMA: Sources: http://sourceforge.net/project/showfiles.php?group_id=9766 ftp://ccrma-ftp.stanford.edu:/pub/Lisp/cm/sources/cm-2.4.1.tar.gz or from cvs do: 'cvs checkout -r rel-2_4_1 cm' I will make a binary release for OSX in a day or so. This is the release that I'm burning on the CD to accompanying the book Notes from the Metalevel. Ive tested all of the book examples with the release before uploading the tarballs. Most of work for 2.4.1 went into simplifying the install for CM and using it with CLM and CMN. The release contains a brand new startup script bin/cm.sh that will do every thing for you -- install and/or run CM in any supported lisp from a terminal or under X/Emacs. I can't thank Tobias enough for writing it. The following new/updated documentation discusses the new features. The first two links are new dictionary entries for cm.sh and make-cm: http://commonmusic.sf.net/doc/dict/cm-sh.html http://commonmusic.sf.net/doc/dict/make-cm-fn.html The second two links are new general docs intended for people with little or no lisp experience: Installing Common Music: http://commonmusic.sf.net/doc/install.html Running Common Music under X/Emacs: http://commonmusic.sf.net/doc/emacs.html -rick From alinweiller at caramail.com Wed Jan 14 11:22:45 2004 From: alinweiller at caramail.com (alin weiller ) Date: Wed, 14 Jan 2004 20:22:45 +0100 Subject: [CM] snd sound editor Message-ID: <1074111765032241@lycos-europe.com> Is it the right list for the snd project? A-LIN Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). From rm at fabula.de Wed Jan 14 12:33:19 2004 From: rm at fabula.de (rm at fabula.de) Date: Wed, 14 Jan 2004 21:33:19 +0100 Subject: [CM] snd sound editor In-Reply-To: <1074111765032241@lycos-europe.com> References: <1074111765032241@lycos-europe.com> Message-ID: <20040114203319.GD18348@www> On Wed, Jan 14, 2004 at 08:22:45PM +0100, alin weiller wrote: > Is it the right list for the snd project? Yes > A-LIN > > Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). > From alinweiller at caramail.com Wed Jan 14 12:13:29 2004 From: alinweiller at caramail.com (alin weiller ) Date: Wed, 14 Jan 2004 21:13:29 +0100 Subject: [CM] Reload not well initialized Message-ID: <1074114809006126@lycos-europe.com> Hi list, I'm using snd 7.1 for some days ago, Here is one thing 1) I load a first sound 2) I presse sync on 3) I close it 4) I reload an other sound : sync is still pressed but not working, so to make it working I have to untoggle sync first and presse it again. I want to repair that but I don't find the portion of the code that is concerned. Any clue? Thank's A-LIN. Les noms de domaine les moins chers du march? : 6,49 euros HT sur http://www.lycos.fr/pro . From alinweiller at caramail.com Wed Jan 14 13:39:00 2004 From: alinweiller at caramail.com (alin weiller ) Date: Wed, 14 Jan 2004 22:39:00 +0100 Subject: [CM] LADSPA? Message-ID: <1074119940027028@lycos-europe.com> Hi, I don't find how to use the LADSPA plugins, I compiled with --with-ladspa, but nothing appears in any menu??? note : I succed to use ladspa with my other softwares A-LIN E-mail, Dialogue en direct et SMS gratuits sur minitel : 3615 CARAMAIL From taube at uiuc.edu Wed Jan 14 19:11:28 2004 From: taube at uiuc.edu (Rick Taube) Date: Wed, 14 Jan 2004 21:11:28 -0600 Subject: [CM] working with clm in cm-2.4.1 References: <001b01c3d935$6d0983a0$d0e31644@galen> Message-ID: <001701c3db15$44c6c7e0$d0e31644@galen> My apologies for this rather long post -- please hit delete if you dont use cm with clm. But if you do, you might want to at least skim this message before you start trying to use clm+cm to avoid possible confusion. cm-2.4.1 is a (first) step to a more "modular" cm, one that can coexits more comforably with other systems and lisp packages. The biggest change is that cm-2.4.1 no longer does an uncontrolled import of clm's symbols when it builds. (of course, you can still do this yourself, see below). Instead, when cm loads up it only uses the clm symbols that it actually needs to compile itself. And if clm is not around when cm loads up then cm uses a "stub" clm package that it defines for just this purpose (see: src/clm-stubs.lisp). This way if clm is loaded into a cm image at a later point, then clm will redefine the stubs to actual functions and all is well. In addition, since clm's "all.lisp" itself does a use-package then clm's symbols will fold into your workspace when you load it. But in earlier release people have done the reverse: 1 (load "clm") 2 (load "cm") 3 (save-cm) In this case the sequence still works of course, BUT (unlike earlier releases) now clm external symbols will NOT automatically be interned in the cm package by the second step (load "cm") . So one possible confusion may arise if you simply boot the saved cm image from step 3 and then try to compile a .ins file willy-nilly like before. If your .ins file does not have an (in-package :clm) then lisp will try to compile the file in the current package (cm) and this will break since the clm instrument needs symbols in the clm package. There are several (hopefully simple) ways to deal with this: 1. If you want cm and clm to share the same name space, then as soon as you boot up cm and before you begin working or compiling clm, do this in the listener: > (use-package :clm) this will put all clm externals in the cm package just like before. 2. If that is too much work, then add the form '(use-package :clm)' in the file "cm/etc/cminit.lisp " and it will happen automatically for you when you start up. 3. Do the inverse, ie eval (in-package :clm) in the listener before you compile the .ins file. 4. The most complex (but perhaps the cleanest) solution might be to put the following 2 forms at the top of your ins file before you compile/load it: (in-package :clm) (export '(myins ...)) This way, when you compile "myins.ins" it will compile in the CLM pacakge, and the export will allow you to call it from the cm package using CLTL's normal package prefixing, ie (clm:myins ...). In addition, clm+cm-2.4.1 will still define a cm event objects even for the defstrument defined completely in the clm package. So once your load that ins file compiled in the clm package you can still do (new clm:myins :time 123 :dur 1) If your DONT want cm events to be defined by definstrument just set the variable clm::*definstrument-hook* to nil -- that will "cut" the only link from definstument to defobject, and hence, to cm. I hope this is somewhat clear to those who use clm and cm. Even though I tested on all lisps using a test suite I would anticipate bugs for a bit and I will try to do quick maintence for anyone (like me) starting to write music. The next release of CM will have a fully packaged (modular) CM with its own -- hopefully minimal -- set of exported symbols. -Rick From george at bloomfield.phil1.uni-potsdam.de Thu Jan 15 00:44:47 2004 From: george at bloomfield.phil1.uni-potsdam.de (George Smith) Date: Thu, 15 Jan 2004 09:44:47 +0100 (CET) Subject: [CM] cm and quicktime: instrumentation In-Reply-To: <001701c3db15$44c6c7e0$d0e31644@galen> from "Rick Taube" at Jan 14, 2004 09:11:28 PM Message-ID: <200401150844.i0F8ilJ16307@bloomfield.phil1.uni-potsdam.de> I'm new to cm and midi, being an acoustic musician who programs in lisp at work (linguist), so bear with me. I'm using cm 2.3.4 on an older imac with system 8.6 and quicktime 5. I'm encountering two difficulties. 1. When I try to play directly to the midi port, I get rhythmic inaccuracy, sometimes more, sometimes less. I assume there must be some sort of real time mode that I haven't figured out yet. 2. When I use instruments other than the default acoustic piano, I do hear them when I play them to the midi port, but when I try to write this to a midi file and play the file using quicktime, which involves converting the file to a quicktime movie, the instrumentation gets lost and I only hear acoustic piano. Here is some code to show what I've been trying to do. (defun test-play-scale (channel) (process repeat 8 with time = 0 with key = (new pattern of (list 'c3 'd3 'e3 'f3 'g3 'a3 'b3 'c4) in cycle) do (progn (output (new midi time time channel channel keynum (next key) duration .5 amplitude .7)) (incf time .5)))) (loop for ch from 0 to 8 for pr in (list 0 +Acoustic-Guitar-Nylon+ +Acoustic-Guitar-Steel+ +Electric-Guitar-Jazz+ +Electric-Guitar-Clean+ +Electric-Guitar-Muted+ +Acoustic-Bass+ +Electric-Bass-Finger+ +Fretless-Bass+) for pan in '(0 0 0 0 0 0 127 127 127) do (midi-write-message (make-program-change ch pr)) do (midi-write-message (make-control-change ch 10 pan))) (let ((output (io "Macintosh HD:Applications:cm-2.3.4:programs:test.midi"))) (events (test-play-scale 6) output :tempo 60)) At this point, cm plays the scale with +Acoustic-Bass+. But when I play the midi file using quicktime, I get acoustic piano. What do I need to do to hear the instrumentation when playing the midi file with quicktime? Thanks, George From bil at ccrma.Stanford.EDU Thu Jan 15 03:51:38 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 15 Jan 2004 03:51:38 -0800 Subject: [CM] LADSPA? In-Reply-To: <1074119940027028@lycos-europe.com> References: <1074119940027028@lycos-europe.com> Message-ID: <40067ECA.4080802@ccrma> > I don't find how to use the LADSPA plugins, I compiled with --with-ladspa, > but nothing appears in any menu??? Try loading ladspa.scm -- you should get a "Ladspa" menu. From taube at uiuc.edu Thu Jan 15 07:00:06 2004 From: taube at uiuc.edu (Rick Taube) Date: Thu, 15 Jan 2004 09:00:06 -0600 Subject: [CM] cm and quicktime: instrumentation In-Reply-To: <200401150844.i0F8ilJ16307@bloomfield.phil1.uni-potsdam.de> Message-ID: <81977A44-476B-11D8-A7A8-000A95674CE4@uiuc.edu> > 1. When I try to play directly to the midi port, I get rhythmic > inaccuracy, sometimes more, sometimes less. I assume there > must be some sort of real time mode that I haven't figured > out yet. do you get the same inaccuracy when you write a midi file and play that?? Its been some time since I looked at this old code, but i think when you output to the midi port its actually the Apple MIDI Manager that sends the timed events to the synth. > 2. When I use instruments other than the default acoustic piano, > I do hear them when I play them to the midi port, but when I > try to write this to a midi file and play the file using > quicktime, which involves converting the file to a quicktime > movie, the instrumentation gets lost and I only hear acoustic > piano. Here is some code to show what I've been trying to do. [...] > > What do I need to do to hear the instrumentation when playing the > midi file with quicktime? first verify that your channel values are being written to the midi file that CM writes as you expect, ie before you convert it. there is a function called 'midi-file-print' or 'midifile-print' or' print-midi-file' (sorry I cant remember the exact name) that will print the contents of the file to the terminal. If your files have the channel values you expect then its got to be some issue with quicktime+midi files. what happens when you play the CM output file to an external synth rather than Quicktime ?? If an external synth (or some other sequencer app) can manage your channel settings then its got to be something to do with Quicktime. -rick From bil at ccrma.Stanford.EDU Fri Jan 16 03:19:49 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 16 Jan 2004 03:19:49 -0800 Subject: [CM] LADSPA? In-Reply-To: <1074180545018760@lycos-europe.com> References: <1074180545018760@lycos-europe.com> Message-ID: <4007C8D5.7000907@ccrma> > 4) I reload an other sound : sync is still pressed but not working, > so to make it working I have to untoggle sync > first and presse it again. I think this bug was specific to the Gtk version -- it should be fixed now. Thanks for the bug report! > But how to load it? (load "ladspa.scm") But, I noticed that ladspa.scm currently assumes you've built Snd with Motif, and I think you must be running the Gtk version. There's a section about ladspa in grfsnd.html. From alinweiller at caramail.com Thu Jan 15 06:29:05 2004 From: alinweiller at caramail.com (alin weiller ) Date: Thu, 15 Jan 2004 15:29:05 +0100 Subject: [CM] LADSPA? Message-ID: <1074180545018760@lycos-europe.com> But how to load it? the documentation is not very clear for me. Thank's A-LIN > I don't find how to use the LADSPA plugins, I compiled with --with-ladspa, > but nothing appears in any menu??? Try loading ladspa.scm -- you should get a "Ladspa" menu. Les noms de domaine les moins chers du march? : 6,49 euros HT sur http://www.lycos.fr/pro . From george at bloomfield.phil1.uni-potsdam.de Fri Jan 16 07:53:16 2004 From: george at bloomfield.phil1.uni-potsdam.de (George Smith) Date: Fri, 16 Jan 2004 16:53:16 +0100 (CET) Subject: [CM] cm and quicktime: instrumentation In-Reply-To: <81977A44-476B-11D8-A7A8-000A95674CE4@uiuc.edu> from "Rick Taube" at Jan 15, 2004 09:00:06 AM Message-ID: <200401161553.i0GFrGM22243@bloomfield.phil1.uni-potsdam.de> > > > 1. When I try to play directly to the midi port, I get rhythmic > > inaccuracy, sometimes more, sometimes less. I assume there > > must be some sort of real time mode that I haven't figured > > out yet. > > do you get the same inaccuracy when you write a midi file and play > that?? Its been some time since I looked at this old code, but i think > when you output to the midi port its actually the Apple MIDI Manager > that sends the timed events to the synth. The rhythmic inaccuracy is not there when I write a midi file and play it back back (such as via quicktime). I don't really need to play anything straight from the listener though. > > > 2. When I use instruments other than the default acoustic piano, > > I do hear them when I play them to the midi port, but when I > > try to write this to a midi file and play the file using > > quicktime, which involves converting the file to a quicktime > > movie, the instrumentation gets lost and I only hear acoustic > > piano. Here is some code to show what I've been trying to do. > [...] > > > > What do I need to do to hear the instrumentation when playing the > > midi file with quicktime? > > first verify that your channel values are being written to the midi > file that CM writes as you expect, ie before you convert it. there is a > function called 'midi-file-print' or 'midifile-print' or' > print-midi-file' (sorry I cant remember the exact name) that will > print the contents of the file to the terminal. If your files have the > channel values you expect then its got to be some issue with > quicktime+midi files. what happens when you play the CM output file to > an external synth rather than Quicktime ?? If an external synth (or > some other sequencer app) can manage your channel settings then its > got to be something to do with Quicktime. After (let ((output (io "Macintosh HD:Applications:cm-2.3.4:programs:test.midi"))) (events (progn (loop for ch from 0 to 8 for pr in (list 0 +Acoustic-Guitar-Nylon+ +Acoustic-Guitar-Steel+ +Electric-Guitar-Jazz+ +Electric-Guitar-Clean+ +Electric-Guitar-Muted+ +Acoustic-Bass+ +Electric-Bass-Finger+ +Fretless-Bass+) for pan in '(0 0 0 0 0 0 127 127 127) do (midi-write-message (make-program-change ch pr)) do (midi-write-message (make-control-change ch 10 pan))) (test-play-scale 6)) output :tempo 60)) midi-file-print gives me the following: File: Macintosh HD:Applications:cm-2.3.4:programs:test.midi Format: 0 Tracks: 1 Division: 480 Track 0, length 83 0 # 0 # 240 # 0 # 240 # 0 # 240 # 0 # 240 # 0 # 240 # 0 # 240 # 0 # 240 # 0 # 240 # 0 # I'm very much of a beginner with midi. Up to now music for me has been something I do with acoustic instruments. I assume that something is being played on channel 6. I'm not sure what the midi code is supposed to look like that makes channel 6 be +Acoustic-Bass+. I think I'm going to read up on midi ;-) Thanks, George From pertid at chello.se Sat Jan 17 00:01:30 2004 From: pertid at chello.se (Per Bergqvist) Date: Sat, 17 Jan 2004 09:01:30 +0100 Subject: [CM] MidiShare-Frameworks-OSXJaguar-openmcl Message-ID: <5BE9E312-48C3-11D8-A2C0-000A9568EE84@chello.se> Hi all! I?ve gotten tired of constantly writing MIDI-files to disk and therefore is working on getting CM to use MidiShare-1.86 and MidiShareDev, for realtime MIDI-support. From what I understand, this is not the first time this issue has been discussed in this list. To my knowledge MidiShare installers do NOT install the neccessary directories/files to the locations found in 'MidiShare-Interface.lisp'! Simply put: The "/System/Library/Frameworks/MidiShare.framework/MidiShare" directory does NOT exist by default !!! Furthermore, in this file, 'MidiShare-Interface.lisp', there is a pointer to a file named 'libMidiShare.so', which is *probably* renamed in MidiShares most recent distr. to something like 'libMidiShare.dylib'(with a link to 'libMidiShare.1.8.6.dylib'). In nov-03 Mr. Taube very kindly responded to this issue [cite]: " From what I understand Grame is almost done with their OSX release of Midishare except for a bug they have with the latest Quicktime . Until they release their distribution for OSX, the directions I have on the install.html page are not correct. So I would hold off on midishare until Grame announces it. If you really dont want to wait then I can make my working midishare Frameworks available for you do download." I (one of probably many), would very much appriciate if these "working midishare frameworks" was some way or another made downloadable !!! NOTE: This is *not* what i believe a problem only in CM-2.4.1 and openmcl-0.14.x (as in below session snippet example !!) ;;;; Session snippet example 15.01.2004 16:06 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; bash-2.05a$ cm.sh ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/clm-stubs.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/cmn-stubs.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/midishare- stubs.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/pkg.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/openmcl.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/clos.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/iter.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/level1.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/scheme.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/utils.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/mop.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/objects.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/data.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/scales.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/spectral.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/patterns.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/io.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/scheduler.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/sco.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/clm.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/clm2.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/midi1.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/midi2.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/midi3.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/midishare.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/player.dfsl" ; Loading "/Lisp/cm-2.4.1/bin/openmcl_0.14-031220_darwin-powerpc/cmn.dfsl" ; Garbage collecting. /\\\ ---\\\--------- ----\\\-------- ----/\\\------- Common Music 2.4.1 ---/--\\\------ --/----\\\----- / \\\/ Welcome to OpenMCL Version (Alpha: Darwin) 0.14-031220! ? (load "/Lisp/cm-2.4.1/src/midishare/MidiShare-Interface.lisp") > Error in process listener(1): Error opening shared library "/System/Library/Frameworks/MidiShare.framework/MidiShare": dyld: /Lisp/ccl/dppccl can't open library: /System/Library/Frameworks/MidiShare.framework/MidiShare (No such file or directory, errno = 2) > > While executing: OPEN-SHARED-LIBRARY > Type :POP to abort. Type :? for other options. 1 > :POP ;; End of Session snippet ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Best regards Per Bergqvist, Stockholm From taube at uiuc.edu Sat Jan 17 06:56:49 2004 From: taube at uiuc.edu (Rick Taube) Date: Sat, 17 Jan 2004 08:56:49 -0600 Subject: [CM] MidiShare-Frameworks-OSXJaguar-openmcl References: <5BE9E312-48C3-11D8-A2C0-000A9568EE84@chello.se> Message-ID: <007f01c3dd0a$235106b0$dee21644@galen> Yes, this error is to be expected if you do not have the GRAME frameworks installed. If the frameworks are installed then it should work -- at least cm's test suite was happy on my machine last week. I guess I could make the frameworks available, but I would prefer not to since i think GRAME is close to their actual release and now there are 10.2/10.3 issues. Did you look on their web site or contact their user list for information about when their OS X release will happen. Im sure that would be of interest to a number of people on this list. > ? (load "/Lisp/cm-2.4.1/src/midishare/MidiShare-Interface.lisp") > > Error in process listener(1): Error opening shared library > "/System/Library/Frameworks/MidiShare.framework/MidiShare": dyld: > /Lisp/ccl/dppccl can't open library: > /System/Library/Frameworks/MidiShare.framework/MidiShare (No such file > or directory, errno = 2) > > > > While executing: OPEN-SHARED-LIBRARY From ferguson at music.mcgill.ca Sat Jan 17 20:49:34 2004 From: ferguson at music.mcgill.ca (Sean Ferguson) Date: Sat, 17 Jan 2004 23:49:34 -0500 Subject: [CM] MidiShare-Frameworks-OSXJaguar-openmcl In-Reply-To: <007f01c3dd0a$235106b0$dee21644@galen> References: <5BE9E312-48C3-11D8-A2C0-000A9568EE84@chello.se> <007f01c3dd0a$235106b0$dee21644@galen> Message-ID: On the OpenMusic mailing list it was recently noted that MidiShare doesn't work with Quicktime 6.4 and later and that Grame is working on a fix for this. >Yes, this error is to be expected if you do not have the GRAME frameworks >installed. If the frameworks are installed then it should work -- at least >cm's test suite was happy on my machine last week. >I guess I could make the frameworks available, but I would prefer not to >since i think GRAME is close to their actual release and now there are >10.2/10.3 issues. > >Did you look on their web site or contact their user list for information >about when their OS X release will happen. Im sure that would be of interest >to a number of people on this list. > >> ? (load "/Lisp/cm-2.4.1/src/midishare/MidiShare-Interface.lisp") >> > Error in process listener(1): Error opening shared library >> "/System/Library/Frameworks/MidiShare.framework/MidiShare": dyld: >> /Lisp/ccl/dppccl can't open library: >> /System/Library/Frameworks/MidiShare.framework/MidiShare (No such file >> or directory, errno = 2) >> > >> > While executing: OPEN-SHARED-LIBRARY > > > > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From mmturner at mindspring.com Sun Jan 18 07:24:02 2004 From: mmturner at mindspring.com (Mitchell Turner) Date: Sun, 18 Jan 2004 10:24:02 -0500 Subject: [CM] osx-10.3-snd Message-ID: <58BB9BD6-49CA-11D8-BE74-00039305E3B0@mindspring.com> I am asking a really dopey question I know but ... I downloaded the osx-10.3-snd file from the ccrma-ftp site, but I cannot figure out how to use it. Could someone please tell me how to use what I assume is a pre-compiled binary. I have OS10.3.2, bash, and X11. I tried the following using Terminal: $ ./osx-10.3-snd -bash: ./osx-10.3-snd: Permission denied Then I tried: $ sudo ./osx-10.3-snd sudo: ./osx-10.3-snd: command not found Thanks for any help, Mitch From bigswift at ufl.edu Sun Jan 18 08:35:01 2004 From: bigswift at ufl.edu (shreeswifty) Date: Sun, 18 Jan 2004 11:35:01 -0500 (EST) Subject: [CM] osx-10.3-snd Message-ID: <896614492.1074443701559.JavaMail.osg@spnode33> Mitchell, try chmod 777 osx-10.3-snd cheers~ Pat On Sun Jan 18 10:24:02 EST 2004, Mitchell Turner wrote: > I am asking a really dopey question I know but ... > > I downloaded the osx-10.3-snd file from the ccrma-ftp site, but I > cannot figure out how to use it. Could someone please tell me > how to use what I assume is a pre-compiled binary. I have > OS10.3.2, bash, and X11. > > I tried the following using Terminal: > > $ ./osx-10.3-snd > -bash: ./osx-10.3-snd: Permission denied > > Then I tried: > > $ sudo ./osx-10.3-snd > sudo: ./osx-10.3-snd: command not found > > > Thanks for any help, > Mitch > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > Patrick Pagano, B.S.,M.F.A Candidate Research And Development Assistant Digital Worlds Institute University Of Florida (352) 294-2070 From Acjmcc at aol.com Sun Jan 18 13:36:14 2004 From: Acjmcc at aol.com (Acjmcc at aol.com) Date: Sun, 18 Jan 2004 16:36:14 EST Subject: [CM] CMN rrq function : beaming across multiple staves Message-ID: Hi, I have been trying to beam across multiple staves using the "rrq" function. I want to have the stems, beaming and irrational text to only appear on the uppermost stave. Currently unwanted beams etc. appear on the other staves. I have tried to send "no-beams" etc to "rrq" but this appears not to work (... due to automatic beaming decisions?). Have I been doing something wrong or is there a way to 'hack' this from the function? Many thanks, Chris McClelland -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmturner at mindspring.com Sun Jan 18 13:39:33 2004 From: mmturner at mindspring.com (Mitchell Turner) Date: Sun, 18 Jan 2004 16:39:33 -0500 Subject: [CM] osx-10.3-snd In-Reply-To: <896614492.1074443701559.JavaMail.osg@spnode33> References: <896614492.1074443701559.JavaMail.osg@spnode33> Message-ID: Thanks Pat. Now I get this? $ ./osx-10.3-snd ERROR: In procedure primitive-load-path: ERROR: Unable to find file "ice-9/boot-9.scm" in load path Hmmm. Mitch On Jan 18, 2004, at 11:35 AM, shreeswifty wrote: > > > Mitchell, try > > chmod 777 osx-10.3-snd > > cheers~ > > Pat > > > > > > > > On Sun Jan 18 10:24:02 EST 2004, Mitchell Turner > wrote: > >> I am asking a really dopey question I know but ... >> I downloaded the osx-10.3-snd file from the ccrma-ftp site, but I >> cannot figure out how to use it. Could someone please tell me how to >> use what I assume is a pre-compiled binary. I have OS10.3.2, bash, >> and X11. >> I tried the following using Terminal: >> $ ./osx-10.3-snd >> -bash: ./osx-10.3-snd: Permission denied >> Then I tried: >> $ sudo ./osx-10.3-snd >> sudo: ./osx-10.3-snd: command not found >> Thanks for any help, >> Mitch >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > > Patrick Pagano, B.S.,M.F.A Candidate > Research And Development Assistant > Digital Worlds Institute > University Of Florida > (352) 294-2070 > From bigswift at ufl.edu Sun Jan 18 15:27:51 2004 From: bigswift at ufl.edu (Patrick Pagano) Date: Sun, 18 Jan 2004 18:27:51 -0500 Subject: [CM] osx-10.3-snd In-Reply-To: Message-ID: that is a guile thing i presume bill will have to tell you on that do you have that file on there? On Sunday, January 18, 2004, at 04:39 PM, Mitchell Turner wrote: > Thanks Pat. Now I get this? > > $ ./osx-10.3-snd > ERROR: In procedure primitive-load-path: > ERROR: Unable to find file "ice-9/boot-9.scm" in load path > > Hmmm. > Mitch > > > > > On Jan 18, 2004, at 11:35 AM, shreeswifty wrote: > >> >> >> Mitchell, try >> >> chmod 777 osx-10.3-snd >> >> cheers~ >> >> Pat >> >> >> >> >> >> >> >> On Sun Jan 18 10:24:02 EST 2004, Mitchell Turner >> wrote: >> >>> I am asking a really dopey question I know but ... >>> I downloaded the osx-10.3-snd file from the ccrma-ftp site, but I >>> cannot figure out how to use it. Could someone please tell me how >>> to use what I assume is a pre-compiled binary. I have OS10.3.2, >>> bash, and X11. >>> I tried the following using Terminal: >>> $ ./osx-10.3-snd >>> -bash: ./osx-10.3-snd: Permission denied >>> Then I tried: >>> $ sudo ./osx-10.3-snd >>> sudo: ./osx-10.3-snd: command not found >>> Thanks for any help, >>> Mitch >>> _______________________________________________ >>> Cmdist mailing list >>> Cmdist at ccrma.stanford.edu >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> >> >> Patrick Pagano, B.S.,M.F.A Candidate >> Research And Development Assistant >> Digital Worlds Institute >> University Of Florida >> (352) 294-2070 >> > > > Patrick Pagano,B.S. M.F.A candidate http://www.digitalworlds.ufl.edu http://www.screwmusicforever.com/SHREESWIFT From bil at ccrma.Stanford.EDU Mon Jan 19 03:42:14 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 19 Jan 2004 03:42:14 -0800 Subject: [CM] osx-10.3-snd In-Reply-To: References: Message-ID: <400BC296.2000005@ccrma> The osx-*-snd images were an experiment for someone who wanted a fully-statically-loaded snd. The only non-static library is libm. To use either, you still need to install Guile 1.6.4 somewhere (guile insists on reading a bunch of Scheme files upon startup, so you need it installed even if you load libguile.a). To redirect its search for these files, set the environment variable GUILE_LOAD_PATH: setenv GUILE_LOAD_PATH /Users/Mozart/Desktop/guile-1.6.4 (or wherever you installed it -- fink probably uses /sw or something like that). From mmturner at mindspring.com Mon Jan 19 13:09:04 2004 From: mmturner at mindspring.com (Mitchell Turner) Date: Mon, 19 Jan 2004 16:09:04 -0500 Subject: [CM] osx-10.3-snd In-Reply-To: <400BC296.2000005@ccrma> References: <400BC296.2000005@ccrma> Message-ID: Thanks, I'll do the setenv thing and then give it another try. Mitch On Jan 19, 2004, at 6:42 AM, Bill Schottstaedt wrote: > The osx-*-snd images were an experiment for someone who wanted > a fully-statically-loaded snd. The only non-static library is > libm. To use either, you still need to install Guile 1.6.4 > somewhere (guile insists on reading a bunch of Scheme files > upon startup, so you need it installed even if you load > libguile.a). To redirect its search for these files, set > the environment variable GUILE_LOAD_PATH: > > setenv GUILE_LOAD_PATH /Users/Mozart/Desktop/guile-1.6.4 > > (or wherever you installed it -- fink probably uses /sw > or something like that). > From mmturner at mindspring.com Wed Jan 21 09:08:38 2004 From: mmturner at mindspring.com (Mitchell Turner) Date: Wed, 21 Jan 2004 12:08:38 -0500 Subject: [CM] osx-10.3-snd In-Reply-To: <400BC296.2000005@ccrma> References: <400BC296.2000005@ccrma> Message-ID: <74D61E74-4C34-11D8-A52F-00039305E3B0@mindspring.com> Bill, The osx-10.3-snd binary from ccrma-ftp worked. I loaded fink, guile 1.6.4 openmotif, fftw. Then I used X11 (xterm instead of the OSX terminal), setenv GUILE_LOAD_PATH /sw/share/guile/1.6 SND worked very well. Thanks so much for all of your help getting it to run. Also thanks to Patrick and Josh. Mitch On Jan 19, 2004, at 6:42 AM, Bill Schottstaedt wrote: > The osx-*-snd images were an experiment for someone who wanted > a fully-statically-loaded snd. The only non-static library is > libm. To use either, you still need to install Guile 1.6.4 > somewhere (guile insists on reading a bunch of Scheme files > upon startup, so you need it installed even if you load > libguile.a). To redirect its search for these files, set > the environment variable GUILE_LOAD_PATH: > > setenv GUILE_LOAD_PATH /Users/Mozart/Desktop/guile-1.6.4 > > (or wherever you installed it -- fink probably uses /sw > or something like that). > From dlphilp at bright.net Thu Jan 22 05:47:03 2004 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 22 Jan 2004 08:47:03 -0500 Subject: [CM] CM to stdout ? In-Reply-To: <5CAE7FBA-469E-11D8-891C-000A95674CE4@uiuc.edu> References: <5CAE7FBA-469E-11D8-891C-000A95674CE4@uiuc.edu> Message-ID: <400FD457.20701@bright.net> Greetings: A quick question: How can I direct Common Music's output to stdout on a Linux system ? I'd like to employ CM from within Steven Yi's blue (a Csound programming environment). IIRC someone here has already done that. If so, please contact me on or off list, I'd like to know how it's done. TIA! Best, ++ dp From taube at uiuc.edu Thu Jan 22 16:23:55 2004 From: taube at uiuc.edu (Rick Taube) Date: Thu, 22 Jan 2004 18:23:55 -0600 Subject: [CM] CM to stdout ? References: <5CAE7FBA-469E-11D8-891C-000A95674CE4@uiuc.edu> <400FD457.20701@bright.net> Message-ID: <000401c3e147$307c83a0$f0794d44@galen> Yes the support for this is already there -- i added it after someone sent this request to the list. but its been awhile, ill have to look at the code to tell you the details, will reply again tomorrow when i get the chance to poke around. best -rick ----- Original Message ----- From: "Dave Phillips" To: "CMdist Mail" Sent: Thursday, January 22, 2004 7:47 AM Subject: [CM] CM to stdout ? > Greetings: > > A quick question: How can I direct Common Music's output to stdout on > a Linux system ? I'd like to employ CM from within Steven Yi's blue (a > Csound programming environment). IIRC someone here has already done > that. If so, please contact me on or off list, I'd like to know how it's > done. TIA! > > Best, > > ++ dp > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From maarten at iiia.csic.es Thu Jan 22 09:45:41 2004 From: maarten at iiia.csic.es (Maarten Grachten) Date: Thu, 22 Jan 2004 18:45:41 +0100 (CET) Subject: [CM] cmn and guile Message-ID: Dear people, I understand that CM and snd are available for guile. But I could not get any hint as to whether CMN is also available for guile. I am interested in the guile port of CMN. Does it exist? Thanks very much! Maarten Grachten From anders.vinjar at notam02.no Fri Jan 23 05:42:06 2004 From: anders.vinjar at notam02.no (Anders Vinjar) Date: 23 Jan 2004 14:42:06 +0100 Subject: [CM] cmn and guile In-Reply-To: References: Message-ID: >>> "MG" == Maarten Grachten writes: MG> I am interested in the guile port of CMN. Does it exist? Much of this port was done in august 2003, but was stopped by missing ratio-support in Guile. Bill Schottstaedt and others have since built ratio-support for Guile, but I havent had a chance to do the missing parts of cmn-guile myself. My intention is to peep into this again and finish it once i get some time, but i have no idea when that might be. So if anyone is interested in bringing this to an ending from where it was left, they can download a snapshot from august 7th here (with the standard disclaimers): ftp://notam02.uio.no/pub/Lisp/guile-cmn-v3.tar.bz2 When you open the tarball it leaves the normal cmn-directory (but here its called "transformert3/*.scm") together with a file "scratch.scm", and a directory "utils/*.scm" with various Guile things needed for doing the things we want. Look in "scratch.scm" on how to load things and get going, its like a temporary substitute for cmn-all.scm To work with the new ratios and Guile you will need to checkout the latest CVS-versions of guile and a gratio.tar.gz from CCRMA i think. (Ask Bill to get the correct procedure to these steps, last time i tried to checkout a development-version of Guile from CVS it timed-out the whole afternoon.) The cmn-guile snapshot from august is currently capable of doing things like this here: -------------- next part -------------- A non-text attachment was scrubbed... Name: aaa.eps Type: application/postscript Size: 21940 bytes Desc: cmn-score URL: -------------- next part -------------- from the following score: (let ((loc-slur-1 #f) (loc-slur-2 #f)) (cmn (size 30) (full-last-line #t) (system Brace (staff (staff-name "D-sharp - ukulele" (dx 1.0)) (treble) (cs4 s (begin (set! loc-slur-1 (begin-slur (slur-direction :down) (dx1 -2.0) (dy1 -3.0) (dy2 1.0))) loc-slur-1) (begin (set! loc-slur-2 (begin-slur (slur-direction :up) )) loc-slur-2)) (eighth-rest (begin-beam)) (c4 s (staccato) ) (ef4 s Accent (end-slur loc-slur-1)) (sixteenth-rest (end-beam)) (c5 q (double-flat) Fermata (end-slur loc-slur-2))) (staff (staff-name "B-flat -``thunder''") Bass (c2 e (mf (dx -1) (scale 1.0 3.0)) Tenuto) (d2 e (accent (justification :above) (dy -0.25)) (sfz (dx -1.0) (scale 2.0 1) (rotate 34)) (dynamic "sfzpImfrz")) (a2 q (begin-tie)) (a2 h (end-tie) Staccato) (c2 w Ppp))))) From taube at uiuc.edu Fri Jan 23 06:21:10 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 23 Jan 2004 08:21:10 -0600 Subject: [CM] CM to stdout ? In-Reply-To: <400FD457.20701@bright.net> References: <5CAE7FBA-469E-11D8-891C-000A95674CE4@uiuc.edu> <400FD457.20701@bright.net> Message-ID: <64593A19-4DAF-11D8-9E28-000A95674CE4@uiuc.edu> here is the info from a past changelog. Please let me know if it works or not for what you are doing -- im going to make a maintenace release in a few days and can encorporate any changes needed to get it to work. ill also add a stream io case to cm's test suite. o event output can now be sent to arbitrary streams in addition to files. [...] To output events to an arbitrary stream, create the event stream and use its :stream argument to pass it your Lisp stream destination. For example, to send CSound events to stdout: (define out (new sco-stream :stream *standard-output*)) (events (blur) out :header whatever) Note that some Lisp implementations provide special functions for specialized output to pipes and streams. For example in CLISP you can used the 'make-pipe-output-stream' to pipe your output to some app. From taube at uiuc.edu Fri Jan 23 08:22:54 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 23 Jan 2004 10:22:54 -0600 Subject: [CM] Midishare on OSX news In-Reply-To: <64593A19-4DAF-11D8-9E28-000A95674CE4@uiuc.edu> References: <5CAE7FBA-469E-11D8-891C-000A95674CE4@uiuc.edu> <400FD457.20701@bright.net> <64593A19-4DAF-11D8-9E28-000A95674CE4@uiuc.edu> Message-ID: <65CBF128-4DC0-11D8-A977-000A95674CE4@uiuc.edu> for those on OSX, I just tested the final prerelease of Midishare 1.87 and it seems to work fine on Panther and Quicktime 6.4. I will be including Midishare in the CM osx binary im preparing. From eliot at generation.net Fri Jan 23 12:41:13 2004 From: eliot at generation.net (Eliot Handelman) Date: Fri, 23 Jan 2004 15:41:13 -0500 Subject: [CM] Midishare on OSX news In-Reply-To: <65CBF128-4DC0-11D8-A977-000A95674CE4@uiuc.edu> References: <5CAE7FBA-469E-11D8-891C-000A95674CE4@uiuc.edu> <400FD457.20701@bright.net> <64593A19-4DAF-11D8-9E28-000A95674CE4@uiuc.edu> <65CBF128-4DC0-11D8-A977-000A95674CE4@uiuc.edu> Message-ID: <401186E9.5000506@generation.net> Rick Taube wrote: > for those on OSX, I just tested the final prerelease of Midishare 1.87 Not specific to CM, but has anyone here got mzshare going with PLT scheme on win32, in particular with mzplayer3216.dll? The lastest PLT (206?) doesn't want to load it and attempt to recompile led to some type mismatch error. many thanks, -- eliot From manseh1 at yahoo.de Sat Jan 24 01:41:19 2004 From: manseh1 at yahoo.de (Han Shin Kim) Date: Sat, 24 Jan 2004 10:41:19 +0100 Subject: [CM] multichannel with osx-10.2-snd thru motu828 Message-ID: <76519CA5-4E51-11D8-9511-000A956D665A@yahoo.de> Hi all, I have installed osx-10.2-snd on OSX(10.2.8) and it works. But I can't play 4-channel file with it thru motu828mkII. It sounds only mono or stereo, even if I chose motu as output device at System Preferences. Sould I set an environment variable in shell to choose the device? And how? From johannes.quint at web.de Sun Jan 25 05:52:52 2004 From: johannes.quint at web.de (Johannes Quint) Date: Sun, 25 Jan 2004 14:52:52 +0100 Subject: [CM] text-events on midifiles Message-ID: is it possible to write text-events on midifiles as in: (new seq comments (loop for comm in '("x" "y" "z") with tme = 0 collect (new midimsg time tme msg (text-msg comm)) do (incf tme))) thanks for hints j.quint From taube at uiuc.edu Sun Jan 25 10:19:02 2004 From: taube at uiuc.edu (Rick Taube) Date: Sun, 25 Jan 2004 12:19:02 -0600 Subject: [CM] text-events on midifiles References: Message-ID: <000601c3e36f$b6c22e40$b7e31644@galen> I think something like this should work: (defun text-msg (time text) (multiple-value-bind (m d) (make-text-event text) (new midimsg :time time :msg m :data d))) (new seq :name 'comments :subobjects (loop for comm in '("x" "y" "z") for time from 0 collect (text-msg time comm))) From pertid at chello.se Sat Jan 24 11:00:00 2004 From: pertid at chello.se (Per Bergqvist) Date: Sat, 24 Jan 2004 20:00:00 +0100 Subject: [CM] Midishare on OSX news In-Reply-To: <65CBF128-4DC0-11D8-A977-000A95674CE4@uiuc.edu> Message-ID: <824C4E67-4E9F-11D8-B401-000A9568EE84@chello.se> friday 23 january 2004, 17.22 Rick Taube wrote: > for those on OSX, I just tested the final prerelease of Midishare 1.87 > and it seems to work fine on Panther and Quicktime 6.4. I will be > including Midishare in the CM osx binary im preparing. > > _______________________________________________ > These are wonderful news !! I wonder, could this binary also be used on Jaguar and/or Quicktime 6.3/6.4 ? Happy lisping everyone ! best regards .pb From bil at ccrma.Stanford.EDU Mon Jan 26 03:35:59 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 26 Jan 2004 03:35:59 -0800 Subject: [CM] cmn and guile In-Reply-To: References: Message-ID: <4014FB9F.2030406@ccrma> > To work with the new ratios and Guile you will need to checkout > the latest CVS-versions of guile and a gratio.tar.gz from CCRMA i > think. (Ask Bill to get the correct procedure to these steps, > last time i tried to checkout a development-version of Guile from > CVS it timed-out the whole afternoon.) You don't need gratio.tar.gz anymore -- it's built into the CVS Guile. To build that version of Guile, I'd recommend that you get the entire guile project (not just guile-core), then I always have to change the argz.h macro to 1 by hand and manually copy libtool to guile-core. If you hit other problems, send me a note -- maybe I can help. From herbstmondwind at web.de Mon Jan 26 12:54:03 2004 From: herbstmondwind at web.de (daniel mayer) Date: Mon, 26 Jan 2004 21:54:03 +0100 Subject: [CM] midi-msgs Message-ID: <200401262054.i0QKs3Q26024@mailgate5.cinetic.de> Many Thanks to Rick Taube and Tobias Kunze, with version 2.4.1 it is really much easier to install and launch openmcl/emacs/cm-2.4.1 ! Concerning midi-msgs (OS9/cm-2.4.1) in writing a process with control-changes: ;--------- (defprocess dim-test-1 (chan dur amp-1 amp-2 steps) (process with amp-val with step-time = (/ dur steps 1.0) for i to steps do (setf amp-val (round (interpl (now) (list 0 amp-1 dur amp-2)))) (if (= i 0) (output (new midi time (now) channel chan duration dur amplitude amp-1)) (output (new midimsg msg (make-control-change chan 7 amp-val) time (now)))) (wait step-time))) ; This doesn't perform a diminuendo in 2.4.1 (it works in 2.3.4) : (events (dim-test-1 0 2 90 0 20) "midi.port") ; With a non-diminishing sound on channel 0 (midi-write-message (make-program-change 0 73) (io "midi.port") 0 nil) (events (dim-test-1 0 2 90 0 20) "midi.port") ; Writing a midi-file and looking at it with (events (dim-test-1 0 2 90 0 20) "dim-test.midi") (midi-file-print "dim-test.midi") ; gives (2.4.1) Format: 0 Tracks: 1 Division: 480 Track 0, length 99 0 # 0 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 0 # ; and (2.3.4) : Format: 0 Tracks: 1 Division: 480 Track 0, length 92 0 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 48 # 0 # 0 # ; ... but correct direct output ;--------------------------------- ; Using 'midi-write-message' directly I got this to run (2.4.1): (defprocess dim-test-2 (chan dur amp-1 amp-2 steps) (process with amp-val with step-time = (/ dur steps) for i to steps do (setf amp-val (round (interpl (now) (list 0 amp-1 dur amp-2)))) (if (= i 0) (output (new midi time (now) channel chan duration dur amplitude amp-1)) (midi-write-message (make-control-change chan 7 amp-val) *out* (now) nil)) (wait step-time))) (events (dim-test-2 0 2 90 0 20) "midi.port") But for writing it to a midi file the method 'midi-write-message' expects a different time format. Besides I couldn't reimport stored midi-msgs with 'import-events' (2.3.4 and 2.4.1). So how to handle these things? Thanks for any hint! Best Regards Daniel Mayer ______________________________________________________________________________ Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php From bil at ccrma.Stanford.EDU Tue Jan 27 04:14:09 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 27 Jan 2004 04:14:09 -0800 Subject: [CM] multichannel with osx-10.2-snd thru motu828 In-Reply-To: <76519CA5-4E51-11D8-9511-000A956D665A@yahoo.de> References: <76519CA5-4E51-11D8-9511-000A956D665A@yahoo.de> Message-ID: <40165611.5020408@ccrma> > I have installed osx-10.2-snd on OSX(10.2.8) and it works. > But I can't play 4-channel file with it thru motu828mkII. I don't have this card, so there's not a lot I can do. Send me the output of audinfo or (in Snd:) (mus-audio-describe) and maybe I'll see something. From taube at uiuc.edu Tue Jan 27 04:47:29 2004 From: taube at uiuc.edu (Rick Taube) Date: Tue, 27 Jan 2004 06:47:29 -0600 Subject: [CM] midi-msgs References: <200401262054.i0QKs3Q26024@mailgate5.cinetic.de> Message-ID: <003101c3e4d3$b9e4fc50$41016c40@galen> > Concerning midi-msgs (OS9/cm-2.4.1) in > writing a process with control-changes: > ; This doesn't perform a diminuendo in 2.4.1 (it works in 2.3.4) : > (events (dim-test-1 0 2 90 0 20) "midi.port") Hi thanks for the bug report -- Im confused about exactly what is not makeing the diminuendo in 2.4.1. In the example above, are you outputting to Midishare?? If so, please do (setq *dbg* t) and send me the trace output. > (events (dim-test-1 0 2 90 0 20) "dim-test.midi") > (midi-file-print "dim-test.midi") This example is to a regualr midi file and the output looks correct to me. Does it not work when you play it? From herbstmondwind at web.de Tue Jan 27 12:13:42 2004 From: herbstmondwind at web.de (daniel mayer) Date: Tue, 27 Jan 2004 21:13:42 +0100 Subject: [CM] midi-msgs Message-ID: <200401272013.i0RKDgQ20084@mailgate5.cinetic.de> An HTML attachment was scrubbed... URL: From manseh1 at yahoo.de Tue Jan 27 15:42:01 2004 From: manseh1 at yahoo.de (Han Shin Kim) Date: Wed, 28 Jan 2004 00:42:01 +0100 Subject: [CM] multichannel with osx-10.2-snd thru motu828 In-Reply-To: <40165611.5020408@ccrma> Message-ID: <67606E1E-5122-11D8-B3E3-000A956D665A@yahoo.de> Hi Bill, I send you the result of (mus-audio-descirbe). Is there any magic word to say to snd that the motu is multichannel device? best regards!!! found 2 audio devices Apple: Built-in audio controller (output) srate: 44100, chans: 2, bits/sample: 32, format: lpcm, buf: 4096 flags: float big-endian packed vols: 0.751 0.751 MOTU: MOTU 828mk2 (default output) srate: 44100, chans: 2, bits/sample: 32, format: lpcm, buf: 4096 flags: float big-endian packed vols: This device supports 4 formats: srate: 44100, chans: 2, bits/sample: 32, format: lpcm srate: 48000, chans: 2, bits/sample: 32, format: lpcm srate: 88200, chans: 2, bits/sample: 32, format: lpcm srate: 96000, chans: 2, bits/sample: 32, format: lpcm Apple: Built-in audio controller (input) srate: 44100, chans: 2, bits/sample: 32, format: lpcm, buf: 4096 flags: float big-endian packed vols: 0.500 0.500 MOTU: MOTU 828mk2 (default input) srate: 44100, chans: 2, bits/sample: 32, format: lpcm, buf: 4096 flags: float big-endian packed vols: This device supports 4 formats: srate: 44100, chans: 2, bits/sample: 32, format: lpcm srate: 48000, chans: 2, bits/sample: 32, format: lpcm srate: 88200, chans: 2, bits/sample: 32, format: lpcm srate: 96000, chans: 2, bits/sample: 32, format: lpcm 2004. 01. 27, ???, 01:14 PM, Bill Schottstaedt ??: > > I have installed osx-10.2-snd on OSX(10.2.8) and it works. > > But I can't play 4-channel file with it thru motu828mkII. > > I don't have this card, so there's not a lot I can do. Send > me the output of audinfo or (in Snd:) (mus-audio-describe) and maybe > I'll see something. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1825 bytes Desc: not available URL: From bil at ccrma.Stanford.EDU Wed Jan 28 07:46:51 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 28 Jan 2004 07:46:51 -0800 Subject: [CM] Re: clefs In-Reply-To: References: Message-ID: <4017D96B.1090504@ccrma> At the suggestion of Joakim Sandgren, I've added 3 more clefs to CMN: double-treble, quad-treble, and quad-bass (are there standard names for these clefs?). These are transposing clefs similar in effect to the current double-bass clef. From lt at westnet.com Wed Jan 28 17:49:37 2004 From: lt at westnet.com (Larry Troxler) Date: Wed, 28 Jan 2004 20:49:37 -0500 Subject: [CM] CM + CLM / installation instructions wrong Message-ID: <200401282049.37527.lt@westnet.com> I just got stumped for a few minutes again, trying to build a Common Music image (in Common Lisp) that has CLM included. Then I remembered it was documentation problem. The readme, together with the instructions you get after running the cm.lisp script the first time, are wrong. Restarting Lisp, and reloading the cm.lisp script doesn't work. Instead you must also reload CLM before loading cm.lisp the second time. I remember mentioning this quite a while ago - I guess it got lost. Happens. Larry From taube at uiuc.edu Wed Jan 28 18:31:59 2004 From: taube at uiuc.edu (Rick Taube) Date: Wed, 28 Jan 2004 20:31:59 -0600 Subject: [CM] CM + CLM / installation instructions wrong References: <200401282049.37527.lt@westnet.com> Message-ID: <007501c3e610$12b6f030$41016c40@galen> > The readme, together with the instructions you get after running the cm.lisp Hi, sorry but you must have a stale version of cm -- the latest release (cm-2.4.1) HAS no such instructions since its a one-pass build. to install cm 2.4.1 on some version of unix, untar the archive, then execute the bin/cm.sh script: $ cd cm-2.4.1 $ bin/cm.sh thats it. see: http://commonmusic.sf.net/doc/install.html From taube at uiuc.edu Thu Jan 29 18:35:21 2004 From: taube at uiuc.edu (Rick Taube) Date: Thu, 29 Jan 2004 20:35:21 -0600 Subject: [CM] midi-msgs References: <200401262054.i0QKs3Q26024@mailgate5.cinetic.de> Message-ID: <000c01c3e6d9$b5c11ed0$41016c40@galen> > ; This doesn't perform a diminuendo in 2.4.1 (it works in 2.3.4) : > (events (dim-test-1 0 2 90 0 20) "midi.port") > ; With a non-diminishing sound on channel 0 it turns out the problem was that I forgot to include a write-event method for midimsg in the midishare code. ooops! its fixed in cvs (but only the cm-2_4_1-fixes branch) and will be included it in the release tarball I hope to make tomorrow morning. -rick From bil at ccrma.Stanford.EDU Fri Jan 30 03:28:14 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 30 Jan 2004 03:28:14 -0800 Subject: [CM] multichannel with osx-10.2-snd thru motu828 In-Reply-To: <76519CA5-4E51-11D8-9511-000A956D665A@yahoo.de> References: <76519CA5-4E51-11D8-9511-000A956D665A@yahoo.de> Message-ID: <401A3FCE.2050804@ccrma> I looked at portaudio's code for this, and it appears that the Motu card is a special case in this regard. So, I've added a check for that in audio.c, and it's worth a try rebuilding sndplay or snd with the new audio.c. In Snd, you can find out what it thinks the max chan is via (define vals (make-vector 4)) (mus-audio-mixer-read mus-audio-default mus-audio-channel 4 vals) (vector-ref vals 0) Also, in the new code if the two max-chan values differ, you'll see a mild complaint about that in mus-audio-describe. From lt at westnet.com Fri Jan 30 06:57:29 2004 From: lt at westnet.com (Larry Troxler) Date: Fri, 30 Jan 2004 09:57:29 -0500 (EST) Subject: [CM] CM + CLM / installation instructions wrong In-Reply-To: <007501c3e610$12b6f030$41016c40@galen> References: <200401282049.37527.lt@westnet.com> <007501c3e610$12b6f030$41016c40@galen> Message-ID: On Wed, 28 Jan 2004, Rick Taube wrote: > > Hi, sorry but you must have a stale version of cm -- the latest release > (cm-2.4.1) HAS no such instructions since its a one-pass build. to install > cm 2.4.1 on some version of unix, untar the archive, then execute the > bin/cm.sh script: > $ cd cm-2.4.1 > $ bin/cm.sh > thats it. see: > http://commonmusic.sf.net/doc/install.html > Oops. Sorry about that, Rick. I had forgotten that the project had moved to sourceforge. Larry Troxler From bigswift at ufl.edu Fri Jan 30 07:07:09 2004 From: bigswift at ufl.edu (Patrick Pagano) Date: Fri, 30 Jan 2004 10:07:09 -0500 Subject: [CM] nyquist(ot) In-Reply-To: Message-ID: i know this is Ot but does anyone have any experience with nyquist on osx? cheers Patrick Pagano,B.S. M.F.A candidate http://www.digitalworlds.ufl.edu http://www.screwmusicforever.com/SHREESWIFT From taube at uiuc.edu Fri Jan 30 11:39:00 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 30 Jan 2004 13:39:00 -0600 Subject: [CM] cm-2.4.2 available Message-ID: CM 2.4.2 is available from: http://sourceforge.net/project/showfiles.php?group_id=9766 ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/sources/cm-2.4.2.tar.gz This is a maintenace release, mostly dealing with make.lisp issues, midishare and some formatting errors. A big Thank You to Fernando Lopez-Lezcano for helping me find/fix the bugs! From taube at uiuc.edu Fri Jan 30 11:39:09 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 30 Jan 2004 13:39:09 -0600 Subject: [CM] drag'n drop CLM+CM+CMN (OS X) Message-ID: An OSX binary release of CM 2.4.2 with the latest CLM-2, CMN and MidiShare is available from sourceforge and ccrma: http://sourceforge.net/project/showfiles.php?group_id=9766 ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/binaries/cm-2.4.2-app- osx.dmg.gz The archive contains CM.app, a relocatable OS X application. To install, uncompress the archive, double-click to open the disk image and then drag the CM icon into your Applications folder. All system sources are located under the app's install directory and can be accessed from Lisp via the MUS logical hostname: (compile-file "mus:clm;v.ins") (load "mus:cm;src;midishare;midishare.lisp") (directory "mus:cm;doc;*.html") (load "mus:cmn;fux.cmn") By default CM.app starts running as a sub-process of OS X Emacs. You can download a binary of OS X Emacs for Jaguar or Panther from: http://www.mindlube.com/products/emacs/ I have tested CM.app in Panther (10.3.2). Most of it should work in Jaguar but if you will be compiling CLM instruments or working with MidiShare then you should upgrade to Panther (include the developer tools from the XCode CD in the install set.) Information: 1. The application bundles the following systems together: OpenMCL 0.14-031108 CLM-2 16 (30-Jan-04 tarball) CM 2.4.2 CMN "Common Music Notation 26-Jan-04" MidiShare 1.87 2. The application defines the following logical directories: mus:clm; mus:cm; mus:cmn; ccl:darwin-headers;midishare; These logical pathnames map to the actual release directories installed under the application's runtime directory CM.app/Contents/MacOS/. The directories are set to be writable by anyone. 3. Executables and the "cminit.lisp" initialization file are in the bin/ subirectory. The cminit.lisp does a (use-package :clm) when you start up. 4. CM.app contains the openmcl FFI to MidiShare. You must install MidiShare 1.87 before you use the FFI. To activate a MidiShare connection, first load CM's interface and then output MIDI events to "midi.port": (load "mus:cm;src;midishare;midishare.lisp") (events (whatever) "midi.port") 5. You might be able to run CM under X Windows/xemacs instead of the Aqua Emacs if you execute this shell command: defaults write -app Common\ Music editor xemacs From taube at uiuc.edu Fri Jan 30 12:08:43 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 30 Jan 2004 14:08:43 -0600 Subject: [CM] midishare clarification In-Reply-To: References: Message-ID: <1ACEDED6-5360-11D8-944B-000A95674CE4@uiuc.edu> Just to be clear about midishare in cm 2.4.2 and CM.app: CM.app contains the _hooks_ to midishare but it will not work unless you install Grame's Midishare package on your machine firstf. And don't try to work with Midishare from CM until/unless you have successfully used their msDrivers and msController apps to verify that you can acctually send MIDI output to Midishare. Then, to activate a connection from within CM you do: ? (load "mus:cm;src;midishare;MidiShare-Interface.lisp") [Note: the directions I emailed in the announcement had a typo -- do not load midishare.lisp, load MidiShare-Interface.lisp] Once you've loaded the interface file you can test to see if MidiShare is happy by calling (midishare) If it returns a 1 you win if you get a 0 you lose: ? (midishare) 1 at that point you can send to "midi.port". But since there is a delay the first time Midishare is opened (on osx at least) , you might want to open a connection by hand first: ? (midi-open) # and then: ? (events (whatever) "midi.port") The last test in etc/test.cm has some tests you can peform by hand. From bigswift at ufl.edu Fri Jan 30 12:44:22 2004 From: bigswift at ufl.edu (shreeswifty) Date: Fri, 30 Jan 2004 15:44:22 -0500 (EST) Subject: [CM] drag'n drop CLM+CM+CMN (OS X) Message-ID: <670938045.1075495462783.JavaMail.osg@spnode33> Rick i have XEmacs fro OS X is there a way to use it? Pat On Fri Jan 30 14:39:09 EST 2004, Rick Taube wrote: > An OSX binary release of CM 2.4.2 with the latest CLM-2, CMN and > MidiShare is available from sourceforge and ccrma: > > http://sourceforge.net/project/showfiles.php?group_id=9766 > ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/binaries/cm-2.4.2-app- > osx.dmg.gz > > The archive contains CM.app, a relocatable OS X application. To > install, uncompress the archive, double-click to open the disk > image and then drag the CM icon into your Applications folder. > > All system sources are located under the app's install directory > and > can be accessed from Lisp via the MUS logical hostname: > > (compile-file "mus:clm;v.ins") > (load "mus:cm;src;midishare;midishare.lisp") > (directory "mus:cm;doc;*.html") > (load "mus:cmn;fux.cmn") > > By default CM.app starts running as a sub-process of OS X Emacs. > You > can download a binary of OS X Emacs for Jaguar or Panther from: > > http://www.mindlube.com/products/emacs/ > > I have tested CM.app in Panther (10.3.2). Most of it should work > in > Jaguar but if you will be compiling CLM instruments or working > with > MidiShare then you should upgrade to Panther (include the > developer > tools from the XCode CD in the install set.) > > > Information: > > 1. The application bundles the following systems together: > > OpenMCL 0.14-031108 > CLM-2 16 (30-Jan-04 tarball) > CM 2.4.2 > CMN "Common Music Notation 26-Jan-04" > MidiShare 1.87 > > 2. The application defines the following logical directories: > > mus:clm; > mus:cm; > mus:cmn; > ccl:darwin-headers;midishare; > > These logical pathnames map to the actual release directories > installed under the application's runtime directory > CM.app/Contents/MacOS/. The directories are set to be > writable by > anyone. > > 3. Executables and the "cminit.lisp" initialization file are in > the > bin/ subirectory. The cminit.lisp does a (use-package :clm) > when > you start up. > > 4. CM.app contains the openmcl FFI to MidiShare. You must install > MidiShare 1.87 before you use the FFI. To activate a > MidiShare > connection, first load CM's interface and then output MIDI > events > to "midi.port": > > (load "mus:cm;src;midishare;midishare.lisp") > (events (whatever) "midi.port") > > 5. You might be able to run CM under X Windows/xemacs instead of > the > Aqua Emacs if you execute this shell command: > > defaults write -app Common\ Music editor xemacs > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > Patrick Pagano, B.S.,M.F.A Candidate Research And Development Assistant Digital Worlds Institute University Of Florida (352) 294-2070 From taube at uiuc.edu Fri Jan 30 13:05:00 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 30 Jan 2004 15:05:00 -0600 Subject: [CM] drag'n drop CLM+CM+CMN (OS X) In-Reply-To: <670938045.1075495462783.JavaMail.osg@spnode33> References: <670938045.1075495462783.JavaMail.osg@spnode33> Message-ID: I cant figure out how to launch an XWindows app from under an Aqua app, im not sure its evne possible. I actually use both Emacs.app and xmeacs on OSX i honestly now prefer the Aqua Emacs (I still perfer xemacs on all ny other machines...) you might try the Aqua Emacs out, its quite pretty and has some nice features. on panther I cant even do 'xemacs' from the Terminal and get it to start in Xwindows. From taube at uiuc.edu Fri Jan 30 13:05:00 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 30 Jan 2004 15:05:00 -0600 Subject: [CM] drag'n drop CLM+CM+CMN (OS X) In-Reply-To: <670938045.1075495462783.JavaMail.osg@spnode33> References: <670938045.1075495462783.JavaMail.osg@spnode33> Message-ID: I cant figure out how to launch an XWindows app from under an Aqua app, im not sure its evne possible. I actually use both Emacs.app and xmeacs on OSX i honestly now prefer the Aqua Emacs (I still perfer xemacs on all ny other machines...) you might try the Aqua Emacs out, its quite pretty and has some nice features. on panther I cant even do 'xemacs' from the Terminal and get it to start in Xwindows. From taube at uiuc.edu Fri Jan 30 13:20:30 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 30 Jan 2004 15:20:30 -0600 Subject: [CM] drag'n drop CLM+CM+CMN (OS X) In-Reply-To: References: <670938045.1075495462783.JavaMail.osg@spnode33> Message-ID: <218570C2-536A-11D8-A772-000A95674CE4@uiuc.edu> > Rick > i have XEmacs fro OS X is there a way to use it? > > Pat I have hooks in CM.app that IN THEORYtshould allow you start under whatever editor you want. IN THEORY you should be able to do: defaults write -app CM editor /sw/bin/xemacs and away you go. but there are two probelms, the first minor, the second major: 1. you have to fix a typo of mine: edit the script CM.app/Contents/MacOS/cmapp.sh and change the line: EDITOR=`defaults read -app Common\ Music editor 2>/dev/null` to: EDITOR=`defaults read -app CM editor 2>/dev/null` 2. It still wont work because OS X deesnt seem to want to start XWindows/xemacs from a shell command exec'ed under a double-clicked App. I dont know why, maybe some OSX guru on the list (if there are any) could help me out. I played around with it for an hour or so and gave up, im not sure its evne possible. Once you give up trying to launch xemacs, you can reset CM.app back to the default Emacs.app editor choice by doing: defaults delete -app CM editor I actually use both Emacs.app and xemacs on OSX i honestly now prefer the Aqua version (I still perfer xemacs on all ny other machines...) so you might try the Aqua Emacs at mindlube out, its quite pretty and has nice features. From taube at uiuc.edu Fri Jan 30 18:05:12 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 30 Jan 2004 20:05:12 -0600 Subject: [CM] cm / xemacs on osx References: <670938045.1075495462783.JavaMail.osg@spnode33> <218570C2-536A-11D8-A772-000A95674CE4@uiuc.edu> Message-ID: <004301c3e79e$a9e93d70$41016c40@galen> just to beat a dead horse... on OSX you can probably start cm in xemacs under xterm: untar cm-2.4.2.tar.gz start xterm cd /path/to/cm-2.4.2 bin/cm.sh -e xemacs of course its not CM.app but it should start cm running under xemacs, compiling/loading cm if necessary. From lt at westnet.com Sat Jan 31 06:29:28 2004 From: lt at westnet.com (Larry Troxler) Date: Sat, 31 Jan 2004 09:29:28 -0500 Subject: [CM] CLM on LInux Cmucl - "Unknown foreign symbol" Message-ID: <200401310929.28292.lt@westnet.com> Hello, I'm trying to get setup, and tried to follow the example in the introduction section of the manual. Unfortunately, it doesn't work - does anyone have any ideas of what the problem might be? Thanks Larry Troxler CMU Common Lisp 18d, running on dhcp-65-131 Send questions to cmucl-help at cons.org. and bug reports to cmucl-imp at cons.org. Loaded subsystems: Python 1.0, target Intel x86 CLOS based on PCL version: September 16 92 PCL (f) * (load "all") ; Loading #p"/root/clm-2/all.lisp". ;; Loading #p"/root/clm-2/clm-package.x86f". ;; Loading #p"/root/clm-2/initmus.x86f". ;;; Running /usr/bin/ld... ;;; Done. ;; Loading #p"/root/clm-2/sndlib2clm.x86f". ;; Loading #p"/root/clm-2/defaults.x86f". ;; Loading #p"/root/clm-2/ffi.x86f". ;; Loading #p"/root/clm-2/io.x86f". ;; Loading #p"/root/clm-2/mus.x86f". ;; Loading #p"/root/clm-2/run.x86f". ;; Loading #p"/root/clm-2/cmus.x86f". ;; Loading #p"/root/clm-2/sound.x86f". ;; Loading #p"/root/clm-2/clm-help.x86f". ;; Loading #p"/root/clm-2/defins.x86f". ;; Loading #p"/root/clm-2/env.x86f". ;; Loading #p"/root/clm-2/clm-snd.x86f". ;; Loading #p"/root/clm-2/rt.x86f". ;; Loading #p"/root/clm-2/export.x86f". ;; Loading #p"/root/clm-2/clm1.x86f". T * (compile-file "v.ins") ; Writing "/root/clm-2/clm_lnxcmu_FM_VIOLIN.c" ; Compiling "/root/clm-2/clm_lnxcmu_FM_VIOLIN.c" ; Creating shared object file "/root/clm-2/clm_lnxcmu_FM_VIOLIN_0.so" #p"/root/clm-2/v.x86f" NIL NIL * (load "v") ; Loading #p"/root/clm-2/v.x86f". Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: Unknown foreign symbol: "clm_lnxcmu_fm_violin2" Restarts: 0: [CONTINUE] Return NIL from load of "v". 1: [ABORT ] Return to Top-Level. Debug (type H for help) (COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX "clm_lnxcmu_fm_violin2") Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/x86-vm.lisp. 0] From taube at uiuc.edu Sat Jan 31 06:55:57 2004 From: taube at uiuc.edu (Rick Taube) Date: Sat, 31 Jan 2004 08:55:57 -0600 Subject: [CM] CLM on LInux Cmucl - "Unknown foreign symbol" References: <200401310929.28292.lt@westnet.com> Message-ID: <003601c3e80a$55fcbe50$f4e31644@galen> In CMUCL you have to load "v.cmucl" after compiling "v.ins": (compile-file "v.ins") (load "v.cmucl") (with-sound () (fm-violin 0 1 440 .1)) From johannes.quint at web.de Sat Jan 31 07:00:18 2004 From: johannes.quint at web.de (Johannes Quint) Date: Sat, 31 Jan 2004 16:00:18 +0100 Subject: [CM] midishare clarification In-Reply-To: <1ACEDED6-5360-11D8-944B-000A95674CE4@uiuc.edu> Message-ID: <2EF49D88-53FE-11D8-8D24-000393B906B6@web.de> Am Freitag, 30.01.04, um 21:08 Uhr (Europe/Berlin) schrieb Rick Taube: > CM.app contains the _hooks_ to midishare but it will not work unless > you install Grame's Midishare package on your machine first which version of midishare do you use? is there a 1.8.7? on grame's website, i only find 1.86 and this doesn't seem to work with my os panther... j. From lt at westnet.com Sat Jan 31 07:03:11 2004 From: lt at westnet.com (Larry Troxler) Date: Sat, 31 Jan 2004 10:03:11 -0500 Subject: [CM] Re: CLM on LInux Cmucl - "Unknown foreign symbol" In-Reply-To: <200401310929.28292.lt@westnet.com> References: <200401310929.28292.lt@westnet.com> Message-ID: <200401311003.11127.lt@westnet.com> I think I found the answer in the archives - Bill said that due to what he thinks is a bug in CMUCL, we need to (load "v.cmucl") and not (load "v"). At least now it loads with out errors! Larry Troxler On Saturday 31 January 2004 09:29, Larry Troxler wrote: > Hello, I'm trying to get setup, and tried to follow the example in the > introduction section of the manual. Unfortunately, it doesn't work - does > anyone have any ideas of what the problem might be? > > Thanks > > Larry Troxler > > CMU Common Lisp 18d, running on dhcp-65-131 > Send questions to cmucl-help at cons.org. and bug reports to > cmucl-imp at cons.org. Loaded subsystems: > Python 1.0, target Intel x86 > CLOS based on PCL version: September 16 92 PCL (f) > * (load "all") > > ; Loading #p"/root/clm-2/all.lisp". > ;; Loading #p"/root/clm-2/clm-package.x86f". > ;; Loading #p"/root/clm-2/initmus.x86f". > ;;; Running /usr/bin/ld... > ;;; Done. > ;; Loading #p"/root/clm-2/sndlib2clm.x86f". > ;; Loading #p"/root/clm-2/defaults.x86f". > ;; Loading #p"/root/clm-2/ffi.x86f". > ;; Loading #p"/root/clm-2/io.x86f". > ;; Loading #p"/root/clm-2/mus.x86f". > ;; Loading #p"/root/clm-2/run.x86f". > ;; Loading #p"/root/clm-2/cmus.x86f". > ;; Loading #p"/root/clm-2/sound.x86f". > ;; Loading #p"/root/clm-2/clm-help.x86f". > ;; Loading #p"/root/clm-2/defins.x86f". > ;; Loading #p"/root/clm-2/env.x86f". > ;; Loading #p"/root/clm-2/clm-snd.x86f". > ;; Loading #p"/root/clm-2/rt.x86f". > ;; Loading #p"/root/clm-2/export.x86f". > ;; Loading #p"/root/clm-2/clm1.x86f". > T > * (compile-file "v.ins") > ; Writing "/root/clm-2/clm_lnxcmu_FM_VIOLIN.c" > ; Compiling "/root/clm-2/clm_lnxcmu_FM_VIOLIN.c" > ; Creating shared object file "/root/clm-2/clm_lnxcmu_FM_VIOLIN_0.so" > #p"/root/clm-2/v.x86f" > NIL > NIL > * (load "v") > > ; Loading #p"/root/clm-2/v.x86f". > > > Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: > Unknown foreign symbol: "clm_lnxcmu_fm_violin2" > > Restarts: > 0: [CONTINUE] Return NIL from load of "v". > 1: [ABORT ] Return to Top-Level. > > Debug (type H for help) > > (COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX "clm_lnxcmu_fm_violin2") > Source: Error finding source: > Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer > exists: > target:code/x86-vm.lisp. > 0] From taube at uiuc.edu Sat Jan 31 07:25:46 2004 From: taube at uiuc.edu (Rick Taube) Date: Sat, 31 Jan 2004 09:25:46 -0600 Subject: [CM] midishare clarification References: <2EF49D88-53FE-11D8-8D24-000393B906B6@web.de> Message-ID: <000401c3e80e$80896520$f4e31644@galen> The release canditate they sent me is 1.87 so I guess they still have not released it. They do not want me to give my frameworks out (I asked). You might send a note to their list and ask when they plan to release it. Im not sure if 1.87 is supposed to work in Jaguar or not -- you better ask about that as well. In the meantime you can still use cm.app as is and only load the midishare interface when you actually have midishare installed. ----- Original Message ----- From: "Johannes Quint" To: Sent: Saturday, January 31, 2004 9:00 AM Subject: Re: [CM] midishare clarification > > Am Freitag, 30.01.04, um 21:08 Uhr (Europe/Berlin) schrieb Rick Taube: > > > CM.app contains the _hooks_ to midishare but it will not work unless > > you install Grame's Midishare package on your machine first > > which version of midishare do you use? is there a 1.8.7? on grame's > website, i only find 1.86 and this doesn't seem to work with my os > panther... > > j. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From lt at westnet.com Sat Jan 31 08:48:56 2004 From: lt at westnet.com (Larry Troxler) Date: Sat, 31 Jan 2004 11:48:56 -0500 Subject: [CM] Basic problem with CM:events (?) Message-ID: <200401311140.45818.lt@westnet.com> Another basic question, as I'm getting things set up. It seems, using the stock cm-2.4.2., built and loaded as per instructions, I get the following type of error. I get the same error if I try to write a CLM event. FWIW, (io-stream-classes) returns an empty list always. I know I must be missing something obvious here. Larry Troxler CMU Common Lisp 18d, running on dhcp-65-131 Send questions to cmucl-help at cons.org. and bug reports to cmucl-imp at cons.org. Loaded subsystems: Python 1.0, target Intel x86 CLOS based on PCL version: September 16 92 PCL (f) * (events (new midi time 0 keynum 30 duration 1) "test.midi") Error in function FILENAME->IO-CLASS: No file or port class for "test.midi". Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) (FILENAME->IO-CLASS "test.midi") Source: ; File: /root/cm-2.4.2/src/io.lisp (ERROR "No file or port class for ~s." PATH) 0] From taube at uiuc.edu Sat Jan 31 10:38:40 2004 From: taube at uiuc.edu (Rick Taube) Date: Sat, 31 Jan 2004 12:38:40 -0600 Subject: [CM] cmu18/cm (was: Basic problem with CM:events (?)) Message-ID: <007f01c3e829$72a7ab40$f4e31644@galen> > I know I must be missing something obvious here. > > Larry Troxler no its my fault -- its an incompatible change between cmucl 18e and 19 . I used cmucl 19 and forgot to test in 18e again. im sorry -- its almost impossible for me now to keep up with all the lisps and versions and os's -- im ssh'ing all over the globe just to test. Im going to have to make some scripts that automate testing, i simply cant keep up otherwise. the fix is simple: edit src/cmu.lisp, and locate the function definition for class-subclasses. underneath that defun there is a commented out version of the same functoin. thats the version you need for 18e. or you can just replace the existing function with: ------------------------------------------------------ #+cmu19 (defun class-subclasses (c) (let ((subs (pcl::class-direct-subclasses c))) (if (null subs) '() (loop for s in subs append (cons s (class-subclasses s)))))) #+cmu18 (defun class-subclasses (class) (let ((tbl (kernel:class-subclasses class)) (sub '())) (maphash (lambda (k v) v (push k sub)) tbl) (nreverse sub))) #-(or cmu19 cmu18) (error "Fix class-subclasses for this version of cmu.") ------------------------------------------------------------- ive fixed cmu.lisp in cvs on the rel-2_4_1-fixes branch (revision: 1.6.2.2). From jamesravan at comcast.net Sat Jan 31 17:28:10 2004 From: jamesravan at comcast.net (James Ravan) Date: Sat, 31 Jan 2004 20:28:10 -0500 Subject: [CM] Planet CCRMA, ALSA, and SB PCI 512 Message-ID: <000901c3e862$a7bd5cb0$0200a8c0@xp1> All, Slightly off topic, I'm trying to transition to Planet CCRMA from Windows XP. I've upgraded my XP drivers and can hear my SB PCI 512 card under Windows just fine, so I know the hardware's OK. But under Planet CCRMA/Fedora Core 1, I can't hear the card at all. I'm at the "upgrade kernel and install ALSA" stage. And no, I didn't check whether I could hear the card under OSS before installing ALSA. The instructions were clear enough that I thought it would just work. Anyone have ideas about how I can track down the problem? There do *not* seem to be any OSS modules running, at least as far as modules.conf says or I can see from /sbin/lsmod. All the alsa modules seem to have been loaded and are running. alsamixer seems to think the volumes are up and noone is muted. Any help would be much appreciated, -jim