From carl.boingie at rcn.com Mon Jun 3 14:14:00 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Mon, 3 Jun 2002 17:14:00 -0400 Subject: [CM] tutorial question (newbie) Message-ID: <000301c20b64$adca0bd0$35e17ad1@laptop> Hi, I have a question regarding CM and the tutorial by Tobias Kunze called "Using Loop". First let me say I am indepted to all of ya'll who have posted tutorials, examples, and whatnot to your web pages. Ain't Google wonderful. =) In the Loop tutorial Mr. Kunze uses a function called "thread". As in: (thread feigenbaum () (loop repeat 100 for x = .618 then (* x 3.9213 (- 1.0 x)) do (object midi-note note (note (+ (* x 1000) 100)) rhythm .1 duration .1 amplitude .5))) I haven't been able to find that object, function, macro or (?) in the CM docs and I was wondering if it reflects an earlier organization. Is "thread" a type of container? And (if it is from an earlier version) what's an appropriate replacement for this type of case? Pardon my ignorance. I'm just learning Lisp and CM. Thanks in advance for any help. Carl Edwards School of Visual Arts, NYC From anders.vinjar at notam02.no Tue Jun 4 00:22:17 2002 From: anders.vinjar at notam02.no (Anders Vinjar) Date: 04 Jun 2002 09:22:17 +0200 Subject: [CM] tutorial question (newbie) In-Reply-To: <000301c20b64$adca0bd0$35e17ad1@laptop> References: <000301c20b64$adca0bd0$35e17ad1@laptop> Message-ID: CE> In the Loop tutorial Mr. Kunze uses a function called "thread". As in: CE> (thread feigenbaum () CE> (loop repeat 100 CE> for x = .618 then (* x 3.9213 (- 1.0 x)) CE> do (object midi-note CE> note (note (+ (* x 1000) 100)) CE> rhythm .1 duration .1 amplitude .5))) CE> I haven't been able to find that object, function, macro or (?) in the CM CE> docs and I was wondering if it reflects an earlier organization. Is "thread" CE> a type of container? And (if it is from an earlier version) what's an CE> appropriate replacement for this type of case? You're right, CM had a major reorganisation some time ago. Heres something similar translated to the new CM: (defprocess feigenbaum () (process repeat 100 for x = .618 then (* x 3.9213 (- 1.0 x)) do (output (new midi time (now) keynum (+ (* x 1000) 100) duration .1 amplitude .5)) (wait .1))) And to cache the output in a midi-file: (events #!feigenbaum "/tmp/feig.midi") From taube at uiuc.edu Tue Jun 4 17:18:29 2002 From: taube at uiuc.edu (Rick Taube) Date: Tue, 4 Jun 2002 17:18:29 -0700 Subject: [CM] tutorial question (newbie) References: <000301c20b64$adca0bd0$35e17ad1@laptop> Message-ID: <001101c20c26$86135660$a11e7e82@music.uiuc.edu> anders is right, there was a major cleanup two years ago. a seq is now the closest thing to a thread in cm2. its not the same though, a thread had the nice feature of ensuring that each subobject completed before the next one started. this is not the case with a seq, which orders its subobjects by start time but the subobjects may contian overlapping events. > From carl.boingie at rcn.com Tue Jun 4 18:31:43 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Tue, 4 Jun 2002 21:31:43 -0400 Subject: [CM] tutorial question (newbie) Message-ID: <003501c20c30$c18aae50$4add7ad1@laptop> Thanks Rick. I'm reading your "Introduction To Common Music" tonight which I found somewhere on the web. Though all of the Stella/Capella (and Thread!) stuff may not be applicable now it certainly gives me some insight into some of CM's "philosophical foundations" (I'd guess). =) I just can't get over the "elegance" of the whole Lisp/Music thing! Thanks again for your help. Carl Edwards From: "Rick Taube" > anders is right, there was a major cleanup two years ago. a seq is now the > closest thing to a thread in cm2. its not the same though, a thread had the > nice feature of ensuring that each subobject completed before the next one > started. this is not the case with a seq, which orders its subobjects by > start time but the subobjects may contian overlapping events. > > > > > From carl.boingie at rcn.com Thu Jun 6 15:09:21 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Thu, 6 Jun 2002 18:09:21 -0400 Subject: [CM] a quick, realy basic question Message-ID: <001e01c20da7$15fd3350$65e17ad1@laptop> I'm attempting my first non-example CM interaction and not surprisingly am getting an error. Would some kind person explain what I'm doing wrong: I said: (setf pal-foo (new palindrome notes (import-events "c:\\tmp\\blah.mid"))) I got: *** - argument to ROUND should be a real number: # (setf pal-foo (new palindrome notes (import-events "c:\\tmp\\blah.mid" :tracks 1))) got me the same error msg. Sorry, I just don't know what it's refering to. Thank in advance, Carl Edwards From finnendahl at folkwang-hochschule.de Fri Jun 7 02:06:56 2002 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Fri, 7 Jun 2002 11:06:56 +0200 Subject: [CM] realtime piping Message-ID: <20020607090656.GA3476@grisey> Hi, I would like to use the named pipe mechnism of linux to process events generated by some Common Music process (for example piping realtime events to a csound process). How can I get that done? I basically want to exploit common musics scheduling features for my custom made format routines directed to a named pipe. For example if I want to generate csound events in realtime, I would have to send an i-statement with starttime (p2) = 0 to the named pipe. I thought, I'd use "wait for the process loop but define time=0 (instead of ) inside the loop, but that doesn't seem to work. Also csound complains about the "s" and "; Common Music output of..." statements common music is putting out (which I then bypassed by redefining "initialize-io"). And, above all, the process complains if I set "rt t" in the io command about not knowing this option. Furthermore it seems that common music still tries to call an additional csound process (which I don't need as csound already runs and waits for input through the pipe). Could someone give me a working example of some process, which simply outputs the i statements at the appropriate times to a given filename without any additional headers, footers etc.? -- Orm Finnendahl From renueden at earthlink.net Mon Jun 10 15:53:13 2002 From: renueden at earthlink.net (Ken) Date: Mon, 10 Jun 2002 15:53:13 -0700 Subject: [CM] Pest Question? Message-ID: <005801c210d1$c7a6c580$9cdaaec7@KenLaptop> Is there any kind of timeline on a "plotter like thing running in Linux" ?? Thanks, Ken From bil at ccrma.Stanford.EDU Wed Jun 12 03:58:42 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 12 Jun 2002 03:58:42 -0700 Subject: [CM] snd 5.11 Message-ID: <200206121058.DAA09079@cmn14.stanford.edu> Changes in Snd 5.11: added contrib/tutorial directory with Dave Phillips' articles from the O'Reilly net site. added support for OpenGL: give configure either --with-gl (to include the Guile bindings in gl.c) or --with-just-gl (to include just the built-in OpenGL stuff); currently the spectrogram and wavogram use GL if it's available. New variable with-gl to turn it off (if you like the old form or whatever). Removed glfft.c and glfft.scm, added snd-gl.scm (GL support is in gl.c, makegl.scm, gldata.scm). In gtk2, you'll need the GtkGLext library: http://gtkglext.sourceforge.net/ I also goofed around with lighting, shinyness, fog, translucency, overlaid grids, and so on, but the simplest picture seemed the best. added support for the fftw library (HAVE_FFTW). removed the fht stuff (dht can be used as a stop-gap). My timing tests indicate that fftw is usually slightly faster than fht. amp envs in the mix panel are editable. moved forward-sample and backward-sample to snd5.scm. added update-hook and made it much less likely that a sound's index will change during the update process. The prebuilt linux-snd at ccrma-ftp no longer loads libXm statically (that is, you'll need it on your system) -- in Redhat 7.3 there's a problem with libXm.a, and the thing is free in any case. Also needed now (for the prebuilt images) are the OpenGL libraries libGL and libGLU, and the fftw libraries librfftw and libfftw. removed the -DSTR_OR flag and moved that stuff to snd5.scm. Also removed the WITH_BIG_COLORMAP flag; you can get the old small colormap size by using the flag -DCOLORMAP_SIZE=64. Checked: RedHat 7.3, OpenGL 1.2, Ruby 1.7.2, FFTW 2.1.3 Thanks to Anders Vinjar, Dave Phillips, Nik Gaffney, Stefan Schwandter, and Paul Winkler for bug reports. From taube at uiuc.edu Wed Jun 12 05:23:10 2002 From: taube at uiuc.edu (Rick Taube) Date: Wed, 12 Jun 2002 07:23:10 -0500 Subject: [CM] a quick, realy basic question In-Reply-To: <001e01c20da7$15fd3350$65e17ad1@laptop> References: <001e01c20da7$15fd3350$65e17ad1@laptop> Message-ID: >getting an error. Would some kind person >explain what I'm doing wrong: > >I said: > >(setf pal-foo (new palindrome notes (import-events "c:\\tmp\\blah.mid"))) sorry ive been away for a few days. its not clear from your example what you are actually indending to put in your palindrome. import-events will return one or more seqs holdings the midi messages it parses from a file. these midi messages are not "notes" as it would appear you expect given your expression: (new palindrome notes ...) this is what i think you want to do: 1) import a track of data from a midifile: (setf x (import-events "c:\\tmp\\blah.mid" :tracks 1) ) 2. define a function that maps over subobjects and returns keynumbers: (defun subobjects->keynums (seq) (loop for m in (subobjects seq) when (typep m 'midi) collect (midi-keynum m))) 3. create a palindrome from that data: (setf y (new palindrome notes (subobjects->keynums x))) that should give you a palindrome of the note values of the midi objects you parsed in track 1 of a file. >I'm attempting my first non-example CM interaction and not surprisingly am >getting an error. Would some kind person >explain what I'm doing wrong: > >I said: > >(setf pal-foo (new palindrome notes (import-events "c:\\tmp\\blah.mid"))) > >I got: > >*** - argument to ROUND should be a real number: # > >(setf pal-foo (new palindrome notes (import-events "c:\\tmp\\blah.mid" >:tracks 1))) > >got me the same error msg. > >Sorry, I just don't know what it's refering to. > >Thank in advance, > >Carl Edwards > > > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Jun 12 05:36:25 2002 From: taube at uiuc.edu (Rick Taube) Date: Wed, 12 Jun 2002 07:36:25 -0500 Subject: [CM] realtime piping In-Reply-To: <20020607090656.GA3476@grisey> References: <20020607090656.GA3476@grisey> Message-ID: >I would like to use the named pipe mechnism of linux to process events a couple of questions. why is csound complaining about "s" statements and its comment character? Is it becuase you are piping and not really writing a score file? if thats the case then there should be a "csound port" object defined in cm that would be used instead of the sco-file object you are using now, ie similar to the midi-port and midi-file objects that currently exist in the midi code. on the realtime issue: what lisp are you using? the :rt feaure will only work in lisps that support mutiprocessing (mcl and acl). and unfortunately the lisp multiprocessing stuff doesnt work that well because lisp processes dont provide the responsiveness one needs to really do "real time" interaction. this is the main reason id like to move cm out of cltl2, perhaps to a C+scheme enviroment so that musical processes can really run realtime. >Hi, > >I would like to use the named pipe mechnism of linux to process events >generated by some Common Music process (for example piping realtime >events to a csound process). How can I get that done? I basically want >to exploit common musics scheduling features for my custom made format >routines directed to a named pipe. For example if I want to generate >csound events in realtime, I would have to send an i-statement with >starttime (p2) = 0 to the named pipe. I thought, I'd use "wait > for the process loop but define time=0 (instead of ) >inside the loop, but that doesn't seem to work. >Also csound complains about the "s" and "; Common Music output of..." >statements common music is putting out (which I then bypassed by >redefining "initialize-io"). And, above all, the process complains if >I set "rt t" in the io command about not knowing this >option. Furthermore it seems that common music still tries to call an >additional csound process (which I don't need as csound already runs >and waits for input through the pipe). Could someone give me a working >example of some process, which simply outputs the i statements at the >appropriate times to a given filename without any additional headers, >footers etc.? > >-- >Orm Finnendahl >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Wed Jun 12 05:39:57 2002 From: taube at uiuc.edu (Rick Taube) Date: Wed, 12 Jun 2002 07:39:57 -0500 Subject: [CM] Pest Question? Message-ID: > Is there any kind of timeline on a "plotter like thing running in Linux" ?? > Thanks, > Ken > it wont happen until after i get cm into guile. im poking away at this but the amount of work involved is really depressing. From jmlacombe at wanadoo.fr Wed Jun 12 06:08:19 2002 From: jmlacombe at wanadoo.fr (jmlacombe at wanadoo.fr) Date: Wed, 12 Jun 2002 15:08:19 +0200 Subject: [CM] JM LACOMBE / CCRMA : [SNDLIB] sound system interface ? Message-ID: <023e01c21212$3990afd0$6e01a8c0@uupost10> which sound system do you interface for play, record : for linux ? alsa for windows ? mmsystem, directx, for macos ? sound manager ? do you have binary library for this windows 32 and macOS ? is there a list of developers on this project ? thanks JM LACOMBE From simon at ling.ed.ac.uk Wed Jun 12 07:54:47 2002 From: simon at ling.ed.ac.uk (Simon Kirby) Date: Wed, 12 Jun 2002 15:54:47 +0100 (BST) Subject: [CM] midi control change Message-ID: I hope this isn't a stupid question (because it might be the first of a few!).... is it possible to use CM to produce MIDI control change messages? (So far looking through the manual I see only MIDI note-on/note-off pairs.) Thanks in advance! Simon -- Simon Kirby Language Evolution and Computation Research Unit simon at ling.ed.ac.uk Department of Theoretical and Applied Linguistics http://www.ling.ed.ac.uk/~simon/ University of Edinburgh From renueden at earthlink.net Wed Jun 12 08:09:23 2002 From: renueden at earthlink.net (Ken) Date: Wed, 12 Jun 2002 08:09:23 -0700 Subject: [CM] Pest Question? References: Message-ID: <020301c21223$24064060$9cdaaec7@KenLaptop> Out of curioustity, what are the advantages of moving cm into guile/scheme, I'm asking out of complete ignorance. Thanks, Ken Locarnini ----- Original Message ----- From: "Rick Taube" To: Cc: Sent: Wednesday, June 12, 2002 5:39 AM Subject: Re: [CM] Pest Question? > > Is there any kind of timeline on a "plotter like thing running in Linux" ?? > > Thanks, > > Ken > > > > it wont happen until after i get cm into guile. im poking away at this but the amount of work involved is really depressing. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From renueden at earthlink.net Wed Jun 12 08:14:24 2002 From: renueden at earthlink.net (Ken) Date: Wed, 12 Jun 2002 08:14:24 -0700 Subject: [CM] midi control change References: Message-ID: <020b01c21223$d78072f0$9cdaaec7@KenLaptop> In your cm distribution, look in the src code in particular, the file "mm.lisp", pretty much everything is supported. Regards, Ken Locarnini ----- Original Message ----- From: "Simon Kirby" To: Sent: Wednesday, June 12, 2002 7:54 AM Subject: [CM] midi control change > I hope this isn't a stupid question (because it might be the first of a > few!).... is it possible to use CM to produce MIDI control change > messages? (So far looking through the manual I see only MIDI > note-on/note-off pairs.) > > Thanks in advance! > Simon > > -- > Simon Kirby Language Evolution and Computation Research Unit > simon at ling.ed.ac.uk Department of Theoretical and Applied Linguistics > http://www.ling.ed.ac.uk/~simon/ University of Edinburgh > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From taube at uiuc.edu Wed Jun 12 12:34:51 2002 From: taube at uiuc.edu (Rick Taube) Date: Wed, 12 Jun 2002 12:34:51 -0700 Subject: [CM] midi control change References: Message-ID: <001701c21248$398b7020$66197e82@music.uiuc.edu> look in the file examples/processes.cm for examples that use the midimsg object. i just noticed that this object isnt in the documention and ill add it tonext release. also the lower level midi code isnt documented, sorry! but tobias implemented practically everything in the midi spec. ----- Original Message ----- From: "Simon Kirby" To: Sent: Wednesday, June 12, 2002 7:54 AM Subject: [CM] midi control change > I hope this isn't a stupid question (because it might be the first of a > few!).... is it possible to use CM to produce MIDI control change > messages? (So far looking through the manual I see only MIDI > note-on/note-off pairs.) > > Thanks in advance! > Simon > > -- > Simon Kirby Language Evolution and Computation Research Unit > simon at ling.ed.ac.uk Department of Theoretical and Applied Linguistics > http://www.ling.ed.ac.uk/~simon/ University of Edinburgh > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From carl.boingie at rcn.com Wed Jun 12 10:43:01 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Wed, 12 Jun 2002 13:43:01 -0400 Subject: [CM] Pest Question? Message-ID: <004501c21238$cbf6c190$dedf7ad1@laptop> >Ken wrote: >Is there any kind of timeline on a "plotter like thing running in Linux" ?? Something I'd like to accomplish to address my need for visual representation (I have a Windoze CM setup) is to create a picture output using the text-based PNM image format for import into The Gimp (or a similar program). I'm planning on creating pictures to render (and use as filters) in MetaSynth (a picture to sound renderer for the Mac). MetaSynth has a very nice sytem for defining the tuning of a picture (the Y axis) with a simple text file scale description. The PNM creation looks like a relatively straightforward task, though doing a version as a class in CM is beyond me at the moment. I'll be happy to keep you posted if you're interested. Carl Edwards From carl.boingie at rcn.com Wed Jun 12 10:47:16 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Wed, 12 Jun 2002 13:47:16 -0400 Subject: [CM] a quick, realy basic question References: <001e01c20da7$15fd3350$65e17ad1@laptop> Message-ID: <005d01c21239$31bb0090$dedf7ad1@laptop> Thanks a lot Rick. I'm much clearer now. My thought is that a Keykit style of operating on a number of simple imported chucks and building a larger sequence would be a good place to begin exploring composition with CM. It shouldn't take me longer than the summer to get past the *realy* basic stuff. =) Carl Edwards >Rick Taube said: > its not clear from your example what you are actually indending to put in >your palindrome. import-events will return one or more seqs holdings the >midi messages it parses from a file. these midi messages are not "notes" as >it would appear you expect given your expression: (new palindrome notes ...) From finnendahl at folkwang-hochschule.de Wed Jun 12 11:03:24 2002 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 12 Jun 2002 20:03:24 +0200 Subject: [CM] realtime piping In-Reply-To: References: <20020607090656.GA3476@grisey> Message-ID: <20020612180323.GD6034@grisey> Hi Rick, thanks for the reply. Am Mittwoch, den 12. Juni 2002 um 07:36:25 Uhr (-0500) schrieb Rick Taube: > a couple of questions. why is csound complaining about "s" > statements and its comment character? Is it becuase you are piping > and not really writing a score file? Yes exactly. The input pipe unfortunately doesn't skip comments and doesn't recognize section and end statements (I didn't check it, but my guess is that tempo statements also aren't recognized. f-statements are recognized, though, making it possible to dynamically overload old function tables. > if thats the case then there > should be a "csound port" object defined in cm that would be used > instead of the sco-file object you are using now, ie similar to the > midi-port and midi-file objects that currently exist in the midi > code. Yes. That would be the clean solution. It also makes sense since you always need a score file for csound (which can be regarded as another parallel input to csound) even if it's empty and just contains some statement to keep the csound process running long enough for realtime input. The pipe is something like an aux realtime input to the csound process and only handles a subset of the score syntax. > on the realtime issue: what lisp are you using? the :rt feaure will > only work in lisps that support mutiprocessing (mcl and acl). and > unfortunately the lisp multiprocessing stuff doesnt work that well > because lisp processes dont provide the responsiveness one needs to > really do "real time" interaction. this is the main reason id like > to move cm out of cltl2, perhaps to a C+scheme enviroment so that > musical processes can really run realtime. Oh, that's the problem! I'm using clisp on Linux. Does that mean that neither midi, nor csound output will be possible in realtime (I'm not talking about input)? In the last months I used pd for the realtime part, reading the scorefiles linewise and sending it to csound (using the csound~ object in pd). I'd like to skip the intermediate step, though. As I use some sort of sampler-like setup for my test runs, it gets quite annoying that each time I want to hear a sequence a new csound process is started, having to load all the samples into RAM again. That is avoided with the realtime access of csound. Concerning the scheme environment: I recently made some experiences with siod and found out that it is far away from scheme reference manuals I found in the net, (e.g. lacking a lot of functions). I got the impression, that scheme in general is somewhat cleaner, but it seemed less standarized and with a lot less functionality as it is lacking all the bells and whistles of keywords, optional parameters and the whealth of built in macros and functions of cltl2. You can probably add the lisp functionality with libraries but then you'd end up with yet another lisp dialect which again isn't standarized. Is my impression right or did I look into the wrong direction? -- Orm From taube at uiuc.edu Wed Jun 12 13:54:03 2002 From: taube at uiuc.edu (Rick Taube) Date: Wed, 12 Jun 2002 13:54:03 -0700 Subject: [CM] realtime piping References: <20020607090656.GA3476@grisey> <20020612180323.GD6034@grisey> Message-ID: <002501c21253$49edec30$90197e82@music.uiuc.edu> >Oh, that's the problem! I'm using clisp on Linux. Does that mean that >neither midi, nor csound output will be possible in realtime (I'm not yes clisp is a problem. as far as midi goes cm has been using MI_D for its driver connection and its linux port appears to be still under construction. if mi_d wont work then i guess ill have to look around on the linux/music sites for a resonable midi driver and port to it . that is alot more work but also doable. From taube at uiuc.edu Wed Jun 12 13:55:23 2002 From: taube at uiuc.edu (Rick Taube) Date: Wed, 12 Jun 2002 13:55:23 -0700 Subject: [CM] Pest Question? References: <004501c21238$cbf6c190$dedf7ad1@laptop> Message-ID: <002d01c21253$799cf430$90197e82@music.uiuc.edu> >The PNM creation looks like a relatively straightforward task, >though doing a version as a class in CM is beyond me at the moment. Just define a pnm-file and then add specialized methods on three generic functions: initialize-io, deinitialize-io and write-event. look at the files src/sco.lisp, src/clm.lisp and src/cmn.lisp for how its done. id be curious to read about the pnm format if you would send me a url to a description. From Torsten.Anders at hfm.uni-weimar.de Wed Jun 12 13:35:28 2002 From: Torsten.Anders at hfm.uni-weimar.de (Torsten Anders) Date: Wed, 12 Jun 2002 22:35:28 +0200 Subject: [CM] Pest Question? In-Reply-To: References: Message-ID: > > Is there any kind of timeline on a "plotter like thing running in Linux" > > ?? Thanks, Dear Ken, For my own needs I wrote a small interface to gnuplot for that purpose. Its of course less good looking than the CM plotter, but it plots value lists in 2D and 3D and supports various settings of gnuplot. And it is small enough that you may easily extend it for your porpose... The program is attached. Kind regards, Torsten PS: BTW, I did some more stuff using CM for my music, e.g., an interface and higher abstractions to the tao physical modelling sound synthesis program, envelopes expressed as numeric functions plus a set of functions to generate, combine and transform them etc. Any interest? Then I need to find some web space -- I still do not have a home page... If there is some interest I -------------- next part -------------- ;;; The function 'plot' is an interface to gnuplot. ;;; Very little error checking... ;;; copyright 2002 by Torsten Anders ;;; anders at uni-weimar.de #| ; tests (plot '(0 5 3 4)) ; simple plot (plot '(1 2 3 4) :style :impulses) ; line style (plot '(1 2 3 4) :x '(0.1 0.5 2 2.1)) ; x and y given (plot '(1 2 3 4) ; 3D plot :x '(0.1 0.5 2 2.1) :z '(0.5 3 2 -1) :style :linespoints) (plot '((1 5 3) (4 6 0))) ; multiple plots (plot '((1 5 3) (4 6 0)) ; multiple line styles :style '(:lines :linespoints)) (plot '((1 5 3) (4 6 0)) ; multiple 3D plots :x '((1 2 1.5) (1 7 6)) :z '((0 1 4) (0 3 2))) (plot '(0 5 3 4) ; additional settings :set '("title 'test'" "output '/home/to/plot.ps'" "terminal postscript")) |# (defun plot (y &key x z (style :linespoints) smooth? set (data-file "/tmp/gnuplot_daten") (command-file "/tmp/gnuplot_command")) "Generates script and data file for gnuplot and calls gnuplot with these files. Coordinates (i.e. x, y, and z) may be either a list of numbers (for a single plot) or a list of lists (for multiple plots) -- the nesting should be the same. Specifying z results in a 3D plot. The style option (sets the lines style) expects either a single keyword for all or a list of styles with a new value for every plot. All styles allowed by gnuplot are valid as keyword. set expects a list of strings describing arbitrary additional settings to gnuplot (without the leading 'set'). data-file gives the beginning of the data file names (every plot is written to an own data file). command-file is the name of the command file." (let* ((plot-cmd (if z "splot" "plot")) ; 2D or 3D ? (data-files ; write-string-to-file returns filename (loop for d in (combine-coordinates x y z) for i from 1 collect (write-string-to-file (make-lines d) (format nil "~a~a" data-file i)))) (plots ; file name for data and style as strings (mapcar #'(lambda (d s) (format NIL " '~a' with ~a" d s)) data-files (if (listp style) (mapcar #'(lambda (s) (string-downcase (string s))) style) (make-list (length data-files) :initial-element (string-downcase (string style)))))) (settings (format NIL "~{set ~a~%~}" set))) (write-string-to-file (format nil "~a~a ~a ~{, ~a~} ; pause -1 'Hit return to continue' ~%" settings plot-cmd (first plots) ; to put commata at correct position (rest plots)) command-file)) (shell (format nil "xterm -e gnuplot ~a &" command-file))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; utils ;;; (defun make-lines (data) "Writes each sublist of data in an own line" (format NIL "~{~{~,7F ~}~%~}" data)) ; (make-lines '((0 1) (0.2 2) (1 3) (5 4))) (defun combine-coordinates (x y z) "Combines the lists of x (and possibly y and z) coordinates into a list of the form (((x1 y1 z1) ...) [() ...]). Both x or z may be NIL." (when (and z (or (not x) (not y))) (error "z can not be given without x or y.")) (flet ((prepare (x y z) (remove NIL (list x y z)))) (if (listp (first y)) ; checks only first element !! (apply #'mapcar #'(lambda (xx &optional yy zz) ;(print (list xx yy zz)) (util::mat-trans (prepare xx yy zz))) (prepare x y z)) (list (util::mat-trans (prepare x y z)))))) ; (combine-coordinates '(1 2 3) NIL NIL) ; (combine-coordinates '(1 2 3) '(a b c) NIL) ; (combine-coordinates '((1 2 3) (5 6 7)) '((a b c) (x y z)) NIL) (defun write-string-to-file (string out-file) "Writes (or overwrites) string into out-file and returns out-file." (with-open-file (out-stream out-file :direction :output :if-exists :supersede) (format out-stream string)) out-file) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; quote ;;; modified version of 'shell' in CM1 by Heinrich Taube ;;; for support of other Lisp platforms see "impl.lisp" #+CMU (defun shell (string &key (wait T) (output T)) "'Evaluates' string in /bin/sh and outputs result on *standard-output*. Start a child process and does not wait until process is finished. Therefore output of process may be mixed in outputs of other programm..." (unwind-protect (let* ((process (ext:run-program "/bin/sh" (list "-c" string) :output output :wait wait))) (ext:process-close process) process))) From marcus.roeckrath at gmx.de Wed Jun 12 14:49:29 2002 From: marcus.roeckrath at gmx.de (Marcus Roeckrath) Date: Wed, 12 Jun 2002 23:49:29 +0200 Subject: [CM] snd 5.11 In-Reply-To: <200206121058.DAA09079@cmn14.stanford.edu> References: <200206121058.DAA09079@cmn14.stanford.edu> Message-ID: <02061223492902.02722@lighthouse> Hello Bill, Bill Schottstaedt wrote on Mittwoch, 12. Juni 2002 12:58 about [CM] snd 5.11: > The prebuilt linux-snd at ccrma-ftp no longer loads libXm > statically (that is, you'll need it on your system) -- Therefor it doesn't run on SuSEs up to SuSE 8.0 because there is libXm.so.2 available only. > fftw libraries librfftw and libfftw. Does snd start without them? Do you have good source for them? -- Gruss Marcus Marcus Roeckrath -- Vikarsbusch 8 -- D-48308 Senden -- Germany Phone : +49-2536-9944 -- Mailer/BBS/Fax : +49-2536-9943 (V34, X75) FidoNet: 2:2449/523 E-Mail : marcus.roeckrath at gmx.de WWW : http://home.foni.net/~marcusroeckrath/ From swan at shockfrosted.org Wed Jun 12 05:10:42 2002 From: swan at shockfrosted.org (Stefan Schwandter) Date: Wed, 12 Jun 2002 14:10:42 +0200 Subject: [CM] snd 5.11 In-Reply-To: <200206121058.DAA09079@cmn14.stanford.edu> References: <200206121058.DAA09079@cmn14.stanford.edu> Message-ID: <20020612121042.GB15308@TK150122.tuwien.teleweb.at> Hi! When I try to compile the gtk 1.2 version I get the following error: gcc -rdynamic -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-gutils.o snd-gerror.o snd-ghelp.o snd-gfind.o snd-gmenu.o snd-gdraw.o snd-glistener.o snd-gchn.o snd-gsnd.o snd-gregion.o snd-gdrop.o snd-gmain.o snd-gmix.o snd-grec.o snd-genv.o snd-gxutils.o snd-gxbitmaps.o snd-gxcolormaps.o snd-gfft.o snd-gprint.o snd-gfile.o snd-gxen.o -o snd -L/usr/lib -lguile -lqthreads -lpthread -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lrfftw -lfftw -L/usr/lib -lgsl -lgslcblas -lm -L/usr/lib -lgtk -lgdk -lgtkextra -lglib -lm -lm snd-glistener.o: In function `make_command_widget': /home/stefan/debian/source/cvs/snd/snd-glistener.c:589: undefined reference to `gtk_widget_modify_font' collect2: ld returned 1 exit status I ran configure with the following options: --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info --with-ladspa \ --with-gtk --with-guile --with-gtk-extra regards, Stefan -- Wanna listen to my music? <------ ----> http://www.shockfrosted.org From bil at ccrma.Stanford.EDU Thu Jun 13 04:56:44 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 13 Jun 2002 04:56:44 -0700 Subject: [CM] snd 5.11 In-Reply-To: <02061223492902.02722@lighthouse> References: <200206121058.DAA09079@cmn14.stanford.edu> <02061223492902.02722@lighthouse> Message-ID: <200206131156.EAA10631@cmn14.stanford.edu> > Therefor it doesn't run on SuSEs up to SuSE 8.0 because there is libXm.so.2 > available only. That's too bad -- it's not trivial to make Motif from sources, so I guess you'll have to build Snd from scratch. I'm not sure these prebuilt images are of any use anyway. > Does snd start without them? Do you have good source for them? yes. see README.Snd: http://www.fftw.org From bil at ccrma.Stanford.EDU Thu Jun 13 05:25:25 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 13 Jun 2002 05:25:25 -0700 Subject: [CM] snd 5.11 In-Reply-To: <20020612121042.GB15308@TK150122.tuwien.teleweb.at> References: <200206121058.DAA09079@cmn14.stanford.edu> <20020612121042.GB15308@TK150122.tuwien.teleweb.at> Message-ID: <200206131225.FAA10673@cmn14.stanford.edu> > /home/stefan/debian/source/cvs/snd/snd-glistener.c:589: undefined > reference to `gtk_widget_modify_font' Thanks for pointing that out -- the line in question needs to be moved down one line (into the HAVE_GTK2 block). The gtk2 port mostly works (I finally cleaned out the last of the "deprecated" function calls), but the listener is less-than-adequate. I will apparently have to re-invent emacs while kludging around endless bugs. From scb at enemy.org Thu Jun 13 08:20:40 2002 From: scb at enemy.org (Sebastian C. B. Sauer) Date: Thu, 13 Jun 2002 17:20:40 +0200 Subject: [CM] Unbound variable: define* Message-ID: <20020613152040.GA11658@satanii.enemy.org> hi, i'm new to snd. while loading *.scm files, snd complains about unbound a variable. do i have do pre-load any special *scm file that initializes snd's internal variables? or is my guile (== 1.4) too old? ... $ snd -l /rascal/snd-5/dsp.scm [17:13:04] Unbound variable: define* ; (load "/rascal/snd-5/dsp.scm") (while loading "/rascal/snd-5/dsp.scm") a bit clueless, seb. -- :: scb's terra_digitalis http://swoosh.enemy.org/ :: fingerprint B8A5 31FE 0159 BF8A 1F17 8B81 848F F350 D1CB 5706 From marcus.roeckrath at gmx.de Thu Jun 13 06:55:56 2002 From: marcus.roeckrath at gmx.de (Marcus Roeckrath) Date: Thu, 13 Jun 2002 15:55:56 +0200 Subject: [CM] snd 5.11 In-Reply-To: <200206131156.EAA10631@cmn14.stanford.edu> References: <200206121058.DAA09079@cmn14.stanford.edu> <02061223492902.02722@lighthouse> <200206131156.EAA10631@cmn14.stanford.edu> Message-ID: <02061315555600.06408@lighthouse> Hi Bill, Bill Schottstaedt wrote on Donnerstag, 13. Juni 2002 13:56 about Re: [CM] snd 5.11: > I'm not sure these > prebuilt images are of any use anyway. Do I understand you correctly - I'm not a native english speaker, I think my english is very poor - that your prebuilt binaries are not usable? Why? Normally I took your binary rpms beginning with snd 3.x or something around that using them without problems normally. -- Gruss Marcus Marcus Roeckrath -- Vikarsbusch 8 -- D-48308 Senden -- Germany Phone : +49-2536-9944 -- Mailer/BBS/Fax : +49-2536-9943 (V34, X75) FidoNet: 2:2449/523 E-Mail : marcus.roeckrath at gmx.de WWW : http://home.foni.net/~marcusroeckrath/ From swan at shockfrosted.org Thu Jun 13 09:04:46 2002 From: swan at shockfrosted.org (Stefan Schwandter) Date: Thu, 13 Jun 2002 18:04:46 +0200 Subject: [CM] snd 5.11 In-Reply-To: <200206131225.FAA10673@cmn14.stanford.edu> References: <200206121058.DAA09079@cmn14.stanford.edu> <20020612121042.GB15308@TK150122.tuwien.teleweb.at> <200206131225.FAA10673@cmn14.stanford.edu> Message-ID: <20020613160446.GF893@TK150122.tuwien.teleweb.at> Bill Schottstaedt wrote: > > /home/stefan/debian/source/cvs/snd/snd-glistener.c:589: undefined > > reference to `gtk_widget_modify_font' > > Thanks for pointing that out -- the line in question needs to be > moved down one line (into the HAVE_GTK2 block). Hehe, thanks. I figured it our myself though (and am very proud of that... ;-)) > > The gtk2 port mostly works (I finally cleaned out the last of the > "deprecated" function calls), but the listener is less-than-adequate. > I will apparently have to re-invent emacs while kludging around > endless bugs. Nice to hear. That the port works, I mean. Not the latter part ... :-( regards, Stefan -- Wanna listen to my music? <------ ----> http://www.shockfrosted.org From khirai at unm.edu Thu Jun 13 10:08:10 2002 From: khirai at unm.edu (kelly george hirai) Date: Thu, 13 Jun 2002 11:08:10 -0600 (MDT) Subject: [CM] snd 5.11 In-Reply-To: <20020612121042.GB15308@TK150122.tuwien.teleweb.at> Message-ID: i commented out this line, something like, if .... gtk_widget_modify_font ... fi in snd-glistener.c and got a gtk build on redhat 7.3. the listener seems to work fine without it. kelly On Wed, 12 Jun 2002, Stefan Schwandter wrote: > Hi! > > > When I try to compile the gtk 1.2 version I get the following error: > > gcc -rdynamic -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-gutils.o snd-gerror.o snd-ghelp.o snd-gfind.o snd-gmenu.o > snd-gdraw.o snd-glistener.o snd-gchn.o snd-gsnd.o snd-gregion.o > snd-gdrop.o snd-gmain.o snd-gmix.o snd-grec.o snd-genv.o snd-gxutils.o > snd-gxbitmaps.o snd-gxcolormaps.o snd-gfft.o snd-gprint.o snd-gfile.o > snd-gxen.o -o snd -L/usr/lib -lguile -lqthreads -lpthread -lm > -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib > -ldl -lXi -lXext -lX11 -lm -lrfftw -lfftw -L/usr/lib -lgsl > -lgslcblas -lm -L/usr/lib -lgtk -lgdk -lgtkextra -lglib -lm -lm > snd-glistener.o: In function `make_command_widget': > /home/stefan/debian/source/cvs/snd/snd-glistener.c:589: undefined > reference to `gtk_widget_modify_font' > collect2: ld returned 1 exit status > > > I ran configure with the following options: > > --prefix=/usr --mandir=\$${prefix}/share/man \ > --infodir=\$${prefix}/share/info --with-ladspa \ > --with-gtk --with-guile --with-gtk-extra > > > regards, Stefan > -- > Wanna listen to my music? <------ > ----> http://www.shockfrosted.org > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > kelly, angel, riley & cameron hirai (505) 243-6417 300 sycamore ne albuquerque nm 87106 usa http://www.unm.edu/~khirai From nando at ccrma.Stanford.EDU Thu Jun 13 10:24:52 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Thu, 13 Jun 2002 10:24:52 -0700 Subject: [CM] snd 5.11 In-Reply-To: <02061315555600.06408@lighthouse> References: <200206121058.DAA09079@cmn14.stanford.edu> <02061223492902.02722@lighthouse> <200206131156.EAA10631@cmn14.stanford.edu> <02061315555600.06408@lighthouse> Message-ID: <200206131724.KAA05797@cmn29.stanford.edu> > Bill Schottstaedt wrote on Donnerstag, 13. Juni 2002 13:56 about Re: [CM] snd > 5.11: > > > I'm not sure these > > prebuilt images are of any use anyway. > > Do I understand you correctly - I'm not a native english speaker, I think my > english is very poor - that your prebuilt binaries are not usable? > > Why? Normally I took your binary rpms beginning with snd 3.x or something > around that using them without problems normally. I guess it depends on whether you have the libraries the binary rpm needs. If you have the proper versions then the binary works, otherwise it will fail the initial dynamic load of the external shared libraries. Obviously for some people (like you) they are useful! -- Fernando From t.anders at nici.kun.nl Thu Jun 13 13:02:41 2002 From: t.anders at nici.kun.nl (Torsten Anders) Date: Thu, 13 Jun 2002 22:02:41 +0200 Subject: [CM] mat-trans (was: Pest Question?) In-Reply-To: <000901c212f8$1dca45e0$a21e7e82@music.uiuc.edu> References: <000901c212f8$1dca45e0$a21e7e82@music.uiuc.edu> Message-ID: On Thursday 13 June 2002 18:33, you wrote: >some of your code depends on functinos i dont have: > utils::mat-trans > > what is that? Sorry for leaving that out. The idea (and name) for mat-trans comes from PatchWork: (defun mat-trans (in-list) "Quasi a matrix transformations: transforms a list of form ((a1 a2 a3) (b1 b2 b3) (c1 c2 c3) ...) into ((a1 b1 c1 ...) (a2 b2 c2 ...) (a3 b3 c3 ...))." (apply #'mapcar #'(lambda (&rest all) all) in-list)) Additional examples and URLs for gnuplot ports I'll send soon. Regards, Torsten From bil at ccrma.Stanford.EDU Fri Jun 14 04:32:01 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 14 Jun 2002 04:32:01 -0700 Subject: [CM] Unbound variable: define* In-Reply-To: <20020613152040.GA11658@satanii.enemy.org> References: <20020613152040.GA11658@satanii.enemy.org> Message-ID: <200206141132.EAA11969@cmn14.stanford.edu> > do i have do pre-load any special *scm file that initializes > snd's internal variables? or is my guile (== 1.4) too old? ... > [17:13:04] Unbound variable: define* If possible, get the newer (1.5.n) version of Guile; if not, load fix-optargs.scm before anything else. This problem arose about a year and a half ago when Guile 1.6 was promised "within a week"; so I updated Snd to be compatible with it, but it never appeared. From bil at ccrma.Stanford.EDU Fri Jun 14 04:51:35 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 14 Jun 2002 04:51:35 -0700 Subject: [CM] libXm.a Message-ID: <200206141151.EAA11991@cmn14.stanford.edu> If the Motif library is a general problem (that is, if my current linux-snd image at ccrma-ftp will only work for Redhat 7.3 because of it), I'm willing to try to build libXm.a, but I expect it to take several days. I originally supplied linux-snd with the statically loaded libXm because the Motif (as opposed to Lesstif) libraries were not being distributed by Redhat and others, and the license (at that time) was not open source -- I actually read the legalese and decided I could safely distribute Snd with Motif in that form, and no lawyer ever contacted me... In general, I can't tell whether linux-snd (or sun-snd etc) is actually being used by anyone; since I build these at home, they reflect my home system; as the number of required libraries grows, the possible user-base shrinks; what I was thinking in the previous note was that it is probably better to use Fernando's rpms or Stefan's (etc) -- these are prepackaged to handle all the library requirements and so on. By my quick count, linux-snd loads about 20 libraries. From bil at ccrma.Stanford.EDU Fri Jun 14 05:03:55 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 14 Jun 2002 05:03:55 -0700 Subject: [CM] on guile etc In-Reply-To: <020301c21223$24064060$9cdaaec7@KenLaptop> References: <020301c21223$24064060$9cdaaec7@KenLaptop> Message-ID: <200206141203.FAA12009@cmn14.stanford.edu> > Out of curioustity, what are the advantages of moving cm into guile/scheme, and > Concerning the scheme environment: I recently made some experiences > with siod and found out that it is far away from scheme reference > manuals I found in the net, (e.g. lacking a lot of functions). I got > the impression, that scheme in general is somewhat cleaner, but it > seemed less standarized and with a lot less functionality as it is > lacking all the bells and whistles of keywords, optional parameters > and the whealth of built in macros and functions of cltl2. You can > probably add the lisp functionality with libraries but then you'd end > up with yet another lisp dialect which again isn't standarized. Is my > impression right or did I look into the wrong direction? This is basically right, although the "bells and whistles" are implemented mostly in Scheme in Guile. Some of the standardization comes through the glacial SRFI process that seems to be the norm in Scheme. I think that SIOD is very old and has evolved to suit Gimp(?), which doesn't look so bad from my vantage point... The advantages are: scheme (via guile anyway) does not make real-time work impossible, it is (relatively) small, it is free, the FFI to C is very good, and the tie-ins to various user-interface libraries have been provided by yers truly; so there's no obvious road-block to further development. The drawbacks are: no compiler and none in sight at this time (the interpreter runs at basically the same speed as ACL's interpreter), the object system is sui generis and incomplete, and guile itself has degenerated into pointless bickering. I have looked into other Schemes and CLs, but none that I can find are an improvement. From t.anders at nici.kun.nl Fri Jun 14 08:14:47 2002 From: t.anders at nici.kun.nl (Torsten Anders) Date: Fri, 14 Jun 2002 17:14:47 +0200 Subject: [CM] gnuplot (was: Pest Question?) In-Reply-To: <000901c212f8$1dca45e0$a21e7e82@music.uiuc.edu> References: <000901c212f8$1dca45e0$a21e7e82@music.uiuc.edu> Message-ID: Attached is a somewhat evolved version of my interface to gnuplot. I also added examples and explaination. I just found out: there exists a more elaborated lisp->gnuplot as a part of CLLIB (which is now part of CLOCC) at http://clocc.sourceforge.net Anyway, I assume my attempt is more easy to use, partly because it is so tiny. But I also simplify matters: the user does not need to know the details of gnuplot (e.g. specifying a 'z' coordinate always results in a 3D plot). Although, therefore some gnuplot features can not be used (e.g. certain line styles need more parameter and therefore can no be used). On Thursday 13 June 2002 18:33, you wrote: > also cm should have a SHELL call defined > for all lisps, ill check Sure the definition of SHELL should go somewhere else. I only placed it in the file for easy testing (I wrote the core of this years ago, didn't check whether CM2 also includes such a function...). > > BTW, there is a gnuplot port for the Mac + Win too. > please send me urls to these! main gnuplot site: http://www.gnuplot.info/ at sourceforge: http://sourceforge.net/projects/gnuplot/ port for Macintosh: http://homepage.mac.com/gnuplot/ port for dos and windows (probably not the only one...): http://archives.math.utk.edu/software/multi-platform/gnuplot/msdos/ front end (surely not the only one): http://www.flash.net/~dmishee/xgfe/xgfe.html emacs mode (!?!): http://feff.phys.washington.edu/~ravel/software/gnuplot-mode/Welcome.html -------------- next part -------------- ;;; ;;; The function 'plot' is an interface to gnuplot. ;;; Very little error checking (would cost performance, esp. for large lists) ;;; ;;; No performance enhancement, but seems to be OK. ;;; (take 1-1.5 sec for 2000 points to compute, scales linear, ;;; messured on a Celeron 333 running CMU in SuSE 7.3) ;;; ;;; copyright 2002 by Torsten Anders ;;; anders at uni-weimar.de ;;; #| ; tests / doc (plot '(0 5 3 4)) ; simple plot (plot '(1 2 3 4) :style "impulses") ; line style (plot '(1 2 3 4) :x '(0.1 0.5 2 2.1)) ; x and y given (plot '(1 2 3 4) ; 3D plot :x '(0.1 0.5 2 2.1) :z '(0.5 3 2 -1) :style "lines") (plot '((1 5 3) (4 6 0))) ; multiple plots (plot '((1 5 3) (4 6 0)) ; multiple line styles :style '("points" "linespoints")) (plot '((1 5 3) (4 6 0)) ; multiple 3D plots :x '((1 2 1.5) (1 7 6)) :z '((0 1 4) (0 3 2))) (plot '(0 5 3 4) ; additional settings (out to ps file) :set '("title 'test'" "output '/home/to/plot.ps'" "terminal postscript")) --> all doc following is quoted from doc of gnuplot, see that for (much) more info <-- ;; some styles (all styles using 2 (2D) or 3 (3D) parameters) can be used) "lines" The `lines` style connects adjacent points with straight line segments. "points" The `points` style displays a small symbol at each point. (:set "pointsize " may be used to change the size of the points) "linespoints" The `linespoints` style does both `lines` and `points`, that is, it draws a small symbol at each point and then connects adjacent points with straight line segments. `linespoints` may be abbreviated `lp`. (:set "pointsize " may be used to change the size of the points). "impulses" The `impulses` style displays a vertical line from the x axis (not the graph border), or from the grid base in a 3D plot, to each point. "dots" The `dots` style plots a tiny dot at each point -- this is useful for scatter plots with many points. "steps" The `steps` style is only relevant to 2-d plotting. It connects consecutive points with two line segments: the first from (x1,y1) to (x2,y1) and the second from (x2,y1) to (x2,y2). "boxes" The `boxes` style is only relevant to 2-d plotting. It draws a box centered about the given x coordinate from the x axis (not the graph border) to the given y coordinate. ;; additional style settings (plot '(1 2 3 4) :style "linespoints linetype 1 linewidth 1.5 pointtype 3 pointsize 3") ;; same with short hands (plot '(1 2 3 4) :style "linesp lt 1 lw 1.5 pt 3 ps 3") ;; title for graphs (plot '(1 2 3 4) :title "test") (plot '((1 2 3 4) (2 3 4 5)) :title '("test1" "test2")) ;; further settings The `set` command of gnuplot can be used to sets _lots_ of options. ;; output type "terminal " sets what kind of output to generate, many formats are supported, e.g.: x11 X11 Window System aifm Adobe Illustrator 3.0 Format corel EPS format for CorelDRAW fig FIG 3.1 graphics language: can be edited by xfig graphics editor mif Frame maker MIF 3.00 format postscript PostScript graphics language latex LaTeX picture environment [further special Tex/LaTeX environments] [many special printer formats] ;; output file "output ''" output file (plot '(0 5 3 4) :set '("output '/home/to/plot.ps'" "terminal postscript")) ;; title "title ''" title of whole plot (plot '(0 5 3 4) :set '("title 'test'")) ;; view "view <rot_x> {,{<rot_z>}{,{<scale>}{,<scale_z>}}}" sets the viewing angle for 3D plots, where <rot_x> and <rot_z> control the rotation angles (in degrees). <rot_x> is bounded to the [0:180] range with a default of 60 degrees, while <rot_z> is bounded to the [0:360] range with a default of 30 degrees. <scale> controls the scaling of the entire `splot`, while <scale_z> scales the z axis only. Both scales default to 1.0. (plot '(0 1 5) :x '(0 1 2) :z '(0 5 1) :set '("view 120, 30, 1, 1")) |# (defun plot (y &key x z (style "linespoints") set title (data-file "/tmp/gnuplot_daten") (command-file "/tmp/gnuplot_command")) "Generates script and data file for gnuplot and calls gnuplot with these files. Coordinates (i.e. x, y, and z) may be either a list of numbers (for a single plot) or a list of lists (for multiple plots) -- the nesting of all lists should be the same. Specifying z results in a 3D plot. style (sets the lines style) expects either a single string for all or a list of styles with a new value for every plot. set expects a list of strings describing arbitrary additional settings to gnuplot (without the leading 'set'). data-file gives the beginning of the data file names (every plot is written to an own data file). command-file is the name of the command file." (let* ((plot-cmd (if z "splot" "plot")) ; 2D or 3D ? (data-files ; write-string-to-file returns filename (loop for d in (combine-coordinates x y z) for i from 1 collect (write-string-to-file (make-lines d) (format nil "~a~a" data-file i)))) (l (length data-files)) (titles (if title (listify title l) (loop for i from 1 to l collect (format NIL "data~A" i)))) (styles (listify style l)) (plots ; strings for every plot (mapcar #'(lambda (data title style) (format NIL " '~A' title '~A' with ~A" data title style)) data-files titles styles)) (settings (format NIL "~{set ~a~%~}" set))) (write-string-to-file (format nil "~a~a ~a ~{, ~a~} ; pause -1 'Hit return to continue' ~%" settings plot-cmd (first plots) (rest plots)) ; to put commata at correct position command-file)) (shell (format nil "xterm -e gnuplot ~a &" command-file))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; utils ;;; (defun make-lines (data) "Writes each sublist of data in an own line" (format NIL "~{~{~,7F ~}~%~}" data)) ; (make-lines '((0 1) (0.2 2) (1 3) (5 4))) (defun combine-coordinates (x y z) "Combines the lists of x (and possibly y and z) coordinates into a list of the form (((x1 y1 z1) ...) [(<coors for second plot>) ...]). Both x or z may be NIL." (when (and z (or (not x) (not y))) (error "z can not be given without x or y.")) (flet ((prepare (x y z) (remove NIL (list x y z)))) (if (listp (first y)) ; checks only first element !! (apply #'mapcar #'(lambda (xx &optional yy zz) ;(print (list xx yy zz)) (mat-trans (prepare xx yy zz))) (prepare x y z)) (list (mat-trans (prepare x y z)))))) ; (combine-coordinates '(1 2 3) NIL NIL) ; (combine-coordinates '(1 2 3) '(a b c) NIL) ; (combine-coordinates '((1 2 3) (5 6 7)) '((a b c) (x y z)) NIL) (defun write-string-to-file (string out-file) "Writes (or overwrites) string into out-file and returns out-file." (with-open-file (out-stream out-file :direction :output :if-exists :supersede) (format out-stream string)) out-file) ;; idea for mat-trans descends to PatchWork (but not code) (defun mat-trans (in-list) "Transforms a list of form ((a1 a2 a3) (b1 b2 b3) (c1 c2 c3) ...) into ((a1 b1 c1 ...) (a2 b2 c2 ...) (a3 b3 c3 ...))." (apply #'mapcar #'(lambda (&rest all) all) in-list)) (defun listify (x l) (if (listp x) x (make-list l :initial-element x))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; quote (should be defined elsewhere for [hopefully] every platform) ;;; modified version of 'shell' in CM1 by Heinrich Taube ;;; for support of other Lisp platforms see "impl.lisp" #+CMU (defun shell (string &key (wait T) (output T)) "'Evaluates' string in /bin/sh and outputs result on *standard-output*. Start a child process and does not wait until process is finished. Therefore output of process may be mixed in outputs of other programm..." (unwind-protect (let* ((process (ext:run-program "/bin/sh" (list "-c" string) :output output :wait wait))) (ext:process-close process) process))) From grib at linuxdevel.com Fri Jun 14 11:15:20 2002 From: grib at linuxdevel.com (Bill Gribble) Date: 14 Jun 2002 13:15:20 -0500 Subject: [CM] on guile etc In-Reply-To: <200206141203.FAA12009@cmn14.stanford.edu> References: <p05100302b92cf0dabb8c@[128.174.103.145]> <020301c21223$24064060$9cdaaec7@KenLaptop> <200206141203.FAA12009@cmn14.stanford.edu> Message-ID: <1024078520.1411.77.camel@firetrap> On Fri, 2002-06-14 at 07:03, Bill Schottstaedt wrote: > The advantages are: scheme (via guile anyway) does not make real-time work > impossible, it is (relatively) small, it is free, the FFI to C is very > good, and the tie-ins to various user-interface libraries have been > provided by yers truly; so there's no obvious road-block to further > development. Just to add to this, there is a nice tool called g-wrap that makes it even easier to handle FFI tasks for guile, and I can't speak highly enough of the guile-gtk and guile-gnome wrappers. Combined with libglade and the glade tool, I can draw a GUI and get it up and running with no C code at all in a few minutes, or add a bit of C code to speed up critical bits or wrap an external library, and not sweat about how or whether it's going to work. > The drawbacks are: no compiler and none in sight at this > time (the interpreter runs at basically the same speed as ACL's > interpreter), the object system is sui generis and incomplete, > and guile itself has degenerated into pointless bickering. On the object system - if you're talking about GOOPS, I wouldn't say it's incomplete but that's just a matter of taste; I really like it. Yes, there's pointless bickering, but at least people who are bickering are interested enough to bicker :) and the process is gradually working its way towards something better, I think. b.g. From wassdamo at pacbell.net Sat Jun 15 09:22:33 2002 From: wassdamo at pacbell.net (Starling) Date: Sat, 15 Jun 2002 09:22:33 -0700 Subject: [CM] [CMN] Producing audio output? Message-ID: <m1ofecjyuu.fsf@localhost.localdomain> Hi, I've been working with the CMN package. I'm interested in purely abstract notes and concepts for producing scores, not hardware interfaces, nor sound modulation and output. This makes CMN ideal for my needs, but I was looking for a way to convert a CMN lisp file into some form of audio representation. (Good for double-checking accidentals and testing synthesized sounds) I think the way to do that is learning how to use CM, but unfortunately I haven't found any documentation indicating that CM can even understand the CMN data representation or vice versa. Should I continue on this tract? Has anyone successfully gotten a CMN score into midi or mp3 or raw format? I'd be happy to learn CM if it lets me create MIDI files from my scores. Is there a better way to go about it? Starling From renueden at earthlink.net Sun Jun 16 15:44:59 2002 From: renueden at earthlink.net (Ken) Date: Sun, 16 Jun 2002 15:44:59 -0700 Subject: [CM] Lisp Environ Variables Message-ID: <000701c21587$7565cf90$3c0856d1@KenLaptop> I am running CM in a shell in Emacs in WinXP pro. I am having problems setting up Csound environment variables for the shell or is it for Clisp? It seems that XP's environment is ignored. I did this once before in Linux, but am on a "work" laptop right now, any help? Thanks, Ken Locarnini From taube at uiuc.edu Sun Jun 16 19:53:19 2002 From: taube at uiuc.edu (Rick Taube) Date: Sun, 16 Jun 2002 19:53:19 -0700 Subject: [CM] Lisp Environ Variables References: <000701c21587$7565cf90$3c0856d1@KenLaptop> Message-ID: <000c01c215aa$23c371b0$9a197e82@music.uiuc.edu> > I am running CM in a shell in Emacs in WinXP pro. I am having problems > setting up Csound environment variables for the shell or is it for Clisp? Sorry but im not quite sure what the question is. CM has a SHELL function you can use to set environment variables (or whatever) from inside lisp. But i dont know what variables csound uses in dos (or whatever they call that shell now) or what influence emacs might have if you are running in an inferior process inside it. But I think the csound examples included in CM manage to call csound witout resorting to any environment variables at all so maybe you dont need them. you can add your own "handler" function to CM to call whatever you want after the csound file is written, see the file etc/handers.lisp for examples. From l.brummer at qub.ac.uk Tue Jun 18 02:51:03 2002 From: l.brummer at qub.ac.uk (Ludger Bruemmer) Date: Tue, 18 Jun 2002 11:51:03 +0200 Subject: [CM] compiling Snd --with-gl version Message-ID: <3D0F0286.F85DF2D5@qub.ac.uk> Hi, did anyone succed with the compilation of the Snd --with-gl version? I tried to compile it on a couple of different SGIs with 6.5 and allways ran into the same errors during the compilation of gl.c. Any idea? ludger /tmp/snd-5[56]> ./configure --with-gl checking build system type... mips-sgi-irix6.5 checking host system type... mips-sgi-irix6.5 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for a BSD-compatible install... /usr/freeware/bin/install -c checking for gsl-config... no checking for GSL... no checking for main in -lm... yes checking for main in -lc... yes checking for main in -ldl... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking sys/soundcard.h usability... no checking sys/soundcard.h presence... no checking for sys/soundcard.h... no checking soundcard.h usability... no checking soundcard.h presence... no checking for soundcard.h... no checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking gsl/gsl_version.h usability... no checking gsl/gsl_version.h presence... no checking for gsl/gsl_version.h... no checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking ladspa.h usability... no checking ladspa.h presence... no checking for ladspa.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sys/fpu.h usability... yes checking sys/fpu.h presence... yes checking for sys/fpu.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking /usr/local/lib/oss/include/sys/soundcard.h usability... no checking /usr/local/lib/oss/include/sys/soundcard.h presence... no checking for /usr/local/lib/oss/include/sys/soundcard.h... no checking /usr/lib/oss/include/sys/soundcard.h usability... no checking /usr/lib/oss/include/sys/soundcard.h presence... no checking for /usr/lib/oss/include/sys/soundcard.h... no checking /opt/oss/include/sys/soundcard.h usability... no checking /opt/oss/include/sys/soundcard.h presence... no checking for /opt/oss/include/sys/soundcard.h... no checking /var/lib/oss/include/sys/soundcard.h usability... no checking /var/lib/oss/include/sys/soundcard.h presence... no checking for /var/lib/oss/include/sys/soundcard.h... no checking sys/sam9407.h usability... no checking sys/sam9407.h presence... no checking for sys/sam9407.h... no checking gnu/libc-version.h usability... no checking gnu/libc-version.h presence... no checking for gnu/libc-version.h... no checking alsa/asoundlib.h usability... no checking alsa/asoundlib.h presence... no checking for alsa/asoundlib.h... no checking whether time.h and sys/time.h may both be included... yes checking execinfo.h usability... no checking execinfo.h presence... no checking for execinfo.h... no checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for mode_t... yes checking for size_t... yes checking for pid_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether byte ordering is bigendian... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for off_t... yes checking for preprocessor stringizing operator... yes checking for int... yes checking size of int... 4 checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for int *... yes checking size of int *... 4 checking for float... yes checking size of float... 4 checking for void *... yes checking size of void *... 4 checking for off_t... (cached) yes checking size of off_t... 8 checking for long longs... yes checking for isnan... yes checking for rfftw... no checking return type of signal handlers... void checking for strftime... yes checking for getcwd... yes checking for strerror... yes checking for readlink... yes checking for setlocale... yes checking for access... yes checking for opendir... yes checking for sleep... yes checking for signal... yes checking for strdup... yes checking for statfs... yes checking for clock... yes checking for vsnprintf... yes checking for snprintf... yes checking whether closedir returns void... no checking for vprintf... yes checking for _doprnt... yes checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XShapeCombineMask in -lXext... yes checking for XpGetDocumentData in -lXp... no checking for XmCreateForm in -lXm... yes checking for XpmReadFileToPixmap in -lXpm... no checking for XpmGetErrorString in -lXpm... no checking for XpmCreateXpmImageFromPixmap in -lXpm... no checking for /usr/lib/snd/bin/guile-config... no checking for Guile... 1.4 checking for scm_set_smob_apply in -lguile... no checking for scm_remember_upto_here in -lguile... no checking for scm_make_real in -lguile... yes checking for scm_object_to_string in -lguile... no checking for scm_num2long_long in -lguile... yes checking for scm_num2int in -lguile... no checking for scm_c_make_vector in -lguile... no checking for scm_c_define in -lguile... no checking for scm_c_define_gsubr in -lguile... no checking for scm_c_eval_string in -lguile... no checking for scm_list_n in -lguile... no checking for scm_str2symbol in -lguile... no checking for scm_gc_malloc in -lguile... no checking for scm_t_catch_body... no checking whether gcc accepts -OPT:Olimit=0... no checking for audio system... SGI checking stafs args... 4 checking for sigsetjmp... yes configure: creating ./config.status config.status: creating makefile config.status: creating config.h /tmp/snd-5[57]> which guile-config /usr/local/bin/guile-config /tmp/snd-5[58]> make gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include headers.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include audio.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include io.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include sound.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include clm.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include xen.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include vct.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include sndlib2xen.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include clm2xen.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include midi.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-io.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-utils.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-listener.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-error.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-completion.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-menu.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-axis.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-data.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-fft.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-marks.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-file.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-edits.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-chn.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-dac.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-region.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-select.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-find.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-snd.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-help.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-main.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-print.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-trans.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-mix.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-env.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xen.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-ladspa.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-rec.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-kbd.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-sig.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-draw.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-run.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xutils.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xerror.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xhelp.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xfind.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xmenu.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xdraw.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xlistener.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xchn.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xsnd.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xregion.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xdrop.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xmain.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xmix.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xrec.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xenv.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-gxutils.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-gxbitmaps.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-gxcolormaps.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xfft.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xprint.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xfile.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include snd-xxen.c gcc -c -DHAVE_CONFIG_H -I. -g -O2 -I/usr/local/include gl.c gl.c: In function `define_integers': gl.c:5030: `GL_TEXTURE_BINDING_3D' undeclared (first use in this function) gl.c:5030: (Each undeclared identifier is reported only once gl.c:5030: for each function it appears in.) gl.c:5194: `GL_TEXTURE0_ARB' undeclared (first use in this function) gl.c:5195: `GL_TEXTURE1_ARB' undeclared (first use in this function) gl.c:5196: `GL_TEXTURE2_ARB' undeclared (first use in this function) gl.c:5197: `GL_TEXTURE3_ARB' undeclared (first use in this function) gl.c:5198: `GL_TEXTURE4_ARB' undeclared (first use in this function) gl.c:5199: `GL_TEXTURE5_ARB' undeclared (first use in this function) gl.c:5200: `GL_TEXTURE6_ARB' undeclared (first use in this function) gl.c:5201: `GL_TEXTURE7_ARB' undeclared (first use in this function) gl.c:5202: `GL_TEXTURE8_ARB' undeclared (first use in this function) gl.c:5203: `GL_TEXTURE9_ARB' undeclared (first use in this function) gl.c:5204: `GL_TEXTURE10_ARB' undeclared (first use in this function) gl.c:5205: `GL_TEXTURE11_ARB' undeclared (first use in this function) gl.c:5206: `GL_TEXTURE12_ARB' undeclared (first use in this function) gl.c:5207: `GL_TEXTURE13_ARB' undeclared (first use in this function) gl.c:5208: `GL_TEXTURE14_ARB' undeclared (first use in this function) gl.c:5209: `GL_TEXTURE15_ARB' undeclared (first use in this function) gl.c:5210: `GL_TEXTURE16_ARB' undeclared (first use in this function) gl.c:5211: `GL_TEXTURE17_ARB' undeclared (first use in this function) gl.c:5212: `GL_TEXTURE18_ARB' undeclared (first use in this function) gl.c:5213: `GL_TEXTURE19_ARB' undeclared (first use in this function) gl.c:5214: `GL_TEXTURE20_ARB' undeclared (first use in this function) gl.c:5215: `GL_TEXTURE21_ARB' undeclared (first use in this function) gl.c:5216: `GL_TEXTURE22_ARB' undeclared (first use in this function) gl.c:5217: `GL_TEXTURE23_ARB' undeclared (first use in this function) gl.c:5218: `GL_TEXTURE24_ARB' undeclared (first use in this function) gl.c:5219: `GL_TEXTURE25_ARB' undeclared (first use in this function) gl.c:5220: `GL_TEXTURE26_ARB' undeclared (first use in this function) gl.c:5221: `GL_TEXTURE27_ARB' undeclared (first use in this function) gl.c:5222: `GL_TEXTURE28_ARB' undeclared (first use in this function) gl.c:5223: `GL_TEXTURE29_ARB' undeclared (first use in this function) gl.c:5224: `GL_TEXTURE30_ARB' undeclared (first use in this function) gl.c:5225: `GL_TEXTURE31_ARB' undeclared (first use in this function) gl.c:5226: `GL_ACTIVE_TEXTURE_ARB' undeclared (first use in this function) gl.c:5227: `GL_CLIENT_ACTIVE_TEXTURE_ARB' undeclared (first use in this function) gl.c:5228: `GL_MAX_TEXTURE_UNITS_ARB' undeclared (first use in this function) gl.c:5296: `GL_COLOR_TABLE_FORMAT_EXT' undeclared (first use in this function) gl.c:5297: `GL_COLOR_TABLE_WIDTH_EXT' undeclared (first use in this function) gl.c:5298: `GL_COLOR_TABLE_RED_SIZE_EXT' undeclared (first use in this function) gl.c:5299: `GL_COLOR_TABLE_GREEN_SIZE_EXT' undeclared (first use in this function) gl.c:5300: `GL_COLOR_TABLE_BLUE_SIZE_EXT' undeclared (first use in this function) gl.c:5301: `GL_COLOR_TABLE_ALPHA_SIZE_EXT' undeclared (first use in this function) gl.c:5302: `GL_COLOR_TABLE_LUMINANCE_SIZE_EXT' undeclared (first use in this function) gl.c:5303: `GL_COLOR_TABLE_INTENSITY_SIZE_EXT' undeclared (first use in this function) gl.c:5304: `GL_TEXTURE_INDEX_SIZE_EXT' undeclared (first use in this function) gl.c:5305: `GL_COLOR_INDEX1_EXT' undeclared (first use in this function) gl.c:5306: `GL_COLOR_INDEX2_EXT' undeclared (first use in this function) gl.c:5307: `GL_COLOR_INDEX4_EXT' undeclared (first use in this function) gl.c:5308: `GL_COLOR_INDEX8_EXT' undeclared (first use in this function) gl.c:5309: `GL_COLOR_INDEX12_EXT' undeclared (first use in this function) gl.c:5310: `GL_COLOR_INDEX16_EXT' undeclared (first use in this function) gl.c:5311: `GL_CLIP_VOLUME_CLIPPING_HINT_EXT' undeclared (first use in this function) gl.c:5313: `GL_INCR_WRAP_EXT' undeclared (first use in this function) gl.c:5314: `GL_DECR_WRAP_EXT' undeclared (first use in this function) gl.c:5315: `GL_NORMAL_MAP_NV' undeclared (first use in this function) gl.c:5316: `GL_REFLECTION_MAP_NV' undeclared (first use in this function) *** Error code 1 (bu21) [1] + Exit 1 /usr/local/lib/snd-5/snd 32-01huber+frot.aiff Tue Jun 18 00:43:31 CEST 2002 /tmp/snd-5[59]> -- ______________________________________________________________________ Ludger Brummer http://ludi.sumtone.com Sonic Arts Research Centre Center for Art and Media Queen's University Belfast Institute for Music and Acoustic Riddel Hall Lorenzstr. 19 76135 Karlsruhe, Germany tel.: + 49 721 8100 1600 Office +44 28 9033 5627 Pearl Young, secretary +44 28 90 33 4829 Germany: Gartenstr. 56 A,76133 Karlsruhe, Germany mobile +49 160 5300 230 tel.: +49 721 831 6993 Northern Ireland: Flat1 38 Windsor Park, Belfast BT9 6FS ______________________________________________________________________ From bil at ccrma.Stanford.EDU Tue Jun 18 04:28:14 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 18 Jun 2002 04:28:14 -0700 Subject: [CM] compiling Snd --with-gl version In-Reply-To: <3D0F0286.F85DF2D5@qub.ac.uk> References: <3D0F0286.F85DF2D5@qub.ac.uk> Message-ID: <200206181128.EAA17390@cmn14.stanford.edu> > gl.c:5030: `GL_TEXTURE_BINDING_3D' undeclared (first use in this These look like GL version problems. The first thing I'd try is --with-just-gl (to leave out gl.c) -- the code used by the spectrogram is actually very basic stuff and ought to work in any version (though I haven't tried it). I'll look into making gl.c compatible with older versions of GL. From mauriziogiri at tiscali.it Tue Jun 18 06:48:48 2002 From: mauriziogiri at tiscali.it (Maurizio Giri) Date: Tue, 18 Jun 2002 15:48:48 +0200 Subject: [CM] Common Music Tutorial? Message-ID: <a05111a00b934ea8875ca@[192.168.1.2]> Hi all, is there some Common Music 2.x Tutorial somewhere? It's not so easy to learn the language thru the reference manual (imho). tia Maurizio From carl.boingie at rcn.com Wed Jun 19 11:57:57 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Wed, 19 Jun 2002 14:57:57 -0400 Subject: [CM] Common Music Tutorial? References: <a05111a00b934ea8875ca@[192.168.1.2]> Message-ID: <000e01c217c5$fd6d9a90$afe07ad1@laptop> > Maurizio wrote: > is there some Common Music 2.x Tutorial somewhere? > It's not so easy to learn the language thru the reference manual (imho). > > tia Maurizio, Hi, from someone in the same boat. =) There does not appear to be. There is a tutorial out there for an earlier version of CM's (dis-continued) "Stella" interface. There have been enough changes to the program that it may not be immediately practical as a step-by-step tutorial but you'll learn a great deal about what's going on "under the hood" in CM (I think). I found the section "Describing Music Algorithmically" extremely helpful. A Google search for "Stella Tutorial", "Music Lisp", and "Heinrich Taube" should find it without any problem. There is also an article (available on the net) by Peter Desain called "Lisp as a Second Language" which is illuminating about the practice of doing music in CLOS. Recommended highly. If you have any trouble finding it I'll be happy to send you a copy. Judging from the fact that Mr. Desain has published articles with Roger Dannenberg his orientation may be more to Nyquist but that is only a guess on my part. The Nyquist documentation is well worth taking a look at. It's more synthesis-oriented but,... "What the heck"? ;-) If you haven't downloaded a copy of David Touretzky's "Common Lisp: A Gentle Introduction To Symbolic Computation" it is available in PDF format. It doesn't go into CLOS but it gets you started in Lisp fairly painlessly. And, of course if you want to converse about "baby steps" give me a shout. My spare time this summer is devoted to Lisp and CM. I hope some of this is helpful. Carl Edwards From wsack at acsu.buffalo.edu Wed Jun 19 17:46:29 2002 From: wsack at acsu.buffalo.edu (Bill Sack) Date: Wed, 19 Jun 2002 20:46:29 -0400 Subject: [CM] Common Music Tutorial? References: <a05111a00b934ea8875ca@[192.168.1.2]> <000e01c217c5$fd6d9a90$afe07ad1@laptop> Message-ID: <3D1125E5.16AE6897@acsu.buffalo.edu> hi, as Carl writes, learning some basic LISP is important. i'd also recommend getting the html version of Steele's 'Common LISP the Language, 2nd Edition' which can be downloaded from here: <http://www-2.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/doc/cltl/cltl_ht.tgz> then, if you have it stored locally, it's very easy to zip over and find out 'what's this function do?' and 'what's the syntax for that?' my only other piece of advice is to run the examples in the etc/examples/processes.cm file - then hack on them, play with them, break them and make them do different things. it's a good way to learn. all best, bill Carl Edwards wrote: > > > Maurizio wrote: > > is there some Common Music 2.x Tutorial somewhere? > > It's not so easy to learn the language thru the reference manual (imho). > > > > tia > > Maurizio, > > Hi, from someone in the same boat. =) > > There does not appear to be. There is a tutorial out there for an earlier > version of CM's (dis-continued) "Stella" interface. There have been enough > changes to the program that it may not be immediately practical as a > step-by-step tutorial but you'll learn a great deal about what's going on > "under the hood" in CM (I think). I found the section "Describing Music > Algorithmically" extremely helpful. A Google search for "Stella Tutorial", > "Music Lisp", and "Heinrich Taube" should find it without any problem. > > There is also an article (available on the net) by Peter Desain called "Lisp > as a > Second Language" which is illuminating about the practice of doing music in > CLOS. Recommended highly. If you have any trouble finding it I'll be > happy to send you a copy. Judging from the fact that Mr. Desain has > published articles with Roger Dannenberg his orientation may be more to > Nyquist but that is only a guess on my part. > > The Nyquist documentation is well worth taking a look at. It's more > synthesis-oriented but,... "What the heck"? ;-) > > If you haven't downloaded a copy of David Touretzky's "Common Lisp: A Gentle > Introduction To Symbolic Computation" it is available in PDF format. It > doesn't go into CLOS but it gets you started in Lisp fairly painlessly. > > And, of course if you want to converse about "baby steps" give me a shout. > My spare time this summer is devoted to Lisp and CM. > > I hope some of this is helpful. > > Carl Edwards > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist -- _________ Bill Sack wsack at acsu.buffalo.edu ---------------------- From renueden at earthlink.net Wed Jun 19 19:24:05 2002 From: renueden at earthlink.net (Ken) Date: Wed, 19 Jun 2002 19:24:05 -0700 Subject: [CM] Common Music Tutorial? References: <a05111a00b934ea8875ca@[192.168.1.2]> <000e01c217c5$fd6d9a90$afe07ad1@laptop> <3D1125E5.16AE6897@acsu.buffalo.edu> Message-ID: <00d601c21801$8e3ab040$190ba8c0@KenLaptop> I might also point to the UOW site here: http://www.dxarts.washington.edu/music/courses/401-3/index.html for some additional excellent material. Following Bill's suggestions and perusing the above site and a few lisp manuals, you'll be on your way. Much luck, Ken ----- Original Message ----- From: "Bill Sack" <wsack at acsu.buffalo.edu> To: "CM List" <cmdist at ccrma.Stanford.EDU> Sent: Wednesday, June 19, 2002 5:46 PM Subject: Re: [CM] Common Music Tutorial? > hi, > as Carl writes, learning some basic LISP is important. i'd also > recommend getting the html version of Steele's 'Common LISP the > Language, 2nd Edition' which can be downloaded from here: > <http://www-2.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/doc/cltl/ cltl_ht.tgz> > then, if you have it stored locally, it's very easy to zip over and find > out 'what's this function do?' and 'what's the syntax for that?' > > my only other piece of advice is to run the examples in the > etc/examples/processes.cm file - then hack on them, play with them, > break them and make them do different things. it's a good way to learn. > > all best, > bill > > Carl Edwards wrote: > > > > > Maurizio wrote: > > > is there some Common Music 2.x Tutorial somewhere? > > > It's not so easy to learn the language thru the reference manual (imho). > > > > > > tia > > > > Maurizio, > > > > Hi, from someone in the same boat. =) > > > > There does not appear to be. There is a tutorial out there for an earlier > > version of CM's (dis-continued) "Stella" interface. There have been enough > > changes to the program that it may not be immediately practical as a > > step-by-step tutorial but you'll learn a great deal about what's going on > > "under the hood" in CM (I think). I found the section "Describing Music > > Algorithmically" extremely helpful. A Google search for "Stella Tutorial", > > "Music Lisp", and "Heinrich Taube" should find it without any problem. > > > > There is also an article (available on the net) by Peter Desain called "Lisp > > as a > > Second Language" which is illuminating about the practice of doing music in > > CLOS. Recommended highly. If you have any trouble finding it I'll be > > happy to send you a copy. Judging from the fact that Mr. Desain has > > published articles with Roger Dannenberg his orientation may be more to > > Nyquist but that is only a guess on my part. > > > > The Nyquist documentation is well worth taking a look at. It's more > > synthesis-oriented but,... "What the heck"? ;-) > > > > If you haven't downloaded a copy of David Touretzky's "Common Lisp: A Gentle > > Introduction To Symbolic Computation" it is available in PDF format. It > > doesn't go into CLOS but it gets you started in Lisp fairly painlessly. > > > > And, of course if you want to converse about "baby steps" give me a shout. > > My spare time this summer is devoted to Lisp and CM. > > > > I hope some of this is helpful. > > > > Carl Edwards > > > > _______________________________________________ > > Cmdist mailing list > > Cmdist at ccrma.stanford.edu > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > -- > _________ > Bill Sack > wsack at acsu.buffalo.edu > ---------------------- > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From mauriziogiri at tiscali.it Thu Jun 20 05:00:38 2002 From: mauriziogiri at tiscali.it (Maurizio Giri) Date: Thu, 20 Jun 2002 14:00:38 +0200 Subject: [CM] Common Music Tutorial? Message-ID: <a05111a02b9377447c03b@[192.168.1.2]> Thank you all for your suggestions! Btw surfing the web in search of music-lisp sites I've found this: http://www.koncon.nl/ACToolbox/ This "AC Toolbox" (Mac only) seems a very interesting tool for Computer-Aided-Composition, and it's written in Common Lisp. Anyone is already using it? Maurizio From ppagano at bellsouth.net Thu Jun 20 19:57:22 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Thu, 20 Jun 2002 22:57:22 -0400 Subject: [CM] Re: Cmdist digest, Vol 1 #36 - 4 msgs References: <200206201900.g5KJ05l15708@cm-mail.stanford.edu> Message-ID: <000801c218cf$5df79a00$7fa14ed8@gnv.bellsouth.net> I would love to learn clm over the summer if i could get some "baby step" hand holding. I would really like to learn how to use a pV in clm. Thanks for teh resources. I compiled Clisp and clm2, loaded the all.lisp and now. are there example scripts to examine? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From ppagano at bellsouth.net Thu Jun 20 23:10:15 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Fri, 21 Jun 2002 02:10:15 -0400 Subject: [CM] getting started References: <200206201900.g5KJ05l15708@cm-mail.stanford.edu> Message-ID: <001c01c218ea$4fd57bc0$7fa14ed8@gnv.bellsouth.net> ok got started on clm compiled clisp (load "all.lisp") from clm-2 (compile-file "pvoc.ins") (load "pvoc") (with-sound ( ) (pvoc "marcel2.au" 10 :time-stretch 5 :harmonic-mirror-env ' (0 0 20 0 50 1000 70 1000 80 0 100 0) :fftsize 1024)) and duchamp squeals for a solid 50 seconds........... this is fun stuff.... Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From renueden at earthlink.net Fri Jun 21 09:47:30 2002 From: renueden at earthlink.net (Ken) Date: Fri, 21 Jun 2002 09:47:30 -0700 Subject: [CM] getting started References: <200206201900.g5KJ05l15708@cm-mail.stanford.edu> <001c01c218ea$4fd57bc0$7fa14ed8@gnv.bellsouth.net> Message-ID: <001201c21943$57392020$1cdaaec7@KenLaptop> I am completely brain-dead right now from too much coding, so could someone point out my error(s) in trying to make a simple process that turns on my simple csound verb: (defprocess verb () (process repeat 1 output (new reverb2 time (now) duration 60))) Thanks again, Ken From ppagano at bellsouth.net Sat Jun 22 06:00:49 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sat, 22 Jun 2002 09:00:49 -0400 Subject: [CM] convolution Message-ID: <000d01c219ec$d52bf800$7fa14ed8@gnv.bellsouth.net> does someone have examples of convolution, cross-synth, spec morphing or similar that they might share? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20020622/a0530120/attachment.html> From ppagano at bellsouth.net Sat Jun 22 06:59:33 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sat, 22 Jun 2002 09:59:33 -0400 Subject: [CM] convolution Message-ID: <000801c219f5$09852d80$7fa14ed8@gnv.bellsouth.net> Hi working through the examples what does WARNING can't do lisp sound file IO in no-ffi mode mean? i changed the "/zap/decay.snd" decay sound in the cnv.ins and now i get this error Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20020622/874181d9/attachment.html> From ppagano at bellsouth.net Sun Jun 23 05:07:36 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sun, 23 Jun 2002 08:07:36 -0400 Subject: [CM] .cl files, ATS and clm Message-ID: <000801c21aae$9040e940$7fa14ed8@gnv.bellsouth.net> I am not sure if i am doing something wrong but i cannot seem to load any .cl files i compiled an installed clisp 2.88 i untarred teh latest clm-2 and cm-2.3.4 then i (load "all.lisp") the examples and most the .ins files work fine but when i try to load (load "/root/CLISP/ATS-1.0/all.cl") i get an error that there is no EXCL package i also get that function CL is undefined which i am sure must be defined to load the *.cl files? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20020623/5881a003/attachment.html> From jjbenham at yahoo.com Sun Jun 23 07:39:04 2002 From: jjbenham at yahoo.com (Jeremiah Benham) Date: Sun, 23 Jun 2002 07:39:04 -0700 (PDT) Subject: [CM] .snd global file? Message-ID: <20020623143904.26035.qmail@web10001.mail.yahoo.com> Is there somewhere like in the /etc/ dircectory when I can place the .snd file for David Phillip's optimization. I am tyring to create an ebuild script for gentoo linux. I want to make it as effortless as possible. This way a person just has type emerge snd. Then it compiles and stores the .snd in an etc directory and then the used does not have to mess with it. Do you think setting such optimizations by default is a bad thing. I mean when every you download a binary it was created with certain optimisations. Then if the user felt like adding or subtracting support they can edit the ebuild and/or the /etc/make.conf Jeremiah __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From bil at ccrma.Stanford.EDU Mon Jun 24 04:15:37 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 Jun 2002 04:15:37 -0700 Subject: [CM] .snd global file? In-Reply-To: <20020623143904.26035.qmail@web10001.mail.yahoo.com> References: <20020623143904.26035.qmail@web10001.mail.yahoo.com> Message-ID: <200206241115.EAA26097@cmn14.stanford.edu> > Is there somewhere like in the /etc/ dircectory when I > can place the .snd file for David Phillip's > optimization. Snd looks for /etc/snd.conf before loading ~/.snd. The noglob switch overrides this. From bil at ccrma.Stanford.EDU Mon Jun 24 04:16:35 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 Jun 2002 04:16:35 -0700 Subject: [CM] convolution In-Reply-To: <000801c219f5$09852d80$7fa14ed8@gnv.bellsouth.net> References: <000801c219f5$09852d80$7fa14ed8@gnv.bellsouth.net> Message-ID: <200206241116.EAA26102@cmn14.stanford.edu> > working through the examples > what does > WARNING can't do lisp sound file IO in no-ffi mode mean? It means that you can't use outa outside the run macro in a version of clm that doesn't use the foreign function interface and is not pure lisp (i.e. clisp primarily). In the convolution-based reverb in cnv.ins, it makes an impulse response and puts it in a file: (loop for i from start-samp below len do (let ((sum 0.0)) (dotimes (i 10) (incf sum (- (random .4) .2))) ;;Gaussian noise -- 0 centered much better than pure positive case (outa i (* (env fe) sum) ofile))) (close-output ofile)) This code won't work in no-ffi mode. From bil at ccrma.Stanford.EDU Mon Jun 24 04:19:23 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 Jun 2002 04:19:23 -0700 Subject: [CM] .cl files, ATS and clm In-Reply-To: <000801c21aae$9040e940$7fa14ed8@gnv.bellsouth.net> References: <000801c21aae$9040e940$7fa14ed8@gnv.bellsouth.net> Message-ID: <200206241119.EAA26107@cmn14.stanford.edu> ATS uses the binary file IO in clm1.lisp; this code goes through the FFI, so in Clisp's case, you're out of luck. Why not change over to cmucl? By the way, is there anyway for you to turn off the HTML mailing option? It's not easy for me to get at the message. From ppagano at bellsouth.net Mon Jun 24 16:45:58 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Mon, 24 Jun 2002 19:45:58 -0400 Subject: [CM] Re: Cmdist digest, Vol 1 #40 - 3 msgs References: <20020624190011.28378.14235.Mailman@cm-mail.stanford.edu> Message-ID: <000801c21bd9$4a347440$7fa14ed8@gnv.bellsouth.net> Hopefully the stinky html is off now i have grabbed the rpms from the Planet CCRMA site. I will gladly move over to Clisp as soon as I get ATS-1.0 running. do you think that it would be too confusing to switch from Clisp to cmucl, Juan? I did get the regular cnv working with a nice duchamp file and some impulses i found http://orpheus.tamu.edu/fredrics/impulse.html Just having duchamp talking in a shower stall/bathroom is too too ready-made (lol) hope the html is off thanks bil! Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ > the FFI, so in Clisp's case, you're out of luck. Why not change > over to cmucl? > > By the way, is there anyway for you to turn off the HTML > mailing option? It's not easy for me to get at the message. > From juan at ccrma.Stanford.EDU Tue Jun 25 01:13:09 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Tue, 25 Jun 2002 01:13:09 -0700 (PDT) Subject: [CM] Re: Cmdist digest, Vol 1 #40 - 3 msgs In-Reply-To: <000801c21bd9$4a347440$7fa14ed8@gnv.bellsouth.net> Message-ID: <Pine.LNX.4.44.0206250108270.6882-100000@ccrma-gate.stanford.edu> I haven't tried ATS under cmucl but if CLM-2 runs under it (with full ffi support) then ATS should work just fine. JUAN On Mon, 24 Jun 2002, shreeswifty wrote: > Hopefully the stinky html is off now > i have grabbed the rpms from the Planet CCRMA site. > I will gladly move over to Clisp as soon as I get ATS-1.0 running. > do you think that it would be too confusing to switch from Clisp to cmucl, > Juan? > I did get the regular cnv working with a nice duchamp file and some > impulses i found > > http://orpheus.tamu.edu/fredrics/impulse.html > > Just having duchamp talking in a shower stall/bathroom is too too ready-made > (lol) > > hope the html is off > thanks bil! > > > > Pat Pagano, Director > South East Just Intonation Society > http://www.screwmusicforever.com/SHREESWIFT/ > > > the FFI, so in Clisp's case, you're out of luck. Why not change > > over to cmucl? > > > > By the way, is there anyway for you to turn off the HTML > > mailing option? It's not easy for me to get at the message. > > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From msimoni at umich.edu Tue Jun 25 12:28:59 2002 From: msimoni at umich.edu (Mary Simoni) Date: Tue, 25 Jun 2002 15:28:59 -0400 (EDT) Subject: [CM] Common Music Tutorial? In-Reply-To: <a05111a00b934ea8875ca@[192.168.1.2]> Message-ID: <Pine.SOL.4.44.0206251523150.20991-100000@arkanoid.gpcc.itd.umich.edu> Dear Maurizio, I have developed extensive tutorials for LISP/CM 1.4 that unfortunately are obsolete with the release of CM 2.x. I am working on revising the code so it is 2.x compatible and releasing it as an e-book. Start by learning LISP. If you're not familiar with programming, David Touretzky's "Common Lisp: A Gentle Introduction to Symboilic Computation" is an excellent place to start. The book is currently out of print. If you've had some programming experience, I suggest Steele's book. Best of luck to you! Mary Simoni On Tue, 18 Jun 2002, Maurizio Giri wrote: > Hi all, > > is there some Common Music 2.x Tutorial somewhere? > It's not so easy to learn the language thru the reference manual (imho). > > tia > Maurizio > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From ppagano at bellsouth.net Tue Jun 25 13:03:48 2002 From: ppagano at bellsouth.net (Pat Pagano) Date: Tue, 25 Jun 2002 16:03:48 -0400 Subject: [CM] trying clm with cmucl on Message-ID: <3D18CCA4.9FEB2@bellsouth.net> OK here is my first try of clm-2 with cmucl lisp How do i proceed to get back to where i was with clisp? I am simply using cnv, pvoc, zipper etc...and hopefully soon ATS-1.0 loading the "all.lisp" file supplied in clm-2 gives this......... [root at localhost CLISP]# lisp CMU Common Lisp 18d, running on localhost.localdomain 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 "/root/CLISP/clm-2/all.lisp") ; Loading #p"/root/CLISP/clm-2/all.lisp". ; Compiling "/root/CLISP/clm-2/io.c" cc: /root/CLISP/clm-2/io.c: No such file or directory cc: No input files ; Compiling "/root/CLISP/clm-2/headers.c" cc: /root/CLISP/clm-2/headers.c: No such file or directory cc: No input files ; Compiling "/root/CLISP/clm-2/audio.c" cc: /root/CLISP/clm-2/audio.c: No such file or directory cc: No input files ; Compiling "/root/CLISP/clm-2/sound.c" cc: /root/CLISP/clm-2/sound.c: No such file or directory cc: No input files ; Compiling "/root/CLISP/clm-2/cmus.c" cc: /root/CLISP/clm-2/cmus.c: No such file or directory cc: No input files ; Compiling "/root/CLISP/clm-2/clmnet.c" cc: /root/CLISP/clm-2/clmnet.c: No such file or directory cc: No input files ; Creating "/root/CLISP/clm-2/libclm.so" ld: cannot open /root/CLISP/clm-2/headers.o: No such file or directory ;; Loading #p"/root/CLISP/clm-2/special-form-for-cmu.cl". ;; Loading #p"/root/CLISP/clm-2/clm-package.x86f". ;; Loading #p"/root/CLISP/clm-2/initmus.x86f". Warning: Declaring CLM::*CLM-COMPILER-NAME* special. ;;; Running /usr/bin/ld... File-error in function LOAD-FOREIGN: File does not exist: /root/CLISP/clm-2/libclm.so. Restarts: 0: [CONTINUE] Return NIL from load of "/root/CLISP/clm-2/all.lisp". 1: [ABORT ] Return to Top-Level. Debug (type H for help) (LOAD-FOREIGN "/root/CLISP/clm-2/libclm.so" :LIBRARIES ("-lc") :BASE-FILE ...) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer e xists: target:code/foreign.lisp. 0] From carl.boingie at rcn.com Tue Jun 25 16:15:31 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Tue, 25 Jun 2002 19:15:31 -0400 Subject: [CM] Common Music Tutorial? References: <Pine.SOL.4.44.0206251523150.20991-100000@arkanoid.gpcc.itd.umich.edu> Message-ID: <00f701c21c9e$3483d260$0ded7ad1@laptop> Mary, That's great news. Let us know if you need any beta-testers. =) Carl Edwards > I have developed extensive tutorials for LISP/CM 1.4 that unfortunately > are obsolete with the release of CM 2.x. I am working on revising the > code so it is 2.x compatible and releasing it as an e-book. > (...) > > Best of luck to you! > > Mary Simoni From nando at ccrma.Stanford.EDU Tue Jun 25 17:28:59 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Tue, 25 Jun 2002 17:28:59 -0700 Subject: [CM] trying clm with cmucl on In-Reply-To: <3D18CCA4.9FEB2@bellsouth.net> References: <3D18CCA4.9FEB2@bellsouth.net> Message-ID: <200206260029.RAA07910@cmn29.stanford.edu> > OK here is my first try of clm-2 with cmucl lisp > How do i proceed to get back to where i was with clisp? > I am simply using cnv, pvoc, zipper etc...and hopefully soon ATS-1.0 > loading the "all.lisp" file supplied in clm-2 gives this......... > > [root at localhost CLISP]# lisp > CMU Common Lisp 18d, running on localhost.localdomain > 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 "/root/CLISP/clm-2/all.lisp") > > ; Loading #p"/root/CLISP/clm-2/all.lisp". > ; Compiling "/root/CLISP/clm-2/io.c" > cc: /root/CLISP/clm-2/io.c: No such file or directory > cc: No input files It looks like the *.c files are not there. Are you sure they are there? Maybe the permissions are wrong? I'd suggest you untar the clm-2 distribution on a new directory, cd there, start cmucl ("lisp") and try again. -- Fernando From bil at ccrma.Stanford.EDU Wed Jun 26 04:50:07 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 26 Jun 2002 04:50:07 -0700 Subject: [CM] trying clm with cmucl on In-Reply-To: <3D18CCA4.9FEB2@bellsouth.net> References: <3D18CCA4.9FEB2@bellsouth.net> Message-ID: <200206261150.EAA29037@cmn14.stanford.edu> > cc: /root/CLISP/clm-2/io.c: No such file or directory clisp renames io.c and friends to saved-io.c since it (clisp) writes a temporary file named io.c during compilation of io.lisp. So, as Fernando says, the simplest thing is to start from the tarball. Also, I noticed that clm1.lisp cmucl support was only half-complete, so I finished it yesterday (there's a new clm-2.tar.gz at ccrma-ftp). From mauriziogiri at tiscali.it Wed Jun 26 05:24:53 2002 From: mauriziogiri at tiscali.it (Maurizio Giri) Date: Wed, 26 Jun 2002 14:24:53 +0200 Subject: [CM] Common Music Tutorial? In-Reply-To: <Pine.SOL.4.44.0206251523150.20991-100000@arkanoid.gpcc.itd.umich.edu> References: <Pine.SOL.4.44.0206251523150.20991-100000@arkanoid.gpcc.itd.umich.edu> Message-ID: <a05111a00b93f62689de3@[192.168.1.2]> Mary Simoni <msimoni at umich.edu> wrote: >Dear Maurizio, > >I have developed extensive tutorials for LISP/CM 1.4 that unfortunately >are obsolete with the release of CM 2.x. I am working on revising the >code so it is 2.x compatible and releasing it as an e-book. > That's big news! Is there any release date already? And, is the e-book format Mac-compatible? Thank you Maurizio From msimoni at umich.edu Wed Jun 26 06:49:03 2002 From: msimoni at umich.edu (Mary Simoni) Date: Wed, 26 Jun 2002 09:49:03 -0400 (EDT) Subject: [CM] Common Music Tutorial? In-Reply-To: <a05111a00b93f62689de3@[192.168.1.2]> Message-ID: <Pine.SOL.4.44.0206260945540.7567-100000@rygar.gpcc.itd.umich.edu> The e-book will be developed on Macintosh although the examples will cross platform. I am in the early stages of the software revisions from 1.4 to 2.x. I expect the e-book to be published by University of Michigan press within the year if things go as planned. mary On Wed, 26 Jun 2002, Maurizio Giri wrote: > Mary Simoni <msimoni at umich.edu> wrote: > > >Dear Maurizio, > > > >I have developed extensive tutorials for LISP/CM 1.4 that unfortunately > >are obsolete with the release of CM 2.x. I am working on revising the > >code so it is 2.x compatible and releasing it as an e-book. > > > > That's big news! > Is there any release date already? And, is the e-book format Mac-compatible? > > Thank you > Maurizio > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From finnendahl at folkwang-hochschule.de Wed Jun 26 08:06:47 2002 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 26 Jun 2002 17:06:47 +0200 Subject: [CM] snd, Alsa and RME Multichannel Message-ID: <20020626150646.GB554@finnendahl.de> Hi Bill, I recently purchased a RME HDSP PCMCIA card with a Multiface and managed to get the new driver of Paul Davis loaded. aplay works with 2-chanel wav files. I tried to check playback of Multichannel aiff Files with snd but got errors about unavailable devices (I can't give you the printout of the error message in the moment as I don't have the box right now). Since something with oss is mentioned, I guess snd uses some sort of the oss compatibility layer of alsa. I don't know very well how everything interacts but maybe you can help by answering some of my questions below. 1. If snd works with alsa does it use oss or can it access alsa directly? 2. If so, how can that be specified (maybe it has to get compiled into snd)? 3. I heard that snd works multichannel under alsa. If so, does it use oss for that (meaning I have to load some of the oss modules of alsa)? Any help is appreciated, -- Orm From nando at ccrma.Stanford.EDU Wed Jun 26 09:52:32 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Wed, 26 Jun 2002 09:52:32 -0700 Subject: [CM] snd, Alsa and RME Multichannel In-Reply-To: <20020626150646.GB554@finnendahl.de> References: <20020626150646.GB554@finnendahl.de> Message-ID: <200206261652.JAA08893@cmn29.stanford.edu> > I recently purchased a RME HDSP PCMCIA card with a Multiface and > managed to get the new driver of Paul Davis loaded. aplay works with > 2-chanel wav files. I tried to check playback of Multichannel aiff > Files with snd but got errors about unavailable devices (I can't give > you the printout of the error message in the moment as I don't have > the box right now). [MUNCH] > > 1. If snd works with alsa does it use oss or can it access alsa directly? I can access alsa directly. > 2. If so, how can that be specified (maybe it has to get compiled into snd)? Snd has to be configured with --with-alsa=yes and alsa 0.9 has to be correctly installed. > 3. I heard that snd works multichannel under alsa. If so, does it use > oss for that (meaning I have to load some of the oss modules of > alsa)? Multichannel (and mono and stereo) works under alsa in snd only with interleaved soundcards. The RME is non-interleaved, so you will get an error when the alsa code in snd tries to open the soundcard (look at the error log to see what you are getting). In the meanwhile you could use oss emulation for playback (ie: compile snd with --with-alsa=no), but I think that will not work with multichannel playback. Obviously I have to get into "snd alsa programming mode" and fix this... -- Fernando From swan at shockfrosted.org Wed Jun 26 10:20:32 2002 From: swan at shockfrosted.org (Stefan Schwandter) Date: Wed, 26 Jun 2002 19:20:32 +0200 Subject: [CM] snd and ALSA Message-ID: <20020626172031.GP829@TK150122.tuwien.teleweb.at> Hi! Does a snd compiled with alsa also work with oss, or do I _have_ to use alsa then (I'd like to enable ALSA for the debian package but not every user has alsa). regards, Stefan -- Wanna listen to my music? <------ ----> http://www.shockfrosted.org From finnendahl at folkwang-hochschule.de Wed Jun 26 10:32:36 2002 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 26 Jun 2002 19:32:36 +0200 Subject: [CM] snd, Alsa and RME Multichannel In-Reply-To: <200206261652.JAA08893@cmn29.stanford.edu> References: <20020626150646.GB554@finnendahl.de> <200206261652.JAA08893@cmn29.stanford.edu> Message-ID: <20020626173235.GA908@finnendahl.de> Hi Fernando, I just talked to Thomas Neuhaus. He told me he got the snd program to work with the old Hammerfall 9652 which also is interleaved. There is a hack in alsa which makes alsa do the necessary conversion from interleaved to non interleaved. You have to set an environment variable. Following is an example for csh: setenv SNDLIB_ALSA_PLAYBACK_DEVICE default:0,0 He said, instead of default it can also be called hwplug:0,0 After that, snd plays any number of channels. I will check that tomorrow whith the new HDSP when I get my Multiface back. Yours, Orm From nando at ccrma.Stanford.EDU Wed Jun 26 10:38:28 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Wed, 26 Jun 2002 10:38:28 -0700 Subject: [CM] snd and ALSA In-Reply-To: <20020626172031.GP829@TK150122.tuwien.teleweb.at> References: <20020626172031.GP829@TK150122.tuwien.teleweb.at> Message-ID: <200206261738.KAA08955@cmn29.stanford.edu> > Does a snd compiled with alsa also work with oss, or do I _have_ to > use alsa then (I'd like to enable ALSA for the debian package but not > every user has alsa). If alsa is linked statically into snd then if alsa is not present in the system snd will autoswitch to using oss. If alsa is dynamically linked, snd will not be able to start if alsa is not installed. In my snd rpms I create a separate package for an "oss only" snd that does not include alsa at all. -- Fernando From swan at shockfrosted.org Wed Jun 26 10:58:04 2002 From: swan at shockfrosted.org (Stefan Schwandter) Date: Wed, 26 Jun 2002 19:58:04 +0200 Subject: [CM] snd and ALSA In-Reply-To: <200206261738.KAA08955@cmn29.stanford.edu> References: <20020626172031.GP829@TK150122.tuwien.teleweb.at> <200206261738.KAA08955@cmn29.stanford.edu> Message-ID: <20020626175804.GQ829@TK150122.tuwien.teleweb.at> Fernando Pablo Lopez-Lezcano wrote: > If alsa is linked statically into snd then if alsa is not present in > the system snd will autoswitch to using oss. If alsa is dynamically > linked, snd will not be able to start if alsa is not installed. > In my snd rpms I create a separate package for an "oss only" snd > that does not include alsa at all. Hmm, I really don't want to link to it statically, and I don't necessarily want to make an extra package for alsa (it would be 2 packages actually, gtk and motif). So I guess I'm outta luck here ;-) No, seriously, couldn't there be a run time configure option to switch between alsa and oss? I guess it's not so trivial, otherwise somebody would probably have done that already... regards, Stefan -- Wanna listen to my music? <------ ----> http://www.shockfrosted.org From finnendahl at folkwang-hochschule.de Wed Jun 26 11:30:47 2002 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Wed, 26 Jun 2002 20:30:47 +0200 Subject: [CM] snd, Alsa and RME Multichannel In-Reply-To: <200206261652.JAA08893@cmn29.stanford.edu> References: <20020626150646.GB554@finnendahl.de> <200206261652.JAA08893@cmn29.stanford.edu> Message-ID: <20020626183047.GB908@finnendahl.de> Hi all, sorry, there was a typo in my last mail. The Hammerfall 9652 is also NON interleaved, of course. -- Orm Hi Fernando, I just talked to Thomas Neuhaus. He told me he got the snd program to work with the old Hammerfall 9652 which also is interleaved. There is a hack in alsa which makes alsa do the necessary conversion from interleaved to non interleaved. You have to set an environment variable. Following is an example for csh: setenv SNDLIB_ALSA_PLAYBACK_DEVICE default:0,0 He said, instead of default it can also be called hwplug:0,0 After that, snd plays any number of channels. I will check that tomorrow whith the new HDSP when I get my Multiface back. Yours, Orm _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From nando at ccrma.Stanford.EDU Wed Jun 26 12:16:50 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Wed, 26 Jun 2002 12:16:50 -0700 Subject: [CM] snd and ALSA In-Reply-To: <20020626175804.GQ829@TK150122.tuwien.teleweb.at> References: <20020626172031.GP829@TK150122.tuwien.teleweb.at> <200206261738.KAA08955@cmn29.stanford.edu> <20020626175804.GQ829@TK150122.tuwien.teleweb.at> Message-ID: <200206261916.MAA09107@cmn29.stanford.edu> > > If alsa is linked statically into snd then if alsa is not present in > > the system snd will autoswitch to using oss. If alsa is dynamically > > linked, snd will not be able to start if alsa is not installed. > > > In my snd rpms I create a separate package for an "oss only" snd > > that does not include alsa at all. > > Hmm, I really don't want to link to it statically, and I don't > necessarily want to make an extra package for alsa (it would be 2 > packages actually, gtk and motif). Same here, snd-motif, snd-motif-oss, snd-gtk, snd-gtk-oss. A pain but works fine and gives users choice. > So I guess I'm outta luck here ;-) > > No, seriously, couldn't there be a run time configure option to switch > between alsa and oss? I guess it's not so trivial, otherwise somebody > would probably have done that already... That would involve some sort of dynamically loaded "i/o plugin" system so that the shared library linking happened at run time. I have no idea on how to do that, most probably not that difficult (once you know how :-) but quite low in my list of "things I would really like to do". It would probably involve a big reorganization or rethinking of the snd audio i/o code as well. At this point snd is one executable and whatever it has to link to dynamically has to be installed for snd to run. -- Fernando From rbastian at club-internet.fr Wed Jun 26 13:03:46 2002 From: rbastian at club-internet.fr (=?iso-8859-15?q?Ren=E9=20Bastian?=) Date: Wed, 26 Jun 2002 22:03:46 +0200 Subject: [CM] CMN : glissando+final-note Message-ID: <02062622034600.01194@linux> Hello, At the end of a glissando-line I wish to put a sort of auxiliary note (without duration). Is it possible ? This is wrong : (cmn (size 24) (glissando-thickness 0.03) (staff bar (treble (text "sul E" (font-size 10) (dy 1.25) )) (e6 q begin-glissando) (gs5 e end-glissando begin-glissando) (c6 e end-glissando begin-glissando) (e6 h. end-glissando (glissando-to fs5) (auxiliary-note fs5 no-stem )) ); end-staff ); end-cmn R. Bastian From swan at shockfrosted.org Wed Jun 26 13:46:56 2002 From: swan at shockfrosted.org (Stefan Schwandter) Date: Wed, 26 Jun 2002 22:46:56 +0200 Subject: [CM] snd and ALSA In-Reply-To: <200206261916.MAA09107@cmn29.stanford.edu> References: <20020626172031.GP829@TK150122.tuwien.teleweb.at> <200206261738.KAA08955@cmn29.stanford.edu> <20020626175804.GQ829@TK150122.tuwien.teleweb.at> <200206261916.MAA09107@cmn29.stanford.edu> Message-ID: <20020626204656.GA653@TK150122.tuwien.teleweb.at> Fernando Pablo Lopez-Lezcano wrote: > Same here, snd-motif, snd-motif-oss, snd-gtk, snd-gtk-oss. A > pain but works fine and gives users choice. Ok, I'll add -alsa versions with the next revision of the packages. It wasn't as much pain as I thought :-) > [ run time switching from oss to alsa ] I see, thanks! regards, Stefan -- Wanna listen to my music? <------ ----> http://www.shockfrosted.org From ppagano at bellsouth.net Wed Jun 26 15:21:11 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Wed, 26 Jun 2002 18:21:11 -0400 Subject: [CM] trying clm with cmucl on References: <3D18CCA4.9FEB2@bellsouth.net> <200206261150.EAA29037@cmn14.stanford.edu> Message-ID: <000701c21d5f$c7517c20$7fa14ed8@gnv.bellsouth.net> Ok i grabbed that file and ran lisp (loaded "all.lisp") with no problems (compile-file "pvoc.ins") no problems (load "pvoc") ;Loading #p"/root/CLM/clm-2/pvoc.x86f". Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: Unknown foriegn symbol: "clm_lnxcmu_pvoc2" Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ ----- Original Message ----- From: Bill Schottstaedt <bil at ccrma.Stanford.EDU> To: Pat Pagano <ppagano at bellsouth.net> Cc: <cmdist at ccrma.Stanford.EDU> Sent: Wednesday, June 26, 2002 7:50 AM Subject: Re: [CM] trying clm with cmucl on > > cc: /root/CLISP/clm-2/io.c: No such file or directory > > clisp renames io.c and friends to saved-io.c since it (clisp) > writes a temporary file named io.c during compilation of > io.lisp. So, as Fernando says, the simplest thing is to > start from the tarball. Also, I noticed that clm1.lisp > cmucl support was only half-complete, so I finished it > yesterday (there's a new clm-2.tar.gz at ccrma-ftp). From ppagano at bellsouth.net Wed Jun 26 15:50:15 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Wed, 26 Jun 2002 18:50:15 -0400 Subject: [CM] rtfm References: <20020626190004.2216.98272.Mailman@cm-mail.stanford.edu> Message-ID: <000701c21d63$d65bbf60$7fa14ed8@gnv.bellsouth.net> sorry. did'nt find the ins.cmucl thing until now Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From simon at ling.ed.ac.uk Thu Jun 27 04:19:21 2002 From: simon at ling.ed.ac.uk (Simon Kirby) Date: Thu, 27 Jun 2002 12:19:21 +0100 (BST) Subject: [CM] help with windows xemacs cm nightmare Message-ID: <Pine.LNX.4.44.0206271216480.3652-100000@agave.ling.ed.ac.uk> Hi all, I am really struggling to get CM to work on my windows machine - I wonder if any of you can give me a step-by-step guide... Here's what I've done so far... I've downloaded and unpacked the cm-2.3.4-win32.zip file from the ftp site. For what its worth, the resultant directory tree is now under c:\cm-2.3.4\... As the README suggests, I looked in etc\scripts for a startup script. I modified the clispcm.bat there so that the paths pointed to the right places, in other words: C:\cm-2.3.4\bin\lisp.exe -M c:\cm-2.3.4\bin\cm.mem -i c:\cm-2.3.4\bin\cminit.lisp However, clicking on the resulting batch file gives me the following error after cminit.lisp is loaded: [pathname.d:7947] *** - Win32 error 161 (ERROR_BAD_PATHNAME): The specified path is invalid. 1. Break [2]> OK, well I didn't really want to run CM from the windows command shell anyway, so I moved on to trying to get it to work under Xemacs. The etc\emacs directory mentioned in the README isn't there unfortunately, but there is a cm.el file in the contrib directory. The file suggests a couple of lines to add to your .emacs file to load cm.el. However, one of these points to the file "/usr/bin/clispcm", and I'm not sure what this should be on a windows system... I have Cygwin, so I figured I could just modify the clispcm sh script in the contrib directory.... but this requires a CLISPDIR variable be set to "the directory containing 'full' or 'base' directories". And I don't have these. Help! Is there a nice simple way I can get cm running under Xemacs on a windows system? Thanks in advance for any help.... Simon P.S. I originally sent this message to cmdist-admin in error - sorry! -- Simon Kirby Language Evolution and Computation Research Unit simon at ling.ed.ac.uk Department of Theoretical and Applied Linguistics http://www.ling.ed.ac.uk/~simon/ University of Edinburgh From taube at uiuc.edu Thu Jun 27 08:21:17 2002 From: taube at uiuc.edu (Rick Taube) Date: Thu, 27 Jun 2002 08:21:17 -0700 Subject: [CM] help with windows xemacs cm nightmare References: <Pine.LNX.4.44.0206271216480.3652-100000@agave.ling.ed.ac.uk> Message-ID: <001501c21dee$49fbdce0$72197e82@music.uiuc.edu> I use cm with xemacs on windows at home all the time, ill send instructions on how to do it later today when im at my office. i have recently made a much improved cm.el file you can use as well -- it defines a useful emacs->lisp interaction menu for lisp-mode and fixes inf-lisp to give much better prompt line support in the inferior lisp buffer. it will also run the inferior lisp in a dedicated Listener window if you want. ----- Original Message ----- From: "Simon Kirby" <simon at ling.ed.ac.uk> To: <cmdist at ccrma.Stanford.EDU> Sent: Thursday, June 27, 2002 4:19 AM Subject: [CM] help with windows xemacs cm nightmare > Hi all, > > I am really struggling to get CM to work on my windows machine - I wonder > if any of you can give me a step-by-step guide... > > Here's what I've done so far... I've downloaded and unpacked the > cm-2.3.4-win32.zip file from the ftp site. For what its worth, the > resultant directory tree is now under c:\cm-2.3.4\... As the README > suggests, I looked in etc\scripts for a startup script. I modified the > clispcm.bat there so that the paths pointed to the right places, in other > words: > > C:\cm-2.3.4\bin\lisp.exe -M c:\cm-2.3.4\bin\cm.mem -i c:\cm-2.3.4\bin\cminit.lisp > > However, clicking on the resulting batch file gives me the following error > after cminit.lisp is loaded: > > [pathname.d:7947] > *** - Win32 error 161 (ERROR_BAD_PATHNAME): The specified path is invalid. > 1. Break [2]> > > OK, well I didn't really want to run CM from the windows command shell > anyway, so I moved on to trying to get it to work under Xemacs. The > etc\emacs directory mentioned in the README isn't there unfortunately, but > there is a cm.el file in the contrib directory. The file suggests a couple > of lines to add to your .emacs file to load cm.el. However, one of these > points to the file "/usr/bin/clispcm", and I'm not sure what this should > be on a windows system... > > I have Cygwin, so I figured I could just modify the clispcm sh script in > the contrib directory.... but this requires a CLISPDIR variable be set to > "the directory containing 'full' or 'base' directories". And I don't have > these. > > Help! > > Is there a nice simple way I can get cm running under Xemacs on a windows > system? > > Thanks in advance for any help.... > Simon > > P.S. I originally sent this message to cmdist-admin in error - sorry! > > -- > Simon Kirby Language Evolution and Computation Research Unit > simon at ling.ed.ac.uk Department of Theoretical and Applied Linguistics > http://www.ling.ed.ac.uk/~simon/ University of Edinburgh > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From ppagano at bellsouth.net Thu Jun 27 15:18:09 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Thu, 27 Jun 2002 18:18:09 -0400 Subject: [CM] Re: WITH CMUCL References: <Pine.LNX.4.44.0206270045380.22798-100000@ccrma-gate.stanford.edu> Message-ID: <000601c21e28$84d87aa0$7fa14ed8@gnv.bellsouth.net> any ideas on what to change it to? .fasl ? .cmucl? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ ----- Original Message ----- From: Juan Pampin <juan at ccrma.Stanford.EDU> To: Pat Pagano <ppagano at bellsouth.net> Cc: Juan Carlos Pampin <juan at ccrma.Stanford.EDU> Sent: Thursday, June 27, 2002 3:55 AM Subject: Re: WITH CMUCL > You should start over from a fresh copy of ATS it looks like cmucl is > loading a .fas file created with clisp. Copy ATS' tar.gz file to a > different directory, unpack it, change to the new ATS directory and run > cmucl. Then try loading all.cl again. For what I see on your message cmucl > seems to be using a weird postfix for compiled files (.x86f) you might > have to change things in all.cl if the compilation doesn't work (try using > the loading functinos I've sent you and changing the ".fas" argument to > whatever cmucl is happy with). > Good luck!, > JUAN > > On Wed, 26 Jun 2002, Pat Pagano wrote: > > > > > Ok Juan, i copied all.cl, utilities.cl and residual-analysis.cl into a > > new directory with ATS-1.0 > > and this is what i get ..... > > > > > > /root/CLISP/ATS-1.0/src/structure.x86f written. > > Compilation finished in 0:00:03. > > ;; Loading #p"/root/CLISP/ATS-1.0/src/structure.fas". > > > > Warning: This function is undefined: > > SYSTEM::VERSION > > > > Error in KERNEL:%COERCE-TO-FUNCTION: the function SYSTEM::VERSION is > > undefined. > > > > Restarts: > > 0: [CONTINUE] Return NIL from load of > > "/root/CLISP/ATS-1.0/src/structure.fas". > > 1: Return NIL from load of "/root/CLM/ATS-1.0/all.cl". > > 2: [ABORT ] Return to Top-Level. > > > > Debug (type H for help) > > > > (KERNEL:%COERCE-TO-FUNCTION SYSTEM::VERSION) > > Source: Error finding source: > > Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer > > exists: > > target:code/fdefinition.lisp. > > 0] > > > > > > From carl.boingie at rcn.com Thu Jun 27 19:05:20 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Thu, 27 Jun 2002 22:05:20 -0400 Subject: [CM] newbie: rhythm confusion Message-ID: <00b301c21e48$6b283170$86e17ad1@laptop> I think I'm having a little trouble understanding the use of rhythm. I was trying to get a rotation of a 4 beat phrase but my output has totally even durations and timing. Can somebody take a look at the process below and tell me what I'm doing wrong. (defprocess my-first () (process repeat 96 for k =(new random of '((60 weight .2143) (62 weight .0714) (64 weight .1429) (65 weight .0714) (67 weight .2143) (69 weight .1429) (70 weight .1429))) for r = (new rotation of '(q e. h s)) for x = (now) for ba = (rhythm (next r)) output (new midi time x keynum (next k) duration ba amplitude .5) wait ba)) Minor hiccups aside, this is the most fun I've had in a good long time. Thanks in advance. Carl Edwards From lantas at u.washington.edu Thu Jun 27 20:48:35 2002 From: lantas at u.washington.edu (L. Antas) Date: Thu, 27 Jun 2002 20:48:35 -0700 (PDT) Subject: [CM] newbie: rhythm confusion In-Reply-To: <00b301c21e48$6b283170$86e17ad1@laptop> Message-ID: <Pine.A41.4.44.0206272048050.60436-100000@dante20.u.washington.edu> got it... On Thu, 27 Jun 2002, Carl Edwards wrote: > > I think I'm having a little trouble understanding the use of rhythm. I was > trying to get a rotation of a 4 beat phrase but my output has totally even > durations and timing. Can somebody take a look at the process below and tell > me what I'm doing wrong. > > (defprocess my-first () > (process repeat 96 > for k =(new random of '((60 weight .2143) > (62 weight .0714) > (64 weight .1429) > (65 weight .0714) > (67 weight .2143) > (69 weight .1429) > (70 weight .1429))) > for r = (new rotation of '(q e. h s)) > for x = (now) > for ba = (rhythm (next r)) > output (new midi time x > keynum (next k) > duration ba > amplitude .5) > wait ba)) > > Minor hiccups aside, this is the most fun I've had in a good long time. > > Thanks in advance. > > Carl Edwards > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From nando at ccrma.Stanford.EDU Thu Jun 27 21:21:11 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Thu, 27 Jun 2002 21:21:11 -0700 (PDT) Subject: [CM] Re: ats under cmucl Message-ID: <Pine.LNX.4.44.0206272038360.24211-100000@cmn37.stanford.edu> I tried to compile ats under cmucl and so far no luck. What I've found so far: The ats-cl function in all.cl borrowed from Bill's clm is for acl and does not work correctly under cmucl. I created one from Bill's code for cmucl and then compiling and loading happens as it should. In utilities.cl '(excl:gc)' is acl specific, the correct cmucl invocation appears to be '(extensions:gc)'. After fixing that with a pair of #+ conditional compilation switches things keep going for a while. And then compilation reaches copy-sound.cl, in function copy-ats-sound the compilation fails with a puzzling: Compiling DEFUN COPY-ATS-SOUND: Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER: 0 is not of type KERNEL:CTYPE Restarts: 0: [CONTINUE] Return NIL from load of "all.cl". 1: [ABORT ] Return to Top-Level. Debug (type H for help) (KERNEL:TYPES-INTERSECT 2 0 #<ARRAY-TYPE (SIMPLE-VECTOR 20)>)[:EXTERNAL] I have no clue what that means. Erasing the function enables me to continue. Changing the _name_ of the function enables me to continue (for example to load-xxx-ats, this is after restarting lisp from scratch, erasing all binaries in bin/ and recompiling. Very weird. In save-load-sound.cl I forgot that I needed to load the clm1.lisp extension that enables binary reads and writes (used to exist in clm-1 and was not initially part of clm-2). So I tried to compile and load it and it seems that some of the functions are not defined for cmucl: Warning: These functions are undefined: C-READ-FLOATS C-READ-INTS C-SEEK C-WRITE-FLOATS C-WRITE-INTS Hopefully those would be able to be implemented at some point... after ignoring the warning compilation of save-load-sound.cl gives warnings (obviously): Python version 1.0, VM version Intel x86 on 27 JUN 02 08:56:01 pm. Compiling: /user/n/nando/work/ats/ATS-1.0/src/save-load-sound.cl 10 APR 02 09:54:44 pm Converted ATS-SAVE. Compiling DEFUN ATS-SAVE: File: /user/n/nando/work/ats/ATS-1.0/src/save-load-sound.cl In: DEFUN ATS-SAVE (POSITION K BAND-L) --> DO BLOCK LET TAGBODY RETURN-FROM ==> (PROGN NIL) Warning: This is not a (VALUES &OPTIONAL (MOD 536870911) &REST T): NIL [Last message occurs 2 times] Converted ATS-LOAD. Compiling DEFUN ATS-LOAD: Byte Compiling Top-Level Form: File: /user/n/nando/work/ats/ATS-1.0/src/save-load-sound.cl In: DEFUN ATS-LOAD (C-CLOSE FD) Warning: Undefined function: C-CLOSE In: DEFUN ATS-SAVE (C-CLOSE FD) Warning: Undefined function: C-CLOSE (C-CREATE-FILE FILE) Warning: Undefined function: C-CREATE-FILE In: DEFUN ATS-LOAD (C-OPEN-INPUT-FILE FILE) Warning: Undefined function: C-OPEN-INPUT-FILE Warning: These functions are undefined: C-CLOSE C-CREATE-FILE C-OPEN-INPUT-FILE Compilation unit finished. 7 warnings /user/n/nando/work/ats/ATS-1.0/bin/save-load-sound.x86f written. Compilation finished in 0:00:01. ;; Loading #p"/user/n/nando/work/ats/ATS-1.0/bin/save-load-sound.x86f". And finally when compiling sin-synth.ins: Python version 1.0, VM version Intel x86 on 27 JUN 02 08:59:02 pm. Compiling: /user/n/nando/work/ats/ATS-1.0/synth/sin-synth.ins 10 APR 02 09:54:44 pm ; Writing "clm_lnxcmu_SIN-SYNTH.c" ; Compiling "clm_lnxcmu_SIN-SYNTH.c" ; Creating shared object file "clm_lnxcmu_SIN-SYNTH.so" Converted |clm_lnxcmu_sin_synth3|. Compiling DEFINSTRUMENT SIN-SYNTH: Converted |clm_lnxcmu_sin_synth2|. Compiling DEFINSTRUMENT SIN-SYNTH: Converted SIN-SYNTH. Compiling DEFINSTRUMENT SIN-SYNTH: File: /user/n/nando/work/ats/ATS-1.0/synth/sin-synth.ins In: DEFINSTRUMENT SIN-SYNTH 'FRQ Note: Deleting unreachable code. 'AMP Note: Deleting unreachable code. Converted SIN-SYNTH1. Compiling DEFINSTRUMENT SIN-SYNTH: Byte Compiling Top-Level Form: Byte Compiling Top-Level Form: Byte Compiling Top-Level Form: Compiling DEFINSTRUMENT SIN-SYNTH: Converted |(PCL::FAST-METHOD OBJECT-PARAMETERS (SIN-SYNTH))|. Compiling DEFINSTRUMENT SIN-SYNTH: Compiling Load Time Value of (PCL::GET-MAKE-INSTANCE-FUNCTION-SYMBOL '(SIN-SYNTH NIL NIL)): Byte Compiling Top-Level Form: Byte Compiling Creation Form for #<KERNEL::CLASS-CELL SIN-SYNTH>: Compilation unit finished. 2 notes /user/n/nando/work/ats/ATS-1.0/synth/sin-synth.x86f written. Compilation finished in 0:00:01. ;; Loading #p"/user/n/nando/work/ats/ATS-1.0/synth/sin-synth.x86f". Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: Unknown foreign symbol: "clm_lnxcmu_sin_synth2" Restarts: 0: [CONTINUE] Return NIL from load of "/user/n/nando/work/ats/ATS-1.0/synth/sin-synth.x86f". 1: Return NIL from load of "all.cl". 2: [ABORT ] Return to Top-Level. Debug (type H for help) (COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX "clm_lnxcmu_sin_synth2") That's as far as I got... too late to continue... -- Fernando From carl.boingie at rcn.com Thu Jun 27 21:47:30 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Fri, 28 Jun 2002 00:47:30 -0400 Subject: [CM] newbie: rhythm confusion References: <Pine.A41.4.44.0206272030370.60436-100000@dante20.u.washington.edu> Message-ID: <001601c21e5e$ec51fb30$94e17ad1@laptop> Thanks a million Linda. I'm glad I wrote. That would have taken me a week to figure out. I owe you a slice (at least)! =) Carl Edwards > Here's my take on your code: > > (defprocess my-first () > (let ( > (r (new rotation of '(q e. h s))) > ) > (process repeat 96 > for k =(new random of '((60 weight .2143) > (62 weight .0714) > (64 weight .1429) > (65 weight .0714) > (67 weight .2143) > (69 weight .1429) > (70 weight .1429))) > > for x = (now) > for ba = (rhythm (next r)) do > (output (new midi time x > keynum (next k) > duration ba > amplitude .5)) > (wait ba)))) > > > 1--The reason all your rhythms were the same is that the pattern > containing them was being started from the beginning every time you looped > back to the top of the process. Declaring the rhythm item stream in a (let > fixes this. > > 2--you'll need a DO before the output > > 3--add a paren around 'output' that closes after the amplitude is set. > > 4--the 'wait' comes at the very end of the process and also deserves a set > of parens. > > cheers, > la From carl.boingie at rcn.com Thu Jun 27 22:01:51 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Fri, 28 Jun 2002 01:01:51 -0400 Subject: [CM] newbie: rhythm confusion References: <Pine.A41.4.44.0206272030370.60436-100000@dante20.u.washington.edu> <001601c21e5e$ec51fb30$94e17ad1@laptop> Message-ID: <009401c21e60$ed4ff850$94e17ad1@laptop> Sorry for the OT but, perhaps I should clarify: I learned about this list from Orm during a discussion (on the CSound list) which involved a wager of a pizza- so I have this mental association... Anyway,... mucho thanks again Linda. Carl Edwards > Thanks a million Linda. > > I'm glad I wrote. That would have taken me a week to figure out. I owe you a > slice (at least)! =) > > Carl Edwards From juan at ccrma.Stanford.EDU Thu Jun 27 22:02:41 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Thu, 27 Jun 2002 22:02:41 -0700 (PDT) Subject: [CM] Re: ats under cmucl In-Reply-To: <Pine.LNX.4.44.0206272038360.24211-100000@cmn37.stanford.edu> Message-ID: <Pine.LNX.4.44.0206272138430.30264-100000@ccrma-gate.stanford.edu> Too bad I wasn't reading email I could have used some of your help, thanks Fernando!. Ok, I've spent a few hours and finally got everything working with clm-2/cmucl, it wasn't that easy. There were quite a few things that work fine on ACL that didn't want to work on CMUCL (in particular coerces), and CMUCL's "Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:" message didn't help me much finding the problems :) On ACL, I overwrite the structure-generated copy-sound with one of my own and that is fine with it (just gives you a warning), I had to rename this function (that is used in a bunch of other functions) to make CMUCL happy. The other problem was that when running CLM with CMUCL ins compiled files get loaded indirectly using the *.cmucl files, so I couldn't find a way to compile the ATS instruments in a batch from the all.cl file, because CLM will create a all.cmucl file and then try loading the wrong file. I'm sure this can be fixed. Anyways, I have a version of ATS that runs on CMUCL, for now it will be a separate tarball. I'm sending it to 'shreeswifty' by private email but I'll upload it to the ftp sever in case other people want to get it (please README.cmucl for installation details). JUAN Fernando Pablo Lopez-Lezcano wrote: > I tried to compile ats under cmucl and so far no luck. What I've found so > far: > > The ats-cl function in all.cl borrowed from Bill's clm is for acl and does > not work correctly under cmucl. I created one from Bill's code for cmucl > and then compiling and loading happens as it should. > > In utilities.cl '(excl:gc)' is acl specific, the correct cmucl invocation > appears to be '(extensions:gc)'. After fixing that with a pair of #+ > conditional compilation switches things keep going for a while. > > And then compilation reaches copy-sound.cl, in function copy-ats-sound the > compilation fails with a puzzling: > > Compiling DEFUN COPY-ATS-SOUND: > Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER: > 0 is not of type KERNEL:CTYPE > > Restarts: > 0: [CONTINUE] Return NIL from load of "all.cl". > 1: [ABORT ] Return to Top-Level. > > Debug (type H for help) > > (KERNEL:TYPES-INTERSECT 2 0 #<ARRAY-TYPE (SIMPLE-VECTOR 20)>)[:EXTERNAL] > > I have no clue what that means. Erasing the function enables me to > continue. Changing the _name_ of the function enables me to continue (for > example to load-xxx-ats, this is after restarting lisp from scratch, > erasing all binaries in bin/ and recompiling. Very weird. > > In save-load-sound.cl I forgot that I needed to load the clm1.lisp > extension that enables binary reads and writes (used to exist in clm-1 and > was not initially part of clm-2). So I tried to compile and load it and it > seems that some of the functions are not defined for cmucl: > > Warning: These functions are undefined: > C-READ-FLOATS C-READ-INTS C-SEEK C-WRITE-FLOATS C-WRITE-INTS > > Hopefully those would be able to be implemented at some point... after > ignoring the warning compilation of save-load-sound.cl gives warnings > (obviously): > > Python version 1.0, VM version Intel x86 on 27 JUN 02 08:56:01 pm. > Compiling: /user/n/nando/work/ats/ATS-1.0/src/save-load-sound.cl 10 APR 02 > 09:54:44 pm > > Converted ATS-SAVE. > Compiling DEFUN ATS-SAVE: > > File: /user/n/nando/work/ats/ATS-1.0/src/save-load-sound.cl > > In: DEFUN ATS-SAVE > (POSITION K BAND-L) > --> DO BLOCK LET TAGBODY RETURN-FROM > ==> > (PROGN NIL) > Warning: This is not a (VALUES &OPTIONAL (MOD 536870911) &REST T): > NIL > [Last message occurs 2 times] > > Converted ATS-LOAD. > Compiling DEFUN ATS-LOAD: > Byte Compiling Top-Level Form: > > File: /user/n/nando/work/ats/ATS-1.0/src/save-load-sound.cl > > In: DEFUN ATS-LOAD > (C-CLOSE FD) > Warning: Undefined function: C-CLOSE > > > In: DEFUN ATS-SAVE > (C-CLOSE FD) > Warning: Undefined function: C-CLOSE > > (C-CREATE-FILE FILE) > Warning: Undefined function: C-CREATE-FILE > > > In: DEFUN ATS-LOAD > (C-OPEN-INPUT-FILE FILE) > Warning: Undefined function: C-OPEN-INPUT-FILE > > > Warning: These functions are undefined: > C-CLOSE C-CREATE-FILE C-OPEN-INPUT-FILE > > > Compilation unit finished. > 7 warnings > > > /user/n/nando/work/ats/ATS-1.0/bin/save-load-sound.x86f written. > Compilation finished in 0:00:01. > ;; Loading #p"/user/n/nando/work/ats/ATS-1.0/bin/save-load-sound.x86f". > > > And finally when compiling sin-synth.ins: > > > Python version 1.0, VM version Intel x86 on 27 JUN 02 08:59:02 pm. > Compiling: /user/n/nando/work/ats/ATS-1.0/synth/sin-synth.ins 10 APR 02 > 09:54:44 pm > > ; Writing "clm_lnxcmu_SIN-SYNTH.c" > ; Compiling "clm_lnxcmu_SIN-SYNTH.c" > ; Creating shared object file "clm_lnxcmu_SIN-SYNTH.so" > Converted |clm_lnxcmu_sin_synth3|. > Compiling DEFINSTRUMENT SIN-SYNTH: > Converted |clm_lnxcmu_sin_synth2|. > Compiling DEFINSTRUMENT SIN-SYNTH: > Converted SIN-SYNTH. > Compiling DEFINSTRUMENT SIN-SYNTH: > > File: /user/n/nando/work/ats/ATS-1.0/synth/sin-synth.ins > > In: DEFINSTRUMENT SIN-SYNTH > 'FRQ > Note: Deleting unreachable code. > > 'AMP > Note: Deleting unreachable code. > > Converted SIN-SYNTH1. > Compiling DEFINSTRUMENT SIN-SYNTH: > Byte Compiling Top-Level Form: > Byte Compiling Top-Level Form: > Byte Compiling Top-Level Form: > Compiling DEFINSTRUMENT SIN-SYNTH: > Converted |(PCL::FAST-METHOD OBJECT-PARAMETERS (SIN-SYNTH))|. > Compiling DEFINSTRUMENT SIN-SYNTH: > Compiling Load Time Value of (PCL::GET-MAKE-INSTANCE-FUNCTION-SYMBOL > '(SIN-SYNTH NIL NIL)): > Byte Compiling Top-Level Form: > Byte Compiling Creation Form for #<KERNEL::CLASS-CELL SIN-SYNTH>: > > Compilation unit finished. > 2 notes > > > /user/n/nando/work/ats/ATS-1.0/synth/sin-synth.x86f written. > Compilation finished in 0:00:01. > ;; Loading #p"/user/n/nando/work/ats/ATS-1.0/synth/sin-synth.x86f". > > > Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: > Unknown foreign symbol: "clm_lnxcmu_sin_synth2" > > Restarts: > 0: [CONTINUE] Return NIL from load of > "/user/n/nando/work/ats/ATS-1.0/synth/sin-synth.x86f". > 1: Return NIL from load of "all.cl". > 2: [ABORT ] Return to Top-Level. > > Debug (type H for help) > > (COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX "clm_lnxcmu_sin_synth2") > > That's as far as I got... too late to continue... > -- Fernando > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From michael at klingbeil.com Thu Jun 27 22:30:33 2002 From: michael at klingbeil.com (Michael Klingbeil) Date: Fri, 28 Jun 2002 01:30:33 -0400 Subject: [CM] newbie: rhythm confusion In-Reply-To: <00b301c21e48$6b283170$86e17ad1@laptop> References: <00b301c21e48$6b283170$86e17ad1@laptop> Message-ID: <a05111600b941a2f69970@[66.114.68.65]> Try this: (defprocess my-first () (process with k =(new random of '((60 weight .2143) (62 weight .0714) (64 weight .1429) (65 weight .0714) (67 weight .2143) (69 weight .1429) (70 weight .1429))) with r = (new rotation of '(q e. h s)) repeat 96 for x = (now) for ba = (rhythm (next r)) output (new midi time x keynum (next k) duration ba amplitude .5) wait ba)) The patterns are set up before the repeat clause, and then each time through the repeat the next element of the patterns is fetched. Also if you want a constant rhythmic pattern use "cycle" instead of "rotation" since this swaps elements on each period. >I think I'm having a little trouble understanding the use of rhythm. I was >trying to get a rotation of a 4 beat phrase but my output has totally even >durations and timing. Can somebody take a look at the process below and tell >me what I'm doing wrong. > >(defprocess my-first () > (process repeat 96 > for k =(new random of '((60 weight .2143) > (62 weight .0714) > (64 weight .1429) > (65 weight .0714) > (67 weight .2143) > (69 weight .1429) > (70 weight .1429))) > for r = (new rotation of '(q e. h s)) > for x = (now) > for ba = (rhythm (next r)) > output (new midi time x > keynum (next k) > duration ba > amplitude .5) > wait ba)) > >Minor hiccups aside, this is the most fun I've had in a good long time. > >Thanks in advance. > >Carl Edwards > > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From l.brummer at qub.ac.uk Thu Jun 27 05:36:44 2002 From: l.brummer at qub.ac.uk (ludger brummer) Date: Thu, 27 Jun 2002 13:36:44 +0100 Subject: [CM] Touretzki In-Reply-To: <200206261150.EAA29037@cmn14.stanford.edu> Message-ID: <000f01c21dd7$4bff4570$194e758f@ads.qub.ac.uk> Mary Simoni mentioned the Book Touretzki, A gentle introduction to Symbolic Computation. I saw the book somewhere in the net as pdf or ps file downloadable. Ludger Ludger Brummer http://ludi.sumtone.com http://www.qub.ac.uk/sarc Sonic Arts Research Centre, Riddel Hall Queen's University Belfast Belfast BT7 1NN, Northern Ireland tel.: +44 28 9033 5627 Pearl Young, secretary +44 28 90 33 4829 Germany: Gartenstr. 56 A,76133 Karlsruhe, Germany mobile +49 160 5300 230 tel.: +49 721 831 6993 Northern Ireland: Flat1 38 Windsor Park, Belfast BT9 6FS ______________________________________________________________________ > -----Original Message----- > From: cmdist-admin at ccrma.Stanford.EDU [mailto:cmdist- > admin at ccrma.Stanford.EDU] On Behalf Of Bill Schottstaedt > Sent: Mittwoch, 26. Juni 2002 12:50 > To: Pat Pagano > Cc: cmdist at ccrma.Stanford.EDU > Subject: Re: [CM] trying clm with cmucl on > > > cc: /root/CLISP/clm-2/io.c: No such file or directory > > clisp renames io.c and friends to saved-io.c since it (clisp) > writes a temporary file named io.c during compilation of > io.lisp. So, as Fernando says, the simplest thing is to > start from the tarball. Also, I noticed that clm1.lisp > cmucl support was only half-complete, so I finished it > yesterday (there's a new clm-2.tar.gz at ccrma-ftp). > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Fri Jun 28 04:49:45 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 28 Jun 2002 04:49:45 -0700 Subject: [CM] CMN : glissando+final-note In-Reply-To: <02062622034600.01194@linux> References: <02062622034600.01194@linux> Message-ID: <200206281149.EAA02208@cmn14.stanford.edu> > At the end of a glissando-line I wish to put a sort > of auxiliary note (without duration). Is it possible ? You could make a version of auxiliary-note that uses the outer note's x1 value, rather than x0 -- i.e. change two characters in auxiliary-note: (code reformatted to try to keep the mailer from inserting bogus <cr>s) (defun auxiliary-note-at-end (&rest objects) (let ((nt (apply #'note objects))) (make-self-acting :argument nt :action #'(lambda (owner note) (add-to-marks owner (list (make-instance 'sundry :name :auxiliary-note :source (format nil "(auxiliary-note ~A)" note) :mark #'(lambda (mark outer-note score &optional justifying) (declare (ignore mark)) (let* ((grace-scale (if (and (matrix note) (not (identity-matrix-p note))) (first (matrix note)) *grace-note-size*)) (inverse-scale (/ 1.0 grace-scale)) (old-separation *staff-line-separation*)) (if (not justifying) (progn (setf *staff-line-separation* (* inverse-scale old-separation)) (with-scaling score grace-scale (* (+ (box-x1 outer-note) ; x1 here (vis-dx outer-note)) (scr-size score)) (* (staff-y0 outer-note) (scr-size score)) (setf (staff-y0 note) 0.0) (setf (line note) (place-of-note-given-note outer-note note)) (setf (box-y0 note) (* (line note) *staff-line-separation*)) (setf (center note) .143) ;; can this be a chord? if so, see grace note centering case. (setf (box-x0 note) 0) (display note nil score)) (setf *staff-line-separation* old-separation)) (moveto score (+ (box-x1 outer-note) ; and here (vis-dx outer-note) (vis-dx note)) 0))))))))))) (cmn (size 24) (glissando-thickness 0.03) (staff bar (treble (text "sul E" (font-size 10) (dy 1.25) )) (e6 q begin-glissando) (gs5 e end-glissando begin-glissando) (c6 e end-glissando begin-glissando) (e6 h. end-glissando (glissando-to fs5) (auxiliary-note-at-end fs5 no-stem)) ); end-staff ); end-cmn From rm at fabula.de Fri Jun 28 05:07:23 2002 From: rm at fabula.de (rm at fabula.de) Date: Fri, 28 Jun 2002 14:07:23 +0200 Subject: [CM] Touretzki In-Reply-To: <000f01c21dd7$4bff4570$194e758f@ads.qub.ac.uk> References: <200206261150.EAA29037@cmn14.stanford.edu> <000f01c21dd7$4bff4570$194e758f@ads.qub.ac.uk> Message-ID: <20020628120723.GD30115@www> On Thu, Jun 27, 2002 at 01:36:44PM +0100, ludger brummer wrote: > Mary Simoni mentioned the Book Touretzki, A gentle introduction to > Symbolic Computation. > I saw the book somewhere in the net as pdf or ps file downloadable. > > Ludger > http://www-2.cs.cmu.edu/~dst/LispBook/ Read the redistribution restrictions. R. Mattes > > Ludger Brummer http://ludi.sumtone.com > http://www.qub.ac.uk/sarc > Sonic Arts Research Centre, Riddel Hall > Queen's University Belfast > Belfast BT7 1NN, Northern Ireland > tel.: +44 28 9033 5627 > Pearl Young, secretary +44 28 90 33 4829 > > Germany: Gartenstr. 56 A,76133 Karlsruhe, Germany > mobile +49 160 5300 230 tel.: +49 721 831 6993 > Northern Ireland: Flat1 38 Windsor Park, Belfast BT9 6FS > ______________________________________________________________________ > > > > > -----Original Message----- > > From: cmdist-admin at ccrma.Stanford.EDU [mailto:cmdist- > > admin at ccrma.Stanford.EDU] On Behalf Of Bill Schottstaedt > > Sent: Mittwoch, 26. Juni 2002 12:50 > > To: Pat Pagano > > Cc: cmdist at ccrma.Stanford.EDU > > Subject: Re: [CM] trying clm with cmucl on > > > > > cc: /root/CLISP/clm-2/io.c: No such file or directory > > > > clisp renames io.c and friends to saved-io.c since it (clisp) > > writes a temporary file named io.c during compilation of > > io.lisp. So, as Fernando says, the simplest thing is to > > start from the tarball. Also, I noticed that clm1.lisp > > cmucl support was only half-complete, so I finished it > > yesterday (there's a new clm-2.tar.gz at ccrma-ftp). > > _______________________________________________ > > Cmdist mailing list > > Cmdist at ccrma.stanford.edu > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From ahc at bigpond.com Fri Jun 28 06:25:12 2002 From: ahc at bigpond.com (Adam Chennells) Date: Fri, 28 Jun 2002 23:25:12 +1000 Subject: [CM] Franz ACL CM install ? Message-ID: <000e01c21ea7$3ca7d940$8f1d8690@ahc> The Franz ACL 6.1 Trial lisp seems very full-blown, and well documented. Can anyone suggest whether CM will run on this release, as is. The CM-2.3.4.zip release of May was only 589KB, smaller than the CM-2.3.4-WIN32.zip of 2.4MB. So I wonder which source to look at first. Is there a recent Installation Guide for CM that may cover this ? I am prepared for a build-cm somewhere down the line but just wonder were my best instructions are for such a build process. (A windows Intel PII platform). Thanks in advance for any comments. Adam Chennells. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20020628/32271b5a/attachment.html> From taube at uiuc.edu Fri Jun 28 08:47:52 2002 From: taube at uiuc.edu (Rick Taube) Date: Fri, 28 Jun 2002 08:47:52 -0700 Subject: [CM] help with windows xemacs cm nightmare Message-ID: <001801c21ebb$2b150270$aa197e82@music.uiuc.edu> >I am really struggling to get CM to work on my windows machine - I wonder >if any of you can give me a step-by-step guide... Here is how to run cm in clisp under windows using xemacs. I'll use unix style pathnames since xemacs and lisp support them under windows. 1. lets assume that you have installed the latest cm in the directory: c:/cm-2.3.4/ you should have the following files: c:/cm-2.3.4/bin/lisp.exe c:/cm-2.3.4/bin/cm.mem c:/cm-2.3.4/bin/cminit.lisp 2. Locate your Xemacs initialization file. On my windows machine xemacs installed it as: c:/.xemacs/custom.el If you dont have an xemacs init file then start xemacs and select "Save Options to Init File" under the main Options menu. That will create c:/.xemacs/custom.el 3. Get the following file from ccrma's ftp server ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/cm.el Put it in /.xemacs along with your custom.el file. 4. Edit your /.xemacs/custom.el file and add the following four lines. Note that the long line starting "(setq ...)" must really be on a single line in your custom.el file, ie it cannot contain an embedded Return character: (require 'inf-lisp) (load "c:/.xemacs/cm.el") (setq inferior-lisp-program "c:/cm-2.3.4/bin/lisp.exe -M c:/cm-2.3.4/bin/cm.mem -i c:/cm-2.3.4/bin/cminit.lisp") (global-set-key "\C-x\l" 'lisp-listener) 5. Quit and restart xemacs, this will reload your custom.el file so the changes take effect. 6. Type: C-x l (this means to hold control key down while typeing x, then release the control key and type l. You can remember this because "l" stands for Lisp. 7. A new window should pop up with cm running in it... 8. Edit a lisp file, this will put the edit buffer in Lisp Mode and give you the Lisp menu in the buffer's menu bar. You can use commands from this menu to interact with the Lisp window. The commands will work in all lisps (clisp,acl,cmucl,sbcl). To automatically activate lisp-mode whenever you edit any file related to cm and clm add the following to your custom.el file: (setq auto-mode-alist (append '(("\\.clm$" . lisp-mode) ("\\.cm$" . lisp-mode) ("\\.cmn$" . lisp-mode) ("\\.ins$" . lisp-mode) ("\\.cl$" . lisp-mode) ("\\.lisp$" . lisp-mode) ("\\.scm$" . lisp-mode)) auto-mode-alist)) I hope this helps! For what its worth I verified these instructions on a windows machine I dont normally use so they should actually work for someone other than me. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20020628/4c0a1790/attachment.html> From simon at ling.ed.ac.uk Fri Jun 28 07:56:28 2002 From: simon at ling.ed.ac.uk (Simon Kirby) Date: Fri, 28 Jun 2002 15:56:28 +0100 (BST) Subject: [CM] help with windows xemacs cm nightmare In-Reply-To: <001801c21ebb$2b150270$aa197e82@music.uiuc.edu> Message-ID: <Pine.LNX.4.44.0206281526370.5293-100000@agave.ling.ed.ac.uk> Thanks for taking the time to run through that for me... I'm pretty sure now that the xemacs stuff is set up OK (it fontifies and highlights cm files etc. etc.). Unfortunately, cm itself still doesn't appear to be working for me. If I start up the lisp listener window I get the following: [stream.d:9135] *** - Win32 error 6 (ERROR_INVALID_HANDLE) : The handle is invalid. If I run either: c:/cm-2.3.4/bin/lisp.exe -M c:/cm-2.3.4/bin/cm.mem -i c:/cm-2.3.4/bin/cminit.lisp from Bash or c:\cm-2.3.4\bin\lisp.exe -M c:\cm-2.3.4\bin\cm.mem -i c:\cm-2.3.4\bin\cminit.lisp from Windows command prompt, then everything starts up fine (although it is agony to use!). I doubt if it'll help track down the problem, but I'll mention it just in case... I noticed that if I loaded the "processes.cm" examples and tried one of the ones with midi out, then everything worked OK as long as I started cm from a command prompt in the c: drive. If I started cm from a different drive, then when calling "(events (ex4) out)", for example, I got the following error: [pathname.d:6265] *** - Win32 error 3 (ERROR_PATH_NOT_FOUND): The system cannot find the path specified. Big thanks (again), Simon -- Simon Kirby Language Evolution and Computation Research Unit simon at ling.ed.ac.uk Department of Theoretical and Applied Linguistics http://www.ling.ed.ac.uk/~simon/ University of Edinburgh From carl.boingie at rcn.com Fri Jun 28 09:56:45 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Fri, 28 Jun 2002 12:56:45 -0400 Subject: [CM] newbie: rhythm confusion References: <Pine.A41.4.44.0206272030370.60436-100000@dante20.u.washington.edu> <001601c21e5e$ec51fb30$94e17ad1@laptop> <20020628062458.GA429@finnendahl.de> Message-ID: <003301c21ec4$cb13a200$2ce47ad1@laptop> Wow. What a response! Thanks for all of your help. I'll be studying all of the differences-of-approach as well as the suggestions themselves. What a goldmine! I may be back with some specific followup questions soon. ;-) Many thanks once again. Carl Edwards From taube at uiuc.edu Fri Jun 28 12:30:01 2002 From: taube at uiuc.edu (Rick Taube) Date: Fri, 28 Jun 2002 12:30:01 -0700 Subject: [CM] help with windows xemacs cm nightmare References: <Pine.LNX.4.44.0206281526370.5293-100000@agave.ling.ed.ac.uk> Message-ID: <002b01c21eda$33437d40$7f197e82@music.uiuc.edu> Hi, >If I start up the lisp listener window I get the > following: > > [stream.d:9135] > *** - Win32 error 6 (ERROR_INVALID_HANDLE) : The handle is invalid. > this sounds like a clisp problem. Ive tried reproducing it on two different windows machine using the images from ccrma but i can't, ie the image boots fine and the ex4 example from process.cm also works. But clearly something in the binary image is inconsistent whe it runs on your machine. I think the first thing to try is to build cm from sources so that you know its set up correctly for your machine. building from sources is easly, just boot a base clisp image and then (load "/cm-2.3.4/src/cm.lisp") its fairly easy to do. > [pathname.d:6265] > *** - Win32 error 3 (ERROR_PATH_NOT_FOUND): The system cannot find the > path specified. again, i dont get this error. im not sure what is going wrong with the pathnames and the clisp error message is, of course, completely useless as usual. what does this return on your machine: (translate-logical-pathname (logical-pathname "cm:tmp;foo.bar")) this is what you should get: [1]> (translate-logical-pathname (logical-pathname "cm:tmp;foo.bar")) #P"C:\\cm-2.3.4\\tmp\\foo.bar" [2]> From taube at uiuc.edu Fri Jun 28 13:02:46 2002 From: taube at uiuc.edu (Rick Taube) Date: Fri, 28 Jun 2002 13:02:46 -0700 Subject: [CM] Franz ACL CM install ? References: <000e01c21ea7$3ca7d940$8f1d8690@ahc> Message-ID: <004901c21ede$c6647300$7f197e82@music.uiuc.edu> cm should run in acl 6.1 on windows or linux. in either case you will have to take the SOURCE archive and build cm on your machine. i think the url to the windows source is ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/sources/cm-2.3.4.zip Message ----- From: Adam Chennells To: Cmdist at ccrma.Stanford.EDU Sent: Friday, June 28, 2002 6:25 AM Subject: [CM] Franz ACL CM install ? The Franz ACL 6.1 Trial lisp seems very full-blown, and well documented. Can anyone suggest whether CM will run on this release, as is. The CM-2.3.4.zip release of May was only 589KB, smaller than the CM-2.3.4-WIN32.zip of 2.4MB. So I wonder which source to look at first. Is there a recent Installation Guide for CM that may cover this ? I am prepared for a build-cm somewhere down the line but just wonder were my best instructions are for such a build process. (A windows Intel PII platform). Thanks in advance for any comments. Adam Chennells. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20020628/573bbd6f/attachment.html> From finnendahl at folkwang-hochschule.de Fri Jun 28 11:11:26 2002 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Fri, 28 Jun 2002 20:11:26 +0200 Subject: [CM] newbie: rhythm confusion In-Reply-To: <001601c21e5e$ec51fb30$94e17ad1@laptop> References: <Pine.A41.4.44.0206272030370.60436-100000@dante20.u.washington.edu> <001601c21e5e$ec51fb30$94e17ad1@laptop> Message-ID: <20020628181126.GA626@finnendahl.de> Hi all, sorry, I forgot to cc the list... Hi Carl, It's not necessary to create a new midi event each repetition of the loop. It is sufficient to define one instance outside of the loop and then use sv to fill the slots. Here's an example (also defining all the patterns outside the loop): (defprocess my-first () (let ( (curr-midi-note (new midi)) (r (new rotation of '(q e. h s))) (k (new random of '((60 weight .2143) (62 weight .0714) (64 weight .1429) (65 weight .0714) (67 weight .2143) (69 weight .1429) (70 weight .1429)))) ) (process repeat 96 do (sv curr-midi-note time (now) keynum (next k) amplitude .5 duration (setf ba (rhythm (next r))) ) (output curr-midi-note) (wait ba)))) (events (my-first) "test.midi") -- Orm Am Freitag, den 28. Juni 2002 um 00:47:30 Uhr (-0400) schrieb Carl Edwards: > Thanks a million Linda. > > I'm glad I wrote. That would have taken me a week to figure out. I owe you a > slice (at least)! =) > > Carl Edwards > > > Here's my take on your code: > > > > (defprocess my-first () > > (let ( > > (r (new rotation of '(q e. h s))) > > ) > > (process repeat 96 > > for k =(new random of '((60 weight .2143) > > (62 weight .0714) > > (64 weight .1429) > > (65 weight .0714) > > (67 weight .2143) > > (69 weight .1429) > > (70 weight .1429))) > > > > for x = (now) > > for ba = (rhythm (next r)) do > > (output (new midi time x > > keynum (next k) > > duration ba > > amplitude .5)) > > (wait ba)))) w> > > > > > 1--The reason all your rhythms were the same is that the pattern > > containing them was being started from the beginning every time you looped > > back to the top of the process. Declaring the rhythm item stream in a (let > > fixes this. > > > > 2--you'll need a DO before the output > > > > 3--add a paren around 'output' that closes after the amplitude is set. > > > > 4--the 'wait' comes at the very end of the process and also deserves a set > > of parens. > > > > cheers, > > la > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From ppagano at bellsouth.net Fri Jun 28 11:26:08 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Fri, 28 Jun 2002 14:26:08 -0400 Subject: [CM] Re: Cmdist digest, Vol 1 #45 - 8 msgs References: <20020628181400.9563.1748.Mailman@cm-mail.stanford.edu> Message-ID: <002801c21ed1$45bce280$7fa14ed8@gnv.bellsouth.net> i get the same error on the win98 machine in my studio after opening an ms-dos screen navigating to clm-2 loading the lispinit.mem goes fine but when loading all.lisp the error is the same (whie building nio.c) Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ > [pathname.d:6265] > *** - Win32 error 3 (ERROR_PATH_NOT_FOUND): The system cannot find the > path specified. > From taube at uiuc.edu Fri Jun 28 14:46:44 2002 From: taube at uiuc.edu (Rick Taube) Date: Fri, 28 Jun 2002 14:46:44 -0700 Subject: [CM] Re: Cmdist digest, Vol 1 #45 - 8 msgs References: <20020628181400.9563.1748.Mailman@cm-mail.stanford.edu> <002801c21ed1$45bce280$7fa14ed8@gnv.bellsouth.net> Message-ID: <001101c21eed$4cc81a60$b9197e82@music.uiuc.edu> > i get the same error on the win98 machine in my studio > after opening an ms-dos screen > navigating to clm-2 > well since the same error happens building clm it must be some general clisp pathname issue. ill try building clm on windows at work tomorrow to see if i can trigger the error. but debugging in clisp is basically impossible. From baker at charlieb.com Fri Jun 28 12:54:30 2002 From: baker at charlieb.com (Charlieb) Date: Fri, 28 Jun 2002 19:54:30 +0000 (GMT) Subject: [CM] Franz ACL CM install ? In-Reply-To: <004901c21ede$c6647300$7f197e82@music.uiuc.edu> Message-ID: <Pine.BSF.4.40.0206281943170.50603-100000@charlieb.com> Well ,after several attempts, I did get clm-cmn-cm2.3.4 to compile in the ACL trial edition: but ATS failed. All the problems stemed from Franz putting a rather small stack space allowance in the kernel...anything large ("enterprise sized"), and it just doesn;t compile. Whereas if you take severl passes at compiling the other CCRMA/UIUC lisp code, you can gety it to just barely squeeze in, if you try anything that is memory intensive (such as ATS), it will not compile. I called ACL trial's memory ceiling "draconian" when I downloaded it, but I don't think Franz paid too much attention...they don;t mind us music types too much, as long as we pay like the big boys: unfortunately, we're often cash l;imited. Like me. I have to point out that Digitool's excellent MCL is now < $100.... now, if can get Franz to pay attention...the avg. hobbyist would kick out $100-$200 , anymore, and...well...And another side of that arguement (that *I'll* never get a chance to make to Franz) is that enterprises rarely order single licences, (unless they intend to cheat), and the main effect of a poperly used single license is to develop another skilled Lisp coder, one who hopefully is attached to your dev environment, and will sell it to employers. OK, nuf b***chin' 'bout Franz...I love ACL, I just can;t afford it. CharlieB ********************************************* Charlie Baker baker at charlieb.com "when everything isn't roses, you don't get any headroom" - Thomas Dolby "New Toy" ********************************************* On Fri, 28 Jun 2002, Rick Taube wrote: > cm should run in acl 6.1 on windows or linux. in either case you will have to take the SOURCE archive and build cm on your machine. i think the url to the windows source is > ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/sources/cm-2.3.4.zip > > > Message ----- > From: Adam Chennells > To: Cmdist at ccrma.Stanford.EDU > Sent: Friday, June 28, 2002 6:25 AM > Subject: [CM] Franz ACL CM install ? > > > The Franz ACL 6.1 Trial lisp seems very full-blown, > and well documented. > > Can anyone suggest whether CM will run on this > release, as is. > > The CM-2.3.4.zip release of May was only 589KB, smaller > than the CM-2.3.4-WIN32.zip of 2.4MB. > > So I wonder which source to look at first. > > Is there a recent Installation Guide for CM that may cover this ? > > I am prepared for a build-cm somewhere down the line > but just wonder were my best instructions are for such > a build process. (A windows Intel PII platform). > > Thanks in advance for any comments. > > Adam Chennells. > > From ppagano at bellsouth.net Fri Jun 28 18:11:25 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Fri, 28 Jun 2002 21:11:25 -0400 Subject: [CM] Re: onward to ATS References: <Pine.LNX.4.44.0206272202560.30264-101000@ccrma-gate.stanford.edu> Message-ID: <001801c21f09$e44b44e0$7fa14ed8@gnv.bellsouth.net> ok the last knacky thing seems to be in the examples the CL part throws an unbound variable error with the cl in the synthesis sections Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ ----- Original Message ----- From: Juan Pampin <juan at ccrma.Stanford.EDU> To: Pat Pagano <ppagano at bellsouth.net> Cc: Juan Carlos Pampin <juan at ccrma.Stanford.EDU> Sent: Friday, June 28, 2002 1:10 AM Subject: Re: onward to ATS > Attached is the CMUCL version of ATS, after unpacking read README.cmucl. > As usual, you will have to edit all.cl with your installation path. Note > that you have to compile the two CLM instruments by hand the first time > you compile ATS, this is due to a problem with CLM/CMUCL that requires > indirect file loading. Once you have compiled everything, edit the first > line of all.cl: > > (defparameter *ats-compile* T) > > by > > (defparameter *ats-compile* NIL) > > and uncomment the two cl-ins calls at the bottom of the file, so next time > you load all.cl compiled versions of the ats files and the CLM > instruments are loaded automatically. > > JUAN > From j.l.anderson at bham.ac.uk Fri Jun 28 19:34:09 2002 From: j.l.anderson at bham.ac.uk (Joseph L Anderson) Date: Fri, 28 Jun 2002 19:34:09 -0700 Subject: [CM] (no subject) Message-ID: <B0E65EC7-8B08-11D6-9337-0003931500D6@bham.ac.uk> Hi all, Im wanting to get clm up and running on MacOS X. Part of the problem is i have no idea what im doing, so am looking for some rather basic step by step help to get going. Wondering if anyone's gone through the process and can hold hands through the woods on this one. Downloaded clisp. Having trouble building it. Im on rather unfamiliar terms with Unix - so this is adding to the difficulty. Included in docs for clisp (clisp 2-2.28/unix/PLATFORMS) is the following: > On Apple PowerPC running MacOS X Server: > > The /bin/sh shell has at least two bugs which make it unusable for the > configuration scripts. As a workaround, you have to set the environment > variable CONFIG_SHELL to "/bin/bash", and start "$CONFIG_SHELL > ./configure ..." > instead of "./configure ...". > > The default stack size limit is 512 KB, which is too small for > bootstrapping > CLISP. Even 1 MB is too small. Try "ulimit -S -s 8192" before starting > "make". > > Remove all optimization options ("-O", "-O2") from the CC and CFLAGS > variables > in the Makefile. Apple's cc crashes when compiling eval.d with > optimization. > > FFI does not work yet, you will have to ignore the "avcall-*.h" errors > in ./configure. I don't have bash on my machine, but MacOS X ships with zsh, which is supposed to be an enhanced Korn shell. So, following their advice i did the following: % setenv CONFIG_SHELL /bin/zsh % $CONFIG_SHELL configure --build built-with-gcc This did get things going, w/ creation of built-with-gcc dir. It seems to end up hanging (the script doesnt seem to be exiting), though at: > cd lib && make all > make[1]: Nothing to be done for `all'. > cd src && make all > make[1]: Nothing to be done for `all'. > cd man && make all > make[1]: Nothing to be done for `all'. > if test -d tests; then cd tests && make all; fi > make[1]: Nothing to be done for `all'. > cd lib && make install-lib > libdir='/Applications/Languages/clisp-2.28/built-with-gcc' > includedir='/Applications/Languages/clisp-2.28/built-with-gcc' > if [ ! -d /Applications/Languages/clisp-2.28/built-with-gcc ] ; then > mkdir /Applications/Languages/clisp-2.28/built-with-gcc ; fi > /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 > libiconv.la /Applications/Languages/clisp-2.28/built-with- > gcc/libiconv.la > /usr/bin/install -c -m 644 .libs/libiconv.lai > /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.la > /usr/bin/install -c -m 644 .libs/libiconv.a > /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a > ranlib /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a > chmod 644 /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a > libtool: install: warning: remember to run `libtool --finish > /usr/local/lib' > if [ ! -d /Applications/Languages/clisp-2.28/built-with-gcc ] ; then > mkdir /Applications/Languages/clisp-2.28/built-with-gcc ; fi > /usr/bin/install -c -m 644 include/iconv.h > /Applications/Languages/clisp-2.28/built-with-gcc/iconv.h > executing built-with-gcc/readline/configure ... > configure: no matches found: conftest* [553] > creating cache ./config.cache Any thoughts? Do i need to get bash from apple? Im also unclear on how to do the other stuff listed in the PLATFORMS file. Setting default stack size to "unlimit" and then the bit about optimization options. No doubt - once i get clisp going, may have additional questions regarding clm installatio. All help is very appreciated. Thanks in advance to everyone! j ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph L Anderson Acousmatic Music . Sound Recording . Radio Production 4210 North West Crescent Valley Drive Corvallis, Oregon, 97330 email: lloyd at sfsound.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3859 bytes Desc: not available URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20020628/74cbdc90/attachment.bin> From juan at ccrma.Stanford.EDU Sat Jun 29 00:20:16 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Sat, 29 Jun 2002 00:20:16 -0700 (PDT) Subject: [CM] Re: onward to ATS In-Reply-To: <001801c21f09$e44b44e0$7fa14ed8@gnv.bellsouth.net> Message-ID: <Pine.LNX.4.44.0206290016470.7182-100000@ccrma-gate.stanford.edu> Runs fine for me, the only thing I get is some kind of warning saying cl is not declared but the code runs fine. Apparently cmucl wants you to use defvar to declare variables before setting their value... JUAN On Fri, 28 Jun 2002, shreeswifty wrote: > ok the last knacky thing seems to be in the examples > the CL part throws an unbound variable error with the cl in the synthesis > sections > > Pat Pagano, Director > South East Just Intonation Society > http://www.screwmusicforever.com/SHREESWIFT/ > ----- Original Message ----- > From: Juan Pampin <juan at ccrma.Stanford.EDU> > To: Pat Pagano <ppagano at bellsouth.net> > Cc: Juan Carlos Pampin <juan at ccrma.Stanford.EDU> > Sent: Friday, June 28, 2002 1:10 AM > Subject: Re: onward to ATS > > > > Attached is the CMUCL version of ATS, after unpacking read README.cmucl. > > As usual, you will have to edit all.cl with your installation path. Note > > that you have to compile the two CLM instruments by hand the first time > > you compile ATS, this is due to a problem with CLM/CMUCL that requires > > indirect file loading. Once you have compiled everything, edit the first > > line of all.cl: > > > > (defparameter *ats-compile* T) > > > > by > > > > (defparameter *ats-compile* NIL) > > > > and uncomment the two cl-ins calls at the bottom of the file, so next time > > you load all.cl compiled versions of the ats files and the CLM > > instruments are loaded automatically. > > > > JUAN > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From juan at ccrma.Stanford.EDU Sat Jun 29 00:26:30 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Sat, 29 Jun 2002 00:26:30 -0700 (PDT) Subject: [CM] Re: ATS and atsh In-Reply-To: <001601c21efc$e90361a0$7fa14ed8@gnv.bellsouth.net> Message-ID: <Pine.LNX.4.44.0206290020440.7182-100000@ccrma-gate.stanford.edu> I'm glad you got it running!. Thank you for your patience installing the software, now we have a cmucl compatible version of ATS!. JUAN On Fri, 28 Jun 2002, shreeswifty wrote: > Wow > > fantastico! > > What can i say. Thanks for the patience, the guidance and the wonderful > program. > Accolades to your associate Pablo Di Liscia. I was hoping that atsh would > interact with ATS like it does. > Wunderbar!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > !!!!!!!!!!!!!!!!!!!!!! > > Pat Pagano, Director > South East Just Intonation Society > http://www.screwmusicforever.com/SHREESWIFT/ > ----- Original Message ----- > From: Juan Pampin <juan at ccrma.Stanford.EDU> > To: Pat Pagano <ppagano at bellsouth.net> > Cc: Juan Carlos Pampin <juan at ccrma.Stanford.EDU> > Sent: Friday, June 28, 2002 1:10 AM > Subject: Re: onward to ATS > > > > Attached is the CMUCL version of ATS, after unpacking read README.cmucl. > > As usual, you will have to edit all.cl with your installation path. Note > > that you have to compile the two CLM instruments by hand the first time > > you compile ATS, this is due to a problem with CLM/CMUCL that requires > > indirect file loading. Once you have compiled everything, edit the first > > line of all.cl: > > > > (defparameter *ats-compile* T) > > > > by > > > > (defparameter *ats-compile* NIL) > > > > and uncomment the two cl-ins calls at the bottom of the file, so next time > > you load all.cl compiled versions of the ats files and the CLM > > instruments are loaded automatically. > > > > JUAN > > > > From juan at ccrma.Stanford.EDU Sat Jun 29 00:49:24 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Sat, 29 Jun 2002 00:49:24 -0700 (PDT) Subject: [CM] Re: ATS and atsh In-Reply-To: <Pine.LNX.4.44.0206290020440.7182-100000@ccrma-gate.stanford.edu> Message-ID: <Pine.LNX.4.44.0206290046480.7182-100000@ccrma-gate.stanford.edu> The (temporary) CMUCL version of ATS can be downloaded from: ftp://ccrma-ftp.stanford.edu/pub/Lisp/ATS/ATS-1.0-CMUCL.tar.gz or from the ATS web page: http://www-ccrma.stanford.edu/~juan/ATS.html JUAN On Sat, 29 Jun 2002, Juan Pampin wrote: > I'm glad you got it running!. Thank you for your patience installing the > software, now we have a cmucl compatible version of ATS!. > JUAN > > On Fri, 28 Jun 2002, shreeswifty wrote: > > > Wow > > > > fantastico! > > > > What can i say. Thanks for the patience, the guidance and the wonderful > > program. > > Accolades to your associate Pablo Di Liscia. I was hoping that atsh would > > interact with ATS like it does. > > Wunderbar!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > !!!!!!!!!!!!!!!!!!!!!! > > > > Pat Pagano, Director > > South East Just Intonation Society > > http://www.screwmusicforever.com/SHREESWIFT/ > > ----- Original Message ----- > > From: Juan Pampin <juan at ccrma.Stanford.EDU> > > To: Pat Pagano <ppagano at bellsouth.net> > > Cc: Juan Carlos Pampin <juan at ccrma.Stanford.EDU> > > Sent: Friday, June 28, 2002 1:10 AM > > Subject: Re: onward to ATS > > > > > > > Attached is the CMUCL version of ATS, after unpacking read README.cmucl. > > > As usual, you will have to edit all.cl with your installation path. Note > > > that you have to compile the two CLM instruments by hand the first time > > > you compile ATS, this is due to a problem with CLM/CMUCL that requires > > > indirect file loading. Once you have compiled everything, edit the first > > > line of all.cl: > > > > > > (defparameter *ats-compile* T) > > > > > > by > > > > > > (defparameter *ats-compile* NIL) > > > > > > and uncomment the two cl-ins calls at the bottom of the file, so next time > > > you load all.cl compiled versions of the ats files and the CLM > > > instruments are loaded automatically. > > > > > > JUAN > > > > > > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From anders.vinjar at notam02.no Fri Jun 28 07:45:22 2002 From: anders.vinjar at notam02.no (Anders Vinjar) Date: 28 Jun 2002 16:45:22 +0200 Subject: [CM] CM/CLM/CMN goes webway Message-ID: <copy9czqx6l.fsf@iannis.uio.no> Ive set up a web-server displaying various graphics, sounds, scores of some sound/art/music - doing all of its content-work through the CM/CMN/CLM packages. It could be interesting to some cmdist-readers. The main entrance is http://notam02.uio.no/polylogue.html - which is a webpage created dynamically with cm/cmn. The server runs Allegros 'aserve together with cm/clm/cmn. The output is webified with gs and realproducer. The site contains (potential) art, links to dynamically generated elements of the piece - sound, scores, graphics, text. Push "Reload" to get a new version (eventually). The art-content of this piece is distributed through the whole web-site, and the audience-impact is a central element here. You cant observe any of this without changing it. (Theres a page describing the esthetics, but im afraid its only in Norwegian so far: http://kunst.kulturnett.no/galleriet) I can explain more of the technicalities if anyones interested. Ill make a phase-2 version sometime, which connects to musical performances. Have fun! Tell me about any flaws you find. -anders From lloyd at sfsound.org Fri Jun 28 13:05:12 2002 From: lloyd at sfsound.org (joseph l anderson) Date: Fri, 28 Jun 2002 13:05:12 -0700 Subject: [CM] clm newbie needs big help! Message-ID: <5A9BDD54-8AD2-11D6-9337-0003931500D6@sfsound.org> Hi all, Im wanting to get clm up and running on MacOS X. Part of the problem is i have no idea what im doing, so am looking for some rather basic step by step help to get going. Wondering if anyone's gone through the process and can hold hands through the woods on this one. Downloaded clisp. Having trouble building it. Im on rather unfamiliar terms with Unix - so this is adding to the difficulty. Included in docs for clisp (clisp 2-2.28/unix/PLATFORMS) is the following: > On Apple PowerPC running MacOS X Server: > > The /bin/sh shell has at least two bugs which make it unusable for the > configuration scripts. As a workaround, you have to set the environment > variable CONFIG_SHELL to "/bin/bash", and start "$CONFIG_SHELL > ./configure ..." > instead of "./configure ...". > > The default stack size limit is 512 KB, which is too small for > bootstrapping > CLISP. Even 1 MB is too small. Try "ulimit -S -s 8192" before starting > "make". > > Remove all optimization options ("-O", "-O2") from the CC and CFLAGS > variables > in the Makefile. Apple's cc crashes when compiling eval.d with > optimization. > > FFI does not work yet, you will have to ignore the "avcall-*.h" errors > in ./configure. I don't have bash on my machine, but MacOS X ships with zsh, which is supposed to be an enhanced Korn shell. So, following their advice i did the following: % setenv CONFIG_SHELL /bin/zsh % $CONFIG_SHELL configure --build built-with-gcc This did get things going, w/ creation of built-with-gcc dir. It seems to end up hanging (the script doesnt seem to be exiting), though at: > cd lib && make all > make[1]: Nothing to be done for `all'. > cd src && make all > make[1]: Nothing to be done for `all'. > cd man && make all > make[1]: Nothing to be done for `all'. > if test -d tests; then cd tests && make all; fi > make[1]: Nothing to be done for `all'. > cd lib && make install-lib > libdir='/Applications/Languages/clisp-2.28/built-with-gcc' > includedir='/Applications/Languages/clisp-2.28/built-with-gcc' > if [ ! -d /Applications/Languages/clisp-2.28/built-with-gcc ] ; then > mkdir /Applications/Languages/clisp-2.28/built-with-gcc ; fi > /bin/sh ../libtool --mode=install /usr/bin/install -c -m 644 > libiconv.la /Applications/Languages/clisp-2.28/built-with- > gcc/libiconv.la > /usr/bin/install -c -m 644 .libs/libiconv.lai > /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.la > /usr/bin/install -c -m 644 .libs/libiconv.a > /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a > ranlib /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a > chmod 644 /Applications/Languages/clisp-2.28/built-with-gcc/libiconv.a > libtool: install: warning: remember to run `libtool --finish > /usr/local/lib' > if [ ! -d /Applications/Languages/clisp-2.28/built-with-gcc ] ; then > mkdir /Applications/Languages/clisp-2.28/built-with-gcc ; fi > /usr/bin/install -c -m 644 include/iconv.h > /Applications/Languages/clisp-2.28/built-with-gcc/iconv.h > executing built-with-gcc/readline/configure ... > configure: no matches found: conftest* [553] > creating cache ./config.cache Any thoughts? Do i need to get bash from apple? Im also unclear on how to do the other stuff listed in the PLATFORMS file. Setting default stack size to "unlimit" and then the bit about optimization options. No doubt - once i get clisp going, may have additional questions regarding clm installatio. All help is very appreciated. Thanks in advance to everyone! j ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph L Anderson Acousmatic Music . Sound Recording . Radio Production 4210 North West Crescent Valley Drive Corvallis, Oregon, 97330 email: lloyd at sfsound.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From simon at ling.ed.ac.uk Sat Jun 29 08:50:28 2002 From: simon at ling.ed.ac.uk (Simon Kirby) Date: Sat, 29 Jun 2002 16:50:28 +0100 Subject: [CM] help with windows xemacs cm nightmare References: <Pine.LNX.4.44.0206281526370.5293-100000@agave.ling.ed.ac.uk> <002b01c21eda$33437d40$7f197e82@music.uiuc.edu> Message-ID: <004701c21f84$be6f3b20$c901a8c0@juniper> OK - I've tried translate-logical-pathname in the three relevant situations: 1. When attempting to start from Xemacs, I get: #P"C:\\lisp\\cm-2.3.4\\tmp\\foo.bar" 2. When running from a command prompt somewhere in drive C: #P"C:\\cm-2.3.4\\tmp\\foo.bar" 3. When running from a command prompt somewhere in drive E: #P"C:\\cm-2.3.4\\tmp\\foo.bar" Just in case it is the odd response in 1 that is causing cm to fail in Xemacs, I moved the distribution to c:/lisp/cm-2.3.4 Unfortunately, this doesn't solve that problem. Next step: I downloaded clisp version 2.28 and recompiled cm-2.3.4 from the source distribution. I'm afraid that the behaviour is exactly the same (i.e. failure to load correctly in emacs, and failure to produce an output file unless started from a prompt on the C: drive). The only difference is that with the recompiled version the odd pathname listed above in 1 no longer shows up. I have also tried running cm from a bash prompt running inside emacs. It seems to me that this should be exactly the same as running the same command from a bash prompt outside of emacs. However, even in this case, I get the same [stream.d:9135] error message! When I run the processes example from a lisp started from the command prompt in C, I get a message telling me about the temporary midi file. I wonder if this is the same on yours (i.e., without the C: prefix)? [3]> (events (ex4) out) "\\cm-2.3.4\\tmp\\test-1.midi" I think there are really two unrelated problems here - the xemacs one, and the running-from-another-drive one. It is the former that is more pressing... I can't imagine using CM without emacs! Are there any other things I could try that would help you diagnose the problem? I wonder what the differences are between my windows machine and yours? I am running Xemacs version 21.4. I also use Cygwin, but I can't really see how this could make a difference, because the Xemacs isn't a special Cygwin version, my custom.el has no cygwin-specific info in it, and I start xemacs from the start menu, not from a shell.... Oh dear... thank you for bothering with this! I really want us to get to the bottom of it if we can! Cheers, Simon From taube at uiuc.edu Sat Jun 29 16:20:33 2002 From: taube at uiuc.edu (Rick Taube) Date: Sat, 29 Jun 2002 16:20:33 -0700 Subject: [CM] help with windows xemacs cm nightmare References: <Pine.LNX.4.44.0206281526370.5293-100000@agave.ling.ed.ac.uk> <002b01c21eda$33437d40$7f197e82@music.uiuc.edu> <004701c21f84$be6f3b20$c901a8c0@juniper> Message-ID: <001f01c21fc3$927f8670$7c197e82@music.uiuc.edu> yes i think there are two problems. it seems that the logical pathname resetting isnt noticing that you are not on drive c. i think that is fixable -- look in cminit.lisp for set-cm-host dir and see if you cant set that by hand to the correct path ( right now it is doing it by parsing the directory that it resides in and my guess is it is not looking at the host portion) on the emacs problem -- do you get the same problem if, instead of -M cm.mem, you use the the base clisp initlisp.mem image? also,can you type 'abort' at the error and continue to work or does lisp execution hang? From j.l.anderson at bham.ac.uk Sat Jun 29 15:58:44 2002 From: j.l.anderson at bham.ac.uk (Joseph L Anderson) Date: Sat, 29 Jun 2002 15:58:44 -0700 Subject: [CM] Re: clm newbie needs big help! In-Reply-To: <a05111700b942e622d9b2@[66.114.68.65]> Message-ID: <C3297F21-8BB3-11D6-9337-0003931500D6@bham.ac.uk> Hi Michael, Thanks for the great advice. Yes, its very helpful! Am having a bit of a hang up w/ clisp installation, though. Ive gone through the process of installing Fink - which was easy - as you noted. Following that i selected clisp to be installed. Fink doesnt seem to have completely installed clisp, however. When i try to run clisp i get an error: dyld: /sw/lib/clisp/base/lisp.run can't open library: /sw/lib/libdl.0.dylib (No such file or directory, errno = 2) Have looked around on my disk and can't find 'libdl.0.dylib'. It seems rather suspicious that there would be a file missing. Wondering if for some reason there was a screw up as Fink was installing clisp on my machine? Or maybe there is a problem w/ the clisp version available? Any thoughts on this? Should i try having Fink install clisp again? (am on a slow modem connection - so it takes a bit of time. . .) j am running macos 10.1.5 - if that makes any difference oh, and if it does come to it - maybe i will try building clisp from sources w/ bash (thanks for the link). though i have no excitement about doing so. . . On Friday, June 28, 2002, at 09:47 PM, Michael Klingbeil wrote: > From: Michael Klingbeil <michael at klingbeil.com> > Date: Fri Jun 28, 2002 09:47:53 PM US/Pacific > To: Joseph L Anderson <j.l.anderson at bham.ac.uk> > Subject: Re: [CM] (no subject) > > An easier way might be to download a precompiled version of clisp. The > Fink project at http://fink.sourceforge.net is probably one of the best > sources of ports for MacOS X / Darwin. It is based on the Debian > package management system. > > This page: > http://fink.sourceforge.net/download/index.php > > has some simple directions for getting started. Once fink is installed > run dselect at the terminal and select the packages you want to > install. Currently clisp is at version 2-2.27-1, but this seems to work > fine for building clm. > > Once clisp is installed, the building of clm should be relatively > straightforward. > > Also you'll need to have the Apple Developer Tools installed > (http://developer.apple.com/tools/macosxtools.html) for the C compiler, > but perhaps you already have that. > > If you still want to build clisp from the sources you could try getting > a pre-compiled bash from one of the following places: > > (From GNU MacOS X Public Archive at http://www.osxgnu.org/) > http://scweb.sandiego.edu/osxgnu/Shells/bash-2.05X.pkg.sit.bin > > OR... > http://www.mneptok.com/software/osx/bash-macosx.tgz > > I hope this information is helpful. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph L Anderson Acousmatic Music . Sound Recording . Radio Production 4210 North West Crescent Valley Drive Corvallis, Oregon, 97330 email: lloyd at sfsound.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From michael at klingbeil.com Sat Jun 29 16:51:47 2002 From: michael at klingbeil.com (Michael Klingbeil) Date: Sat, 29 Jun 2002 19:51:47 -0400 Subject: [CM] Re: clm newbie needs big help! In-Reply-To: <C3297F21-8BB3-11D6-9337-0003931500D6@bham.ac.uk> References: <C3297F21-8BB3-11D6-9337-0003931500D6@bham.ac.uk> Message-ID: <a05111700b943f2e557c0@[66.114.68.65]> Now that you mention it I remember encountering this problem as well. No need to reinstall clsip. Just get the "dlcompat" package which is available via Fink dselect. I think once that is installed everything will work (famous last words!). Apparently this wasn't set up as a dependency for clisp. I found using clisp less than satisfying for work with CLM/CM on MacOS X but your experience may differ. I got used to MCL and Rick Taube's plotter, so moving to clisp was a bit unpleasant. Someday some other LISPs should become available for MacOS X. I have tried out OpenMCL but I haven't attempted to build either CLM or CM. Right now OpenMCL claims to lack support for dynamic loading unloading of libraries. Maybe dlcompat offers a solution to that difficulty. >Hi Michael, > >Thanks for the great advice. Yes, its very helpful! Am having a bit >of a hang up w/ clisp installation, though. > >Ive gone through the process of installing Fink - which was easy - >as you noted. Following that i selected clisp to be installed. Fink >doesnt seem to have completely installed clisp, however. When i try >to run clisp i get an error: > >dyld: /sw/lib/clisp/base/lisp.run can't open library: >/sw/lib/libdl.0.dylib (No such file or directory, errno = 2) > >Have looked around on my disk and can't find 'libdl.0.dylib'. > >It seems rather suspicious that there would be a file missing. >Wondering if for some reason there was a screw up as Fink was >installing clisp on my machine? Or maybe there is a problem w/ the >clisp version available? > >Any thoughts on this? Should i try having Fink install clisp again? >(am on a slow modem connection - so it takes a bit of time. . .) > >j > >am running macos 10.1.5 - if that makes any difference > >oh, and if it does come to it - maybe i will try building clisp from >sources w/ bash (thanks for the link). though i have no excitement >about doing so. . . > >On Friday, June 28, 2002, at 09:47 PM, Michael Klingbeil wrote: > >>From: Michael Klingbeil <michael at klingbeil.com> >>Date: Fri Jun 28, 2002 09:47:53 PM US/Pacific >>To: Joseph L Anderson <j.l.anderson at bham.ac.uk> >>Subject: Re: [CM] (no subject) >> >>An easier way might be to download a precompiled version of clisp. >>The Fink project at http://fink.sourceforge.net is probably one of >>the best sources of ports for MacOS X / Darwin. It is based on the >>Debian package management system. >> >>This page: >>http://fink.sourceforge.net/download/index.php >> >>has some simple directions for getting started. Once fink is >>installed run dselect at the terminal and select the packages you >>want to install. Currently clisp is at version 2-2.27-1, but this >>seems to work fine for building clm. >> >>Once clisp is installed, the building of clm should be relatively >>straightforward. >> >>Also you'll need to have the Apple Developer Tools installed >>(http://developer.apple.com/tools/macosxtools.html) for the C >>compiler, but perhaps you already have that. >> >>If you still want to build clisp from the sources you could try >>getting a pre-compiled bash from one of the following places: >> >>(From GNU MacOS X Public Archive at http://www.osxgnu.org/) >>http://scweb.sandiego.edu/osxgnu/Shells/bash-2.05X.pkg.sit.bin >> >>OR... >>http://www.mneptok.com/software/osx/bash-macosx.tgz >> >>I hope this information is helpful. >> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Joseph L Anderson > >Acousmatic Music . Sound Recording . Radio Production >4210 North West Crescent Valley Drive >Corvallis, Oregon, 97330 email: lloyd at sfsound.org >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From j.l.anderson at bham.ac.uk Sat Jun 29 18:56:26 2002 From: j.l.anderson at bham.ac.uk (Joseph L Anderson) Date: Sat, 29 Jun 2002 18:56:26 -0700 Subject: [CM] Re: clm newbie needs big help! In-Reply-To: <a05111700b943f2e557c0@[66.114.68.65]> Message-ID: <9669A87E-8BCC-11D6-9337-0003931500D6@bham.ac.uk> Michael, Oh joy! w/ dlcompat clisp runs. Many thanks for the help. CLM built w/ no problems, and then was a cinch getting v.ins to write sound to a file. Now all i have to do is actually learn clm. . . Re OpenMCL, looking at the CM list archive i see not everyone is too happy w/ clisp. Is it expect OpenMCL will make life happier? I downloaded it - but havent tried to fool w/ it now that clisp actually works. j On Saturday, June 29, 2002, at 04:51 PM, Michael Klingbeil wrote: > Now that you mention it I remember encountering this problem as well. > No need to reinstall clsip. Just get the "dlcompat" package which is > available via Fink dselect. I think once that is installed everything > will work (famous last words!). Apparently this wasn't set up as a > dependency for clisp. > > I found using clisp less than satisfying for work with CLM/CM on MacOS > X but your experience may differ. I got used to MCL and Rick Taube's > plotter, so moving to clisp was a bit unpleasant. > > Someday some other LISPs should become available for MacOS X. I have > tried out OpenMCL but I haven't attempted to build either CLM or CM. > Right now OpenMCL claims to lack support for dynamic loading unloading > of libraries. Maybe dlcompat offers a solution to that difficulty. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph L Anderson Acousmatic Music . Sound Recording . Radio Production 4210 North West Crescent Valley Drive Corvallis, Oregon, 97330 email: lloyd at sfsound.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From renueden at earthlink.net Sun Jun 30 08:53:26 2002 From: renueden at earthlink.net (Ken) Date: Sun, 30 Jun 2002 08:53:26 -0700 Subject: [CM] Frequency problems? Message-ID: <044f01c2204e$46a2af80$190ba8c0@KenLaptop> Extending the last tutorial algo, I am having trouble understanding how to convert keynums to hertz for use in Csound. 1-Is there an easier way to convert to hertz other than inserting #h into each keynum statement? 2-How do I have a chord return hertz as in the first random element below? (defprocess my-first () (process with k =(new random of '(([48 50 55] weight .2143) (#h 62 weight .0714) (#h 64 weight .1429) (#h 53 weight .0714) (#h 67 weight .2143) (#h 69 weight .1429) (#h 58 weight .1429))) with r = (new cycle rhythms '(e e ts ts ts e e ts ts ts)) with d = (new cycle rhythms '(q h e e s q w e e q)) with a = (new cycle amplitudes '(.6 .3 .1 .2 .1)) repeat 96 for x = (now) for ba = (next r) output (new pluck time x pitch (next k) duration (next d) amplitude (next a) envelope 32 wet-level .4) wait ba)) Thanks, Ken Locarnini From jjbenham at yahoo.com Sun Jun 30 10:34:14 2002 From: jjbenham at yahoo.com (Jeremiah Benham) Date: Sun, 30 Jun 2002 10:34:14 -0700 (PDT) Subject: [CM] xcmnw Message-ID: <20020630173414.12496.qmail@web10005.mail.yahoo.com> I have used CMN notation before. I was just curious why I can't get xcmnw to work. It compiled fine with the gcc xcmnw.c -o xcmnw -I/usr/X11R6/include -L/usr/X11R6/........ I type in in clisp after loading cmn (cmn (output-type :x) staff treble c4 q) Sorry if you think it is silly. In the past I just used gv. I was just trying to see if I could get the xcmnw to work. Jeremiah __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From achim.bornhoeft at web.de Sun Jun 30 10:26:30 2002 From: achim.bornhoeft at web.de (Achim Christian Bornhoeft) Date: Sun, 30 Jun 2002 17:26:30 +0000 Subject: [CM] snd with guile 1.5.6 Message-ID: <3D1F3F46.1070503@web.de> I tried to build snd with guile 1.5.6 and ran into a problem: After comiling guile 1.5.6 the command 'guile-config --version' returned 'guile-config - Guile version 1.5.6' and 'guile-config link' returned '-L/usr/local/lib -lguile -lcrypt -lm'. Both looked fine for me. Because I'm running redhat 7.2 and guile 1.3.4 is installed under /usr/bin I ran the configure srcipt with ./configure GUILE_CONFIG_path=/usr/local/bin assuming that the script is looking for /usr/local/bin/guile-config the script returned checking for /usr/lib/snd/bin/guile-config... no checking for Guile... 1.5.6 where the directory path looks quite strange to me. Even with removing the old guile files under /usr/bin I got the same output and after compiling snd the program returned snd: error while loading shared libraries: libguile.so.14: cannot open shared object file: No such file or directory even if I change the enviroment variable 'setenv GUILE_LOAD_PATH /usr/local/bin '. Can somebody help me with this problem? Thank you in advance. Achim From simon at ling.ed.ac.uk Sun Jun 30 12:32:40 2002 From: simon at ling.ed.ac.uk (Simon Kirby) Date: Sun, 30 Jun 2002 20:32:40 +0100 (BST) Subject: [CM] help with windows xemacs cm nightmare In-Reply-To: <001f01c21fc3$927f8670$7c197e82@music.uiuc.edu> Message-ID: <Pine.LNX.4.44.0206302024450.14319-100000@agave.ling.ed.ac.uk> Well... I now know that the emacs problem is definitely not specifically a cm problem... I tried simply running clisp under a bash shell managed by emacs and it gave me the exact same error. Also, your suggestion of simply aborting from the break and continuing works! So, at least now I've got a working system (albeit a rather clunky one). Thanks! As for the issue of a different drive - setting the host directory by hand does not seem to help, but running CM only from C is something I can live with. Thanks for your patience. Out of interest, what version of Xemacs are you using? All the best, Simon -- Simon Kirby Language Evolution and Computation Research Unit simon at ling.ed.ac.uk Department of Theoretical and Applied Linguistics http://www.ling.ed.ac.uk/~simon/ University of Edinburgh From nando at ccrma.Stanford.EDU Sun Jun 30 16:15:25 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Sun, 30 Jun 2002 16:15:25 -0700 (PDT) Subject: [CM] snd with guile 1.5.6 In-Reply-To: <3D1F3F46.1070503@web.de> Message-ID: <Pine.LNX.4.44.0206301613110.9275-100000@cmn37.stanford.edu> > ./configure GUILE_CONFIG_path=/usr/local/bin assuming that the script is > looking for /usr/local/bin/guile-config What I have done in the past is to just change the PATH environment variable to have the guile bin install directory at the beginning, in your case /usr/local/bin, after that the snd configure script finds it by itself. > checking for /usr/lib/snd/bin/guile-config... no > checking for Guile... 1.5.6 > > where the directory path looks quite strange to me. > Even with removing the old guile files under /usr/bin I got the same > output and > after compiling snd the program returned > > snd: error while loading shared libraries: libguile.so.14: cannot open > shared object file: No such file or directory Check to see if you have /usr/local/lib in /etc/ld.so.conf, if not add it and run ldconfig. -- Fernando From carl.boingie at rcn.com Sun Jun 30 18:45:26 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Sun, 30 Jun 2002 21:45:26 -0400 Subject: [CM] CM/CLM/CMN goes webway References: <copy9czqx6l.fsf@iannis.uio.no> Message-ID: <005201c220a0$fadae1a0$08f07ad1@laptop> Although my connection is rather slow I found visiting your site fascinating. I can't wait to hear it. Great job. Thanks for the link. Carl Edwards > Ive set up a web-server displaying various graphics, sounds, > scores of some sound/art/music - doing all of its content-work > through the CM/CMN/CLM packages. It could be interesting to some > cmdist-readers. The main entrance is > > http://notam02.uio.no/polylogue.html > > (...) > > I can explain more of the technicalities if anyones interested. > Ill make a phase-2 version sometime, which connects to musical > performances. > > Have fun! Tell me about any flaws you find. > > -anders From taube at uiuc.edu Sun Jun 30 21:40:27 2002 From: taube at uiuc.edu (Rick Taube) Date: Sun, 30 Jun 2002 21:40:27 -0700 Subject: [CM] help with windows xemacs cm nightmare References: <Pine.LNX.4.44.0206302024450.14319-100000@agave.ling.ed.ac.uk> Message-ID: <001101c220b9$6d5327c0$85197e82@music.uiuc.edu> > As for the issue of a different drive - setting the host directory by hand > does not seem to help, but running CM only from C is something I can live > with. actually cminit.lisp is keeping track of the current device when it resets the cm root directory. so im still not sure what the pathname problem is due to at this point. > Thanks for your patience. Out of interest, what version of Xemacs are you > using? on windows i am using xemacs 21.4. it works fine with clisp, acl and even chez scheme. From testcase at asu.edu Sat Jun 29 17:16:55 2002 From: testcase at asu.edu (todd ingalls) Date: Sat, 29 Jun 2002 17:16:55 -0700 Subject: [CM] events help Message-ID: <AF41BC88-8BBE-11D6-BDD2-00306580B104@asu.edu> I am having a little problem I hope someone can help out with. Let's say I have a process called 'my-process' which takes 3 input values. Now the following works fine: (events (my-process 5 50 1200) "test.aiff") and of course this works fine with the optional ahead argument (events (list (my-process 5 50 1200) (my-process 5 300 800)) "test.aiff" 10)) But this fails (events (list (my-process 5 50 1200) (my-process 5 300 800)) "test.aiff" '(1 10))) With the error in clisp of *** - NO-APPLICABLE-METHOD: When calling #<GENERIC-FUNCTION PROCESS-EVENTS> with arguments (MY-PROCESS 1 1 #<COMPILED-CLOSURE EVENTS-1>), no method is applicable Now, this somewhat makes sense since I am attempting to apply the list of ahead arguments to a list of functions not objects. My question is, is there a way to get around this that I am not seeing? Thanks. From TestCase at asu.edu Sat Jun 29 17:21:06 2002 From: TestCase at asu.edu (todd ingalls) Date: Sat, 29 Jun 2002 17:21:06 -0700 (MST) Subject: [CM] Re: clm newbie needs big help! In-Reply-To: <a05111700b943f2e557c0@[66.114.68.65]> Message-ID: <Pine.GSO.4.21.0206291718400.14305-100000@general3.asu.edu> I have the same experience as you and I am finding it a little frustrating. I keep checking the digitool site, but there appears to be no news on when they plan on releasing the OSX port of MCL. Does anyone have any info on this? On Sat, 29 Jun 2002, Michael Klingbeil wrote: > Now that you mention it I remember encountering this problem as well. > No need to reinstall clsip. Just get the "dlcompat" package which is > available via Fink dselect. I think once that is installed everything > will work (famous last words!). Apparently this wasn't set up as a > dependency for clisp. > > I found using clisp less than satisfying for work with CLM/CM on > MacOS X but your experience may differ. I got used to MCL and Rick > Taube's plotter, so moving to clisp was a bit unpleasant. > > Someday some other LISPs should become available for MacOS X. I have > tried out OpenMCL but I haven't attempted to build either CLM or CM. > Right now OpenMCL claims to lack support for dynamic loading > unloading of libraries. Maybe dlcompat offers a solution to that > difficulty. > > > >Hi Michael, > > > >Thanks for the great advice. Yes, its very helpful! Am having a bit > >of a hang up w/ clisp installation, though. > > > >Ive gone through the process of installing Fink - which was easy - > >as you noted. Following that i selected clisp to be installed. Fink > >doesnt seem to have completely installed clisp, however. When i try > >to run clisp i get an error: > > > >dyld: /sw/lib/clisp/base/lisp.run can't open library: > >/sw/lib/libdl.0.dylib (No such file or directory, errno = 2) > > > >Have looked around on my disk and can't find 'libdl.0.dylib'. > > > >It seems rather suspicious that there would be a file missing. > >Wondering if for some reason there was a screw up as Fink was > >installing clisp on my machine? Or maybe there is a problem w/ the > >clisp version available? > > > >Any thoughts on this? Should i try having Fink install clisp again? > >(am on a slow modem connection - so it takes a bit of time. . .) > > > >j > > > >am running macos 10.1.5 - if that makes any difference > > > >oh, and if it does come to it - maybe i will try building clisp from > >sources w/ bash (thanks for the link). though i have no excitement > >about doing so. . . > > > >On Friday, June 28, 2002, at 09:47 PM, Michael Klingbeil wrote: > > > >>From: Michael Klingbeil <michael at klingbeil.com> > >>Date: Fri Jun 28, 2002 09:47:53 PM US/Pacific > >>To: Joseph L Anderson <j.l.anderson at bham.ac.uk> > >>Subject: Re: [CM] (no subject) > >> > >>An easier way might be to download a precompiled version of clisp. > >>The Fink project at http://fink.sourceforge.net is probably one of > >>the best sources of ports for MacOS X / Darwin. It is based on the > >>Debian package management system. > >> > >>This page: > >>http://fink.sourceforge.net/download/index.php > >> > >>has some simple directions for getting started. Once fink is > >>installed run dselect at the terminal and select the packages you > >>want to install. Currently clisp is at version 2-2.27-1, but this > >>seems to work fine for building clm. > >> > >>Once clisp is installed, the building of clm should be relatively > >>straightforward. > >> > >>Also you'll need to have the Apple Developer Tools installed > >>(http://developer.apple.com/tools/macosxtools.html) for the C > >>compiler, but perhaps you already have that. > >> > >>If you still want to build clisp from the sources you could try > >>getting a pre-compiled bash from one of the following places: > >> > >>(From GNU MacOS X Public Archive at http://www.osxgnu.org/) > >>http://scweb.sandiego.edu/osxgnu/Shells/bash-2.05X.pkg.sit.bin > >> > >>OR... > >>http://www.mneptok.com/software/osx/bash-macosx.tgz > >> > >>I hope this information is helpful. > >> > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Joseph L Anderson > > > >Acousmatic Music . Sound Recording . Radio Production > >4210 North West Crescent Valley Drive > >Corvallis, Oregon, 97330 email: lloyd at sfsound.org > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > >_______________________________________________ > >Cmdist mailing list > >Cmdist at ccrma.stanford.edu > >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >