From afc_asti at allmail.net Fri May 2 12:30:44 2003 From: afc_asti at allmail.net (kasti) Date: Fri, 02 May 2003 11:30:44 -0800 Subject: [CM] stdout in CM? Message-ID: <20030502193044.526F6342C0@www.fastmail.fm> Hello! I?ve been practicing the chapters 6-7 and found LISP/CM as a completely illuminating/pleasurable musical experience (I tried some scripting languages to make Csound Scores, but neither of them make me think exploratory and structurally at the same time (almost trial and error) so I thank you again, this is what I was looking for, for a long time. About the 'xcm', I?m going to reboot (I?m currently on windows) to check it again, thanks for your answer. -- Now I have two new questions, 1- I?m currently using 'Blue' (an environment for Csound) that is designed to work straightforward with any scripting language that can return values (score list) from the stdout of linux, so my question is (beyond chapter 24): how can I use this feature if I use CommonMusic? 2- When I try to compile the cm-2.4.0 inside my Windows(XP) box it can recognize the folders separation character(/), so I tried with 4 possible combinations (/, \, //, \\) and neither of them works, can you help me with this? Bye, Thanks! :-) -- andr?s f. castiblanco v. e-mail address: afc_asti at allmail.net -- http://www.fastmail.fm - Choose from over 50 domains or use your own From taube at uiuc.edu Fri May 2 14:25:37 2003 From: taube at uiuc.edu (Rick Taube) Date: Fri, 2 May 2003 14:25:37 -0700 Subject: [CM] stdout in CM? References: <20030502193044.526F6342C0@www.fastmail.fm> Message-ID: <000b01c310f1$62c22800$64197e82@music.uiuc.edu> > 1- I?m currently using 'Blue' (an environment for Csound) that is > designed to work straightforward with any scripting language that can > return values (score list) from the stdout of linux, so my question is > (beyond chapter 24): how can I use this feature if I use CommonMusic? CM can write/print/output to any lisp stream, maybe someone with more unix experience can anwer this for you. > 2- When I try to compile the cm-2.4.0 inside my Windows(XP) box it can > recognize the folders separation character(/), so I tried with 4 possible > combinations (/, \, //, \\) and neither of them works, can you help me > with this? you have to tell me what lisp you are using to compile common music. if its clisp then you should be able to use either the unix / or the windows \\ you have to use 2 \\ for a windows pathname because the \ character is an 'escape' character in Lisp. so if you want to load a file called c:\whatever\test.lisp you would type : > (load "c:\\lisp\\whatever\\test.lisp") From taube at uiuc.edu Fri May 2 15:45:24 2003 From: taube at uiuc.edu (Rick Taube) Date: Fri, 2 May 2003 15:45:24 -0700 Subject: [CM] stdout in CM? References: <20030502193044.526F6342C0@www.fastmail.fm> <000b01c310f1$62c22800$64197e82@music.uiuc.edu> <20030502195134.DF6E63190D@www.fastmail.fm> Message-ID: <001d01c310fc$862b8d30$a6197e82@music.uiuc.edu> Hmm, I dont have this problem on my windows machine. Can you load and compile ANY file? try creating an empty file and then compiling it and loading it in clisp Also, what happens if you specify the pathname using the unix convention? You would type (load "/root/cm-2.4.0/src/cm.lisp") This is what happens on my windows machine: [1]> (lisp-implementation-version) "2.28 (released 2002-03-03) (built on heinrich-0lbjee.music.uiuc.edu [130.126.30.145])" [2]> (load "/lisp/cm-2.4.0/src/cm.lisp") ;; Loading file \lisp\cm-2.4.0\src\cm.lisp ... ; Compiling "\\lisp\\cm-2.4.0\\src\\pkg.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\pkg.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\loop.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\loop.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\clisp.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\clisp.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\clos.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\clos.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\iter.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\iter.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\level1.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\level1.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\scheme.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\scheme.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\utils.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\utils.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\mop.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\mop.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\objects.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\objects.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\io.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\io.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\scheduler.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\scheduler.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\sco.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\sco.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\clm.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\clm.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\no-mi_d.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\no-mi_d.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\midi1.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\midi1.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\midi2.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\midi2.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\midi3.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\midi3.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\midix.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\midix.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\import.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\import.fas". WARNING: Replacing method #)> in # ; Compiling "\\lisp\\cm-2.4.0\\src\\data.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\data.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\scales.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\scales.fas". ; Compiling "\\lisp\\cm-2.4.0\\src\\patterns.lisp". ; Loading "\\lisp\\cm-2.4.0\\bin\\patterns.fas". ; Sources were compiled. To save Common Music, ; quit and restart Lisp, then reload cm.lisp. ;; Loading of file \lisp\cm-2.4.0\src\cm.lisp is finished. T From ljure at multitel.com.uy Sat May 3 05:23:05 2003 From: ljure at multitel.com.uy (luis jure) Date: Sat, 3 May 2003 09:23:05 -0300 Subject: [CM] book completed In-Reply-To: <78E4C05E-73F5-11D7-B537-000A95674CE4@uiuc.edu> References: <78E4C05E-73F5-11D7-B537-000A95674CE4@uiuc.edu> Message-ID: <20030503092305.77a8526f.ljure@multitel.com.uy> el Mon, 21 Apr 2003 07:33:36 -0500 Rick Taube escribi?: > but ive managed to get the last chapter in place for anyone that would > care to read it and send me comments: i can't comment much, really, only congratulations and a big thank you for this great book. i just wanted to report that i noticed a few files missing: 20/cring.cm 20/foster.cm 21/snd/pctest-1.midi 24/snd/blur.sco there are links to these files in the text, but they're not there. perhaps they are not ready yet, or it's just a wrong link. best, lj From taube at uiuc.edu Sat May 3 09:47:27 2003 From: taube at uiuc.edu (Rick Taube) Date: Sat, 3 May 2003 09:47:27 -0700 Subject: [CM] book completed. STDOUT References: <78E4C05E-73F5-11D7-B537-000A95674CE4@uiuc.edu> <20030503092305.77a8526f.ljure@multitel.com.uy> Message-ID: <001801c31193$af2c3300$91197e82@music.uiuc.edu> > i just wanted to report that i noticed a few files missing: > thank you, im about ready to release the prefinal form of the book, it will have all pages validated and working. ill send a note to the list as soon as its done, probably tomorrow. on the stdout business, apparently *standard-out* in Lisp is linux standard out too so ill add the ability to output to any stream, not just files. its a very simply addition but it wont be ready until somethme next week . From taube at uiuc.edu Sun May 4 16:38:44 2003 From: taube at uiuc.edu (Rick Taube) Date: Sun, 4 May 2003 18:38:44 -0500 Subject: [CM] new version of book (xhtml/css2) Message-ID: <8B9AA05E-7E89-11D7-A2D4-000A95674CE4@uiuc.edu> I've posted the second-to-last version of the book: http://pinhead.music.uiuc.edu/~hkt/nm/ some major improvements have been made: 1) book has been converted to XHTML 1.0 strict using Cascading Style Sheets level 2. A huge, huge thank you to Tobias Kunze for his beautiful styling (nm/00/cm.css) on which the html version of the book is based (check out the new look for program examples and sound examples!). The CSS presentation is so much better than my previous version and the markup is incredibly clean. Of course you will need an XHTML/CSS2 compliant browser to enjoy it! 2) New section added to chapter 23 contains examples from Michael Klingbeil's composition 1706F. Thanks very much to Michael for allowing me to use this material. 3) All typos, unclear passages and other errata that people have reported to me have been fixed -- Thank you all very much for your comments, expecially Carl Edwards, Dave Phillips, and Jamie Macbeth. 4) Lots of internal links to examples and chapters added. 5) Dedication page added. 6) newly added/updated pithy quotes for chapters 6, 7, 10, 15, 16, 17, 20 7) XHTML, CSS and links validate. I will be sending the ms off to Swets this week, I plan on adding a section on 1/f noise to chapter 18 and to update chapter 4 with better info about running the application and Xemacs. Please feel free to send in any typos -- I will fix these in the final draft. -rick From a000000000000b2000 at yahoo.com Sun May 4 17:30:11 2003 From: a000000000000b2000 at yahoo.com (aoeu aoeu) Date: Sun, 4 May 2003 17:30:11 -0700 (PDT) Subject: [CM] "xemacs: standard input is not a tty" Message-ID: <20030505003011.48204.qmail@web20704.mail.yahoo.com> Hello! I'm sorry if this has already been asked: When trying to run the "/usr/local/lisp/cm-2.4.0/bin/xcm" script, I get "xemacs: standard input is not a tty". - Mac OS 10.2.5 - Guile 1.6.4-1 (from Fink) - Xemacs 21.4.9-3 (from Fink) - X11 Beta 3 - XFree86 4.2.1 (from Apple) I'm not yet familiar with Xemacs, would a correctly configured set of init files in my home directory take care of this error? Thanks! --- --- __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com From taube at uiuc.edu Mon May 5 04:59:51 2003 From: taube at uiuc.edu (Rick Taube) Date: Mon, 5 May 2003 06:59:51 -0500 Subject: [CM] "xemacs: standard input is not a tty" In-Reply-To: <20030505003011.48204.qmail@web20704.mail.yahoo.com> Message-ID: <13E90A4C-7EF1-11D7-BC66-000A95674CE4@uiuc.edu> I have not seen this problem and I have bascially the same setup -- can you start xeamcs and then start Guile as a subprocess without using xcm? that will at least tell me where the problem might lie. i can send you the relevant parts of the xemacs init file if you do not know how to do this. On Sunday, May 4, 2003, at 19:30 America/Chicago, aoeu aoeu wrote: > Hello! > > I'm sorry if this has already been asked: > > When trying to run the > "/usr/local/lisp/cm-2.4.0/bin/xcm" script, I get > "xemacs: standard input is not a tty". > > - Mac OS 10.2.5 > - Guile 1.6.4-1 (from Fink) > - Xemacs 21.4.9-3 (from Fink) > - X11 Beta 3 - XFree86 4.2.1 (from Apple) > > I'm not yet familiar with Xemacs, would a correctly > configured set of init files in my home directory take > care of this error? > > Thanks! > --- > --- > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From fdowling at tcd.ie Wed May 7 12:17:24 2003 From: fdowling at tcd.ie (fdowling) Date: Wed, 7 May 2003 20:17:24 +0100 Subject: [CM] newbie question Message-ID: <3EC0CF4D@ntserver-e2w2.tcd.ie> Hi, I've been trying to follow "Notes from the Metalevel" but I keep running into the same problem when exercising any of the examples in the listener. 1 > (define 2pi (* 2 pi)) > Error in process Initial: Unbound variable: 2PI > While executing: CCL::CHEAP-EVAL-IN-ENVIRONMENT > Type Command-/ to continue, Command-. to abort. > If continued: Retry getting the value of 2PI. See the Restarts menu item for further choices. Thanks in advance, Fergal Dowling. From taube at uiuc.edu Wed May 7 12:39:21 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 7 May 2003 14:39:21 -0500 Subject: [CM] newbie question References: <3EC0CF4D@ntserver-e2w2.tcd.ie> Message-ID: <001901c314d0$5c09b900$aa197e82@music.uiuc.edu> are you sure you are using cm 2.4.0? what does (cm-version) return? i will build binaries for the book as soon as the semester is over and i have time to set up the sourceforge account again. in the meantime you can install cm-2.4.0 yourself from the ccrma ftp server ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/cm-2.4.0.tar.gz From taube at uiuc.edu Wed May 7 13:18:42 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 7 May 2003 15:18:42 -0500 Subject: [CM] Re: CM book Message-ID: <002501c314d5$db954bd0$ac197e82@music.uiuc.edu> Hi, thank you, its possible you a reading with a browser that doesnt do css2 but you dont tell me what browser you are using. For best results you should use a browser that is "web-compliant' with xhtml and ccs2. In particular, you will have problems of some sort if you use IE 5 or 6 or any Netscape less than 7. (I think IE 6 has a hard time with the quotations) Here are a list of browsers that comply to web standards that you can choose from -- all of them are free. Windows: Mozilla, Netscape 7, Opera Linux: Mozilla, Galeon, Netscape 7, Konqueror OSX: Camino, Mozilla, Safari, Netscape 7 MACOS, Mozilla Netscape 7 > Hi Rick, > > Just wanted to say I really appreciate the work you've put into the book. > Really excellent! > > Also, I wanted to let you know of a possible (minor) bug. I printed out > some of the chapters to read while on the bus to work and noticed that the > quotes that are a part of the heading to some of the chapters prints out > funny. They all end up being thin columns that don't span the width of the > page. Thought you might like to know. > > Thanks again for the wonderful text and software! > steven > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stevenyi at csounds.com Wed May 7 14:00:04 2003 From: stevenyi at csounds.com (steven yi) Date: Wed, 7 May 2003 14:00:04 -0700 Subject: [CM] Lisp Question References: <3EC0CF4D@ntserver-e2w2.tcd.ie> <001901c314d0$5c09b900$aa197e82@music.uiuc.edu> Message-ID: <016101c314db$a24cc780$6d00a8c0@sfeveo.eveo.com> Hi all, I was trying to figure this out, but being a lisp newbie, I couldn't for the life of me do so. What I'm trying to do is when I run a CM script, I'd like to pass in an argument (a file name) on the commandline and use it for when outputting csound score to a file. For reference, I'm using GNU CLISP on linux. Thanks for any help! steven From taube at uiuc.edu Wed May 7 14:01:50 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 7 May 2003 16:01:50 -0500 Subject: [CM] Lisp Question References: <3EC0CF4D@ntserver-e2w2.tcd.ie> <001901c314d0$5c09b900$aa197e82@music.uiuc.edu> <016101c314db$a24cc780$6d00a8c0@sfeveo.eveo.com> Message-ID: <004701c314db$e21869f0$7c197e82@music.uiuc.edu> > I was trying to figure this out, but being a lisp newbie, I couldn't for the > life of me do so. What I'm trying to do is when I run a CM script, I'd like > to pass in an argument (a file name) on the commandline and use it for when > outputting csound score to a file. hi im sorry but im not clear on what exactly you want to do. and are you in the Lisp interpreter when you type or are you typing to the linux shell?? > For reference, I'm using GNU CLISP on linux. > > Thanks for any help! > steven > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From stevenyi at csounds.com Wed May 7 14:31:47 2003 From: stevenyi at csounds.com (steven yi) Date: Wed, 7 May 2003 14:31:47 -0700 Subject: [CM] Lisp Question References: <3EC0CF4D@ntserver-e2w2.tcd.ie> <001901c314d0$5c09b900$aa197e82@music.uiuc.edu> <016101c314db$a24cc780$6d00a8c0@sfeveo.eveo.com> <004701c314db$e21869f0$7c197e82@music.uiuc.edu> Message-ID: <019801c314e0$109b9f50$6d00a8c0@sfeveo.eveo.com> Sorry for not being clearer on this. I'm running from a shell to test, but will actually be executing from a java program (my program blue), which is the equivalent of running from a shell. What I'm trying to do is something along the lines of: clisp myScoreGenerator.cm someFileName and in myScoreGenerator.cm, have it output to someFileName. Thanks! steven ----- Original Message ----- From: "Rick Taube" To: "steven yi" ; Sent: Wednesday, May 07, 2003 2:01 PM Subject: Re: [CM] Lisp Question > > > I was trying to figure this out, but being a lisp newbie, I couldn't for > the > > life of me do so. What I'm trying to do is when I run a CM script, I'd > like > > to pass in an argument (a file name) on the commandline and use it for > when > > outputting csound score to a file. > > hi im sorry but im not clear on what exactly you want to do. > and are you in the Lisp interpreter when you type or are you typing to the > linux shell?? > > > > > For reference, I'm using GNU CLISP on linux. > > > > Thanks for any help! > > steven > > > > _______________________________________________ > > Cmdist mailing list > > Cmdist at ccrma.stanford.edu > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > > From t at fictive.com Wed May 7 14:36:23 2003 From: t at fictive.com (Tobias Kunze =?ISO-8859-1?Q?Brise=F1o?=) Date: Wed, 7 May 2003 23:36:23 +0200 Subject: [CM] Lisp Question In-Reply-To: <019801c314e0$109b9f50$6d00a8c0@sfeveo.eveo.com> References: <3EC0CF4D@ntserver-e2w2.tcd.ie> <001901c314d0$5c09b900$aa197e82@music.uiuc.edu> <016101c314db$a24cc780$6d00a8c0@sfeveo.eveo.com> <004701c314db$e21869f0$7c197e82@music.uiuc.edu> <019801c314e0$109b9f50$6d00a8c0@sfeveo.eveo.com> Message-ID: <20030507233623.5fed801c.t@fictive.com> > clisp myScoreGenerator.cm someFileName man clisp. e.g., with file --- foo.lisp ------------------------------ (format t "*** args: ~{~s ~}" *args*) ------------------------------------------- call % clisp foo.lisp 1 2 3 "foobar" *** args: "1" "2" "3" "foobar" similarly, just pass in your file name and make your generator output to it. From taube at uiuc.edu Wed May 7 14:34:26 2003 From: taube at uiuc.edu (Rick Taube) Date: Wed, 7 May 2003 16:34:26 -0500 Subject: [CM] Lisp Question References: <3EC0CF4D@ntserver-e2w2.tcd.ie> <001901c314d0$5c09b900$aa197e82@music.uiuc.edu> <016101c314db$a24cc780$6d00a8c0@sfeveo.eveo.com> <004701c314db$e21869f0$7c197e82@music.uiuc.edu> <019801c314e0$109b9f50$6d00a8c0@sfeveo.eveo.com> Message-ID: <001201c314e0$725d68e0$76197e82@music.uiuc.edu> ok I see. Im not up on my clisp command line args but I think one reasonable way to do this is to have clisp load your file and then have it evaluate an expression you pass it. in this case the expressoin would call a function that you define in the file you load: clisp -l foo.lisp -x (doit "foo.sco") where foo.lisp (or some other file) defines the function doit to take 1 arg, a filename: (defun doit (f) (whatever f)) anyway _something_ like that will work, do clisp -h to see what args clisp wants you to use. you may have to do some sort of quoting in the shell too on the lisp expression, but im not exatly sure From fd106 at york.ac.uk Wed May 7 12:11:52 2003 From: fd106 at york.ac.uk (Fergal Dowling) Date: Wed, 07 May 2003 20:11:52 +0100 Subject: [CM] newbie problem Message-ID: Hi, I've been trying to follow "Notes from the Metalevel" but I keep running into the same problem when exercising any of the examples in the listener. 1 > (define 2pi (* 2 pi)) > Error in process Initial: Unbound variable: 2PI > While executing: CCL::CHEAP-EVAL-IN-ENVIRONMENT > Type Command-/ to continue, Command-. to abort. > If continued: Retry getting the value of 2PI. See the Restarts? menu item for further choices. Thanks in advance, Fergal Dowling. From cewing at u.washington.edu Sat May 10 15:44:26 2003 From: cewing at u.washington.edu (cristopher pierson ewing) Date: Sat, 10 May 2003 15:44:26 -0700 (PDT) Subject: [CM] Timeline of CLM/CM development Message-ID: I am working on an outline history of electronic music and would like to include the development of Common Lisp Music and Common Music. Unfortunately, none of the sources I have found describe the timeline completely. Would anyone out there be willing to provide a brief outline of when work on the programs started, when versions were completed, and what they developed from? Many thanks in advance, Cris ******************************** Cris Ewing CARTAH Assistant University of Washington Home Phone: (206) 365-3413 E-mail: cewing at u.washington.edu ******************************* From afc_asti at allmail.net Mon May 12 21:34:42 2003 From: afc_asti at allmail.net (kasti) Date: Mon, 12 May 2003 20:34:42 -0800 Subject: [CM] xcm file (again) Message-ID: <20030513043442.2942834621@www.fastmail.fm> Hello guys I?m back! I tried to find the `xcm' script file and not found it! so I have some questions? - Is it a regular batch file (.bat on win32, or .sh in linux) with some arguments to start XEmacs? (e.g. "c:\usr\...\xemacs.exe whatever_arguments") - ... or is it a lisp_code file that can be added to a regular `init.el' file, so I can add the relevant lines to this file? - if neither of them are correct, can anyone send me a copy of it, so I can modify it to work in my systems (redhat8-xemacs21.4 and/or winXP-xemacs21.4p6). Thhank you for any help! -- andr?s f. castiblanco v. e-mail address: afc_asti at allmail.net -- http://www.fastmail.fm - I mean, what is it about a decent email service? From afc_asti at allmail.net Mon May 12 21:58:53 2003 From: afc_asti at allmail.net (kasti) Date: Mon, 12 May 2003 20:58:53 -0800 Subject: [CM] blue + cm Message-ID: <20030513045853.E359224285@www.fastmail.fm> Hello! Now that you?re asking, some days ago I sent a message to the CM-mailing list asking for a way to get back to the linux shell (stdout) the result from running or compiling a CM_script file (just as you said in the blue documentation), and Rick sent me this answer: "...on the stdout business, apparently *standard-out* in Lisp is linux standard out too so ill add the ability to output to any stream, not just files. its a very simply addition but it wont be ready until somethme next week" So, it probably would be possible to do it even without an intermediate score file, but as I guess you probably would know much better than me how to handle this (I?m a newbie to Csound, Linux and CM (in that order)), I ask you if you can try this possibility to make it work with Blue (which in fact helps me A LOT! with Csound) and inform us (blue/CM users). Thanks for your attention and excuse me if my syntax/redaction is a little confusing (english is not my native language). !-) -- andr?s f. castiblanco v. e-mail address: afc_asti at allmail.net -- http://www.fastmail.fm - One of many happy users: http://www.fastmail.fm/docs/quotes.html From stevenyi at csounds.com Mon May 12 22:36:24 2003 From: stevenyi at csounds.com (steven yi) Date: 12 May 2003 22:36:24 -0700 Subject: [CM] Re: blue + cm In-Reply-To: <20030513045853.E359224285@www.fastmail.fm> References: <20030513045853.E359224285@www.fastmail.fm> Message-ID: <1052804183.2937.22.camel@steven.yi.music> Hi Andr?s, Until CM is updated for outputting to stdout, Ben McAllister on the blue-users list found a way to do it. The lisp functions are in this email: http://groups.yahoo.com/group/blue-users/message/285 (the formatting of the parentheses is off due to being displayed in html) For blue, there are two ways to get generated scores from external programs back into blue: 1) The external program writes out to stdout, which is captured and brought back into blue. 2) The external program accepts a commandline filename to write out to, which blue can open up after processing and read in. (blue supplies a system-generated temporary file's name via $outfile) The first method was the original method and the second was added due to some programs not having option 1 as a possibility and no open source code(i.e. to use Cmask in blue, which does not write to stdout). The second method is not well documented, though I plan to have documentation more up to par for next release. I myself am a CM/Lisp newbie and am learning slowly as time permits, so am slow to experiment with these things. (I'm only on chapter 10 of Rick's fantastic book). I'm looking forward to experimenting further with CM/blue/Csound myself! Glad to hear blue is helping out with Csound for you! steven On Mon, 2003-05-12 at 21:58, kasti wrote: > Hello! > > Now that you?re asking, some days ago I sent a message to the CM-mailing > list asking for a way to get back to the linux shell (stdout) the result > from running or compiling a CM_script file (just as you said in the blue > documentation), and Rick sent me this answer: > > "...on the stdout business, apparently *standard-out* in Lisp is linux > standard > out too so ill add the ability to output to any stream, not just files. > its > a very simply addition but it wont be ready until somethme next week" > > So, it probably would be possible to do it even without an intermediate > score file, but as I guess you probably would know much better than me > how to handle this (I?m a newbie to Csound, Linux and CM (in that > order)), I ask you if you can try this possibility to make it work with > Blue (which in fact helps me A LOT! with Csound) and inform us (blue/CM > users). > > Thanks for your attention and excuse me if my syntax/redaction is a > little confusing (english is not my native language). > > !-) > > -- > andr?s f. castiblanco v. > e-mail address: afc_asti at allmail.net From bil at ccrma.Stanford.EDU Tue May 13 04:44:01 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 13 May 2003 04:44:01 -0700 Subject: [CM] Timeline of CLM/CM development In-Reply-To: References: Message-ID: <200305131144.EAA01219@cmn14.stanford.edu> > I am working on an outline history of electronic music and would like to > include the development of Common Lisp Music and Common Music. > Unfortunately, none of the sources I have found describe the timeline > completely. Would anyone out there be willing to provide a brief outline > of when work on the programs started, when versions were completed, and > what they developed from? I'd like to read your history! Here's a stab at a timeline for CLM, its antecedents, and companions. Music (PDP-6 and PDP-10, written in FAIL and Fortran by David Poole, Leland Smith, and Tovar) in the late '60s. Score (Leland Smith) (the original "Score", not the current notation program), 70's -- this was the composition software when I was a new grad student, and Pla was my attempt to improve on it. (SCORE.SCR last written in '79). Smith, Leland. 1972. "Score: A Musician's Approach to Computer Music." JAES 20:7-14. Mus10 in the mid 70's. (MUS10.LCS last written in 1977). This added Algol constructs to the original Music synthesis program -- a real improvement! Mbox (Gareth Loy), Samson box synthesis software, late 70's. Very hard to write instruments -- in that regard a step back from Mus10, but orders of magnitude more computing power -- equivalent to a 150-200 MHz PC. Sambox (me) early to mid 80's, and Pla (late 70's to mid 80's), DpySnd (early 80's), Mixer, Edpla, etc -- Pla was a composing language, Mixer was a mixing scripter, EdPla a GUI-oriented view onto Pla (I had to write every aspect of the GUI system including the notion of a window and the underlying graphics library -- this made it slow going -- finally hit memory limits that brought it to a halt). DpySnd was the predecessor of Snd. then in the late 80's CCRMA finally abandoned the PDP-10/Samson box and moved to Unix-based "workstations" (NeXTs). I first reimplemented Mus10 for them as: CLM (1989 and on) -- the file HISTORY.clm takes up the development in 1990. CLM's original goal was to make it possible to "realize" Mus10/Sambox instruments and notelists on the NeXTs (using the 56000). Snd (late 90's) -- HISTORY.Snd shows its development. This was developed in C because I couldn't find a GUI system in CL that I thought was up to the task. CLM-2 came in 1999, intended to clean up accumulated cruft in CLM-1 -- zillions of name changes, flushed the DSP code, etc. CLM-3 would replace the current cmus.lisp macros with something based on clm.c -- Snd is sort of CLM-3 without the CL. I have user-manuals for the old programs mentioned above, as well as nearly all the other programs we used in the PDP-10 era. I'm not sure any program was ever "completed", however. In the role of earnest academic, I wrote some boring articles: "Pla: A Composer's Idea of a Language", Computer Music Journal, Vol 7, No. 1, 1983. "CLM: Music V Meets Common Lisp", CMJ (Summer, 1994). "Pla, a Computer Music Language", in "Current Directions in Computer Music Research", MIT Press, 1989. From juanig at ccrma.Stanford.EDU Tue May 13 03:11:41 2003 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: 13 May 2003 03:11:41 -0700 Subject: [CM] xcm file (again) In-Reply-To: <20030513043442.2942834621@www.fastmail.fm> References: <20030513043442.2942834621@www.fastmail.fm> Message-ID: <1052820703.2114.11.camel@sygfryd> > > I tried to find the `xcm' script file and not found it! so I have some > questions? > If the Xcm script doesn't work (or if you can't find it) you should try the cm script under Xemacs it works very well for under Clisp, ACL \& cmucl. Of course as an inferior Lisp process in a different frame and all the key bindings documented in the CM distribution. __* Juan From taube at uiuc.edu Tue May 13 07:52:51 2003 From: taube at uiuc.edu (Rick Taube) Date: Tue, 13 May 2003 09:52:51 -0500 Subject: [CM] xcm file (again) Message-ID: <92247505-8552-11D7-B0C5-000A95674CE4@uiuc.edu> Here is the contents of my clisp xcm script from my osx machine. Note that the line starting with "xemacs" is one long line. Of course the pathnames in this particula xcm script reflect my file system so you will have to edit these for your machine. xcm: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #!/bin/sh if [ ! `which xemacs` ] ; then echo "xcm: can't find xemacs." exit 1 fi xemacs -l "/Lisp/cm-2.4.0/etc/xemacs/listener.el" -eval '(lisp-listener "/sw/bin/clisp -I -M /Lisp/bin/cm-2.4.0/clisp/cm.mem -i /Lisp/bin/cm-2.4.0/clisp/cminit.lisp" "clisp")' & - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - the script is simple -- it just starts xemacs and tells it to load the "listener.el" file from the cm directory and then to evaluate the function call (lisp-listener ...) the gobbledy-gook in the first string passed lisp-listener is the command line arg that xemacs will use to start up cm under clisp. the second arg ("clisp") is an optional arg that conditionalizes the Listener window AND the Lisp edit buffer for a particular lisp implemntation. For example, you can abort any Lisp error in any Lisp by typing the Emacs command: C-x C-. ie control-x control-dot. This command works in any lisp-mode edit buffer too, ie yhou dont have to select the Listener window before you execute it. If you want to start the Listener from INSIDE xemacs, add the following to your ~/.xemacs/init.el file. Again, you will have to change the ppathnames to reflect your machine ~/.xemacs/init.el: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (require 'inf-lisp) (load "/Lisp/cm-2.4.0/etc/xemacs/listener.el") (setq inferior-lisp-program "/sw/bin/clisp -I -M /Lisp/bin/cm-2.4.0/clisp/cm.mem -i /Lisp/bin/cm-2.4.0/clisp/cminit.lisp") (global-set-key "\C-x\l" 'lisp-listener) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - again, the line starting with 'setq' must be all one line. Then type C-x l to start the listener From taube at uiuc.edu Tue May 13 08:52:24 2003 From: taube at uiuc.edu (Rick Taube) Date: Tue, 13 May 2003 10:52:24 -0500 Subject: [CM] Re: blue + cm In-Reply-To: <1052804183.2937.22.camel@steven.yi.music> Message-ID: This is next in my queue, i hope to have the next tarball ready tomorrow or the next day at the latest. On Tuesday, May 13, 2003, at 00:36 America/Chicago, steven yi wrote: > Hi Andr?s, > > Until CM is updated for outputting to stdout, Ben McAllister on the > blue-users list found a way to do it. The lisp functions are in this > email: > > http://groups.yahoo.com/group/blue-users/message/285 > > (the formatting of the parentheses is off due to being displayed in > html) > > For blue, there are two ways to get generated scores from external > programs back into blue: > > 1) The external program writes out to stdout, which is captured and > brought back into blue. > > 2) The external program accepts a commandline filename to write out to, > which blue can open up after processing and read in. (blue supplies a > system-generated temporary file's name via $outfile) > > The first method was the original method and the second was added due > to > some programs not having option 1 as a possibility and no open source > code(i.e. to use Cmask in blue, which does not write to stdout). The > second method is not well documented, though I plan to have > documentation more up to par for next release. > > I myself am a CM/Lisp newbie and am learning slowly as time permits, so > am slow to experiment with these things. (I'm only on chapter 10 of > Rick's fantastic book). I'm looking forward to experimenting further > with CM/blue/Csound myself! > > Glad to hear blue is helping out with Csound for you! > > steven > > > On Mon, 2003-05-12 at 21:58, kasti wrote: >> Hello! >> >> Now that you?re asking, some days ago I sent a message to the >> CM-mailing >> list asking for a way to get back to the linux shell (stdout) the >> result >> from running or compiling a CM_script file (just as you said in the >> blue >> documentation), and Rick sent me this answer: >> >> "...on the stdout business, apparently *standard-out* in Lisp is linux >> standard >> out too so ill add the ability to output to any stream, not just >> files. >> its >> a very simply addition but it wont be ready until somethme next week" >> >> So, it probably would be possible to do it even without an >> intermediate >> score file, but as I guess you probably would know much better than me >> how to handle this (I?m a newbie to Csound, Linux and CM (in that >> order)), I ask you if you can try this possibility to make it work >> with >> Blue (which in fact helps me A LOT! with Csound) and inform us >> (blue/CM >> users). >> >> Thanks for your attention and excuse me if my syntax/redaction is a >> little confusing (english is not my native language). >> >> !-) >> >> -- >> andr?s f. castiblanco v. >> e-mail address: afc_asti at allmail.net > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From juanig at ccrma.Stanford.EDU Tue May 13 10:24:44 2003 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Tue, 13 May 2003 10:24:44 -0700 (PDT) Subject: [CM] xcm file (again) In-Reply-To: <1052820703.2114.11.camel@sygfryd> Message-ID: Andres, I might have forgotten that in order to run the CM image you need a Lisp binary. The CM or XCM scripts are different from the CM-Image. The CM-Image contains all the Lisp functions to run CM. The scripts are just Unix commands to run the Lisp processes or whatever. In this way you can edit the CM script by yourself. In Linux if you have compiled and installed Clisp the binary might be in /usr/bin/clisp or /usr/local/bin/clisp. Once you have this binary you should edit the CM or XCM scripts to reflect the actual path of clisp and the cm-image in your computer and create a link or put it in one of the binary directories, may be /usr/local/bin. The actual script should look like the example on the CM documentation but with your paths. Something like: "/sw/bin/clisp -I -M /Lisp/bin/cm-2.4.0/clisp/cm.mem -i or "/usr/share/clisp -I -M /usr/local/cm-2.4.0/bin/cm.mem To test the script on the bash shell you can test the CM command just by typing it provided you have the right permissions. On the c-shell you need to rehash and then test it. Clisp should load with the CM image on it. To find that out you can type the (cm-version) function and Lisp should give you the correct version you already compiled. Beware that in Xemacs you might need to download and compile the Lisp major mode in order to have Lisp indentation (this might be the case in the windoze version and in some Linux distributions). Once you have the script running you should edit the .emacs file in your home directory and add a line that looks like: (setq clisp-program "/usr/local/bin/cm") which points to your CM script or may be (defun clisp () (inferior-lisp clisp)) In this way you use the meta-key in emacs to eval the clisp which launches an inferior-lisp process. In other days we used the following lines in the .emacs files: (setq acl-image "/usr/local/bin/cm-image") and then launch the inferior-lisp process by C-x l but you need the following key-bindings (as mentioned by Rick) that you can use as example (progn (require 'inf-lisp) (setq inferior-lisp-program cm-image) (setq explicit-shell-file-name "/bin/tcsh") (setq common-lisp-buffer-name "*common-lisp*") ;; change some key bindings (global-set-key "\C-c\C-r" 'lisp-eval-region) (global-set-key "\C-c\C-s" 'lisp-eval-last-sexp) (global-set-key "\C-c\C-e" 'lisp-eval-defun) (global-set-key "\C-c\C-m" 'lisp-macroexpand) (global-set-key "\C-c\C-b" 'lisp-eval-current-buffer) (global-set-key "\C-x\l" 'inferior-lisp) (global-set-key "\C-c\C-l" 'lisp-mode) (global-set-key "\C-c\C-o" 'outline-minor-mode) (global-set-key "\M- " 'fixup-whitespace) (global-set-key "\M-s" 'ispell-region) (global-set-key "\M-f" 'fill-region) ) -- Juan On 13 May 2003, Juan Reyes wrote: > > > > I tried to find the `xcm' script file and not found it! so I have some > > questions? > > > > If the Xcm script doesn't work (or if you can't find it) you should try > the cm script under Xemacs it works very well for under Clisp, ACL \& > cmucl. Of course as an inferior Lisp process in a different frame and > all the key bindings documented in the CM distribution. > > __* Juan > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From ljure at multitel.com.uy Tue May 13 16:09:22 2003 From: ljure at multitel.com.uy (luis jure) Date: Tue, 13 May 2003 20:09:22 -0300 Subject: [CM] Timeline of CLM/CM development In-Reply-To: <200305131144.EAA01219@cmn14.stanford.edu> References: <200305131144.EAA01219@cmn14.stanford.edu> Message-ID: <20030513200922.15ab2b13.ljure@multitel.com.uy> el Tue, 13 May 2003 04:44:01 -0700 Bill Schottstaedt escribi?: > Music (PDP-6 and PDP-10, written in FAIL and Fortran by David Poole, > Leland Smith, and Tovar) in the late '60s. bill, would you please be so kind to finally unveil the mystery of who or what is/was "tovar". is it a name? an acronym? a pseudonym? is it a person, an institution, a construct, a myth? this name has mystified me for years... best, lj From afc_asti at allmail.net Mon May 19 07:57:42 2003 From: afc_asti at allmail.net (andres f. castiblanco v.) Date: Mon, 19 May 2003 09:57:42 -0500 Subject: [CM] Some CM bugs? Message-ID: Hello! When trying to do the examples of chapter10 (just to check), some errors appeared: 1-'keynum' function didn?t work with lists (just with 'individual' symbols): [14]> (keynum 440 :hz) 69.0 [15]> (keynum '(440 550 660) :hz) (440 550 660) [16]> (keynum '(440 550 660)) (440 550 660) [17]> (keynum '(440 550 660) :hertz) (440 550 660) 2-The same, this time with 'note': [33]> (note '(69 71 72)) (A4 B4 C5) [34]> (note '(220 440 660) :hz) *** - No note for keynum 220 in #. 1. Break [35]> (note '(220 440 660)) *** - No note for keynum 220 in #. I don?t know if this is because of a 'clisp' interpreter (maybe the examples are just for Guile?) -- kasti !-) From juanig at ccrma.Stanford.EDU Mon May 19 11:08:39 2003 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: 19 May 2003 11:08:39 -0700 Subject: [CM] Some CM bugs? In-Reply-To: References: Message-ID: <1053367720.25527.11.camel@cmn50.Stanford.EDU> I think that you need to "mapcar" the frequency values inside the list because the keynum function takes only one argument &rest options. For example: CM(3): (keynum 440 :hz) 69.0 The same with the note function: CM(12): (note 440 :hz) A4 CM(13): (note 60) C4 CM(14): You can find about the arguments of a function by using the apropos function like: (apropos 'keynum) --* Juan On Mon, 2003-05-19 at 07:57, andres f. castiblanco v. wrote: > > When trying to do the examples of chapter10 (just to check), some errors appeared: > > 1-'keynum' function didn?t work with lists (just with 'individual' symbols): > > [14]> (keynum 440 :hz) > 69.0 > [15]> (keynum '(440 550 660) :hz) > (440 550 660) > [16]> (keynum '(440 550 660)) > (440 550 660) > [17]> (keynum '(440 550 660) :hertz) > (440 550 660) > > 2-The same, this time with 'note': > > [33]> (note '(69 71 72)) > (A4 B4 C5) > [34]> (note '(220 440 660) :hz) > From taube at uiuc.edu Thu May 22 05:11:38 2003 From: taube at uiuc.edu (Rick Taube) Date: Thu, 22 May 2003 07:11:38 -0500 Subject: [CM] new cm-2.4.0 tarfile available Message-ID: <89F52250-8C4E-11D7-8942-000A95674CE4@uiuc.edu> Ive updated the cm-2.4.0 tarfile at ccrma: ftp://ftp-ccrma.stanford.edu/pub/Lisp/cm/sources/cm-2.4.0.tar.gz The new tarfile includes the ability to send event output to arbitrary Lisp streams (see below) and reimplments the 'import-events' function for midi files. My next step is to rebuild the commonmusic cvs site at sourceforge and to upload everthing there. Im also looking at midishare as a cross platform solution to direct midi io in common music. anyone want to help? :) here are the details of the new tarfile: ------------------------------------------------------------------------ ---- Features and bug fixes in cm-2.4.0: o event output can now be sent to arbitrary streams in additin to files. All of the io classes that handle input/output have been renamed '-stream' to reflect this new generalization: sco-file -> sco-stream clm-file -> clm-stream audio-file -> clm-audio-file midi-file -> midi-stream cmn-file -> cmn-stream To output to a file just specify the filename as before. To output events to an arbitrary stream, create the event stream and use its :stream argument to pass it your Lisp stream destination. For example, to send CSound events to stdout: (define out (new sco-stream :stream *standard-output*)) (events (blur) out :header whatever) Note that some Lisp implementations provide special functions for specialized output to pipes and streams. For example in CLISP you can used the 'make-pipe-output-stream'. to pipe your output to some app: (define out (new sco-stream :stream (make-pipe-output ...))) All of cm's event streams classes now have a new 'mime-type' property that is (currently) unused. o import-events for midi-streams has been completely reimplemented * tempo changes in level1 midi files are now handled correctly. * track zero is always parsed for a 'tempo map'. * tempo maps are applied to all imported tracks in a level1 file. * tempo and tempo maps in the file can be overridden using the new :tempo arg to import-events. * :time-format for importing is now either :beats or :ticks. The default is :beats, which causes tempo scaleing. If :ticks are specified then time values are imported using the raw tick values in the file. * the :note-type arg has been renamed :keynum-format and allows :hertz in addition to :keynum or :note. o function 'fm-spectrum' added to the sources (see chapter 23) o new function 'scale-order' puts a list of notes/keynums in some canonical order: (scale-order list [type] [unique?]) List is the list to order. Type is a keyword that specifies how the list is ordered, Possible values are :up :down or :random The default value is :up. If unique? is true then the list returned by scale-order will contain only unique frequency values. o CM's src/ subdirectory has TAGS file for searching using meta-. in Xemacs. Type: M-x visit tags file Then use M-. To view the cm sorces for a function or symbol at point. BUG FIXES: o 'keynum' and 'note' now correctly handle Lists of hertz values, o the 'with' operator in 'process' is now macroexpanded correctly. From taube at uiuc.edu Thu May 22 06:39:31 2003 From: taube at uiuc.edu (Rick Taube) Date: Thu, 22 May 2003 08:39:31 -0500 Subject: [CM] new cm-2.4.0 tarfile available/install help In-Reply-To: <2121502371.1053606975884.JavaMail.osg@spnode41> Message-ID: > I have used clm and ATSH with clisp and > cna you give me a rundown or a link to get started with an install and > some initial tests? sure, happy too. If you really want to get work done, do the following: 1 First, on OSX dont use clisp (unless you really love it) use OpenMCL. OpenMCL is free, has a great compiler, ffi and is very fast. would recommend that you install the binary version, ie don't try to build it from sources. You can get OpenMCL from http://openmcl.clozure.com/ 2. Get and install the latest OSX binary release of XEmacs from the Fink Project. There maybe several steps to this, depending on what you already have installed on your OSX machine: a) If you dont have Fink installed already you need to do that first: http://fink.sourceforge.net/download/index.php b) Next install Apple's X11 server: http://www.apple.com/macosx/x11/download/ after you install it you probably want to put a script in your Startup folder that launches X11 everytime you login. c) You might want to intall Apple's Developer Tools as well: http://developer.apple.com/tools/index.html This is 700+ megabytes, CM uses exactly one file from it :) d) Install Xemacs from Fink with all of Xemacs' pacakges -- don't try to save disk space with emacs, its pointless. Here is a url to the Fink "sumo" install: http://fink.sourceforge.net/pdb/package.php/xemacs-sumo-pkg 3 Get the latest CLM and CM sources from CCRMA's ftp server and install somewhere. I would recommend that you keep your binary files and your source files seperate. For example on my machine I have a top-level Lisp directory, and then have a bin/, adm/, clm-2/ and cm/ subdirectories under that: /Lisp/adm/ /Lisp/bin/cm-2.4.0/ /Lisp/bin/clm-2/ /Lisp/clm-2/ /Lisp/cm-2.4.0/ 4 Write a little script file "/Lisp/adm/makecm.lisp" or whatever that you can always use to build your image. This is what my makecm.lisp file looks like: (defparameter clm-directory "/Lisp/clm-2/") (defparameter cm-src-directory "/Lisp/cm-2.4.0/src/") (defparameter clm-bin-directory "/Lisp/bin/clm-2/openmcl/") (defparameter cm-bin-directory "/Lisp/bin/cm-2.4.0/openmcl/") (load (concatenate 'string clm-directory "all.lisp")) (load (concatenate 'string cm-src-directory "cm.lisp")) 5. Start up OPENMCL and the load your 'makecm.lisp' file. This will compile and load CLM and CM together. This is what I do on my machine: hkt at pinhead:/Lisp [76]% openmcl Welcome to OpenMCL Version (Beta: Darwin) 0.13.2! ? (load "/Lisp/adm/makecm.lisp") [... lots of compler messages ...] 6. When the load is done, quit and restart Lisp, then load your makecm.lisp script again: [...] ? (quit) hkt at pinhead:/Lisp [76]% openmcl Welcome to OpenMCL Version (Beta: Darwin) 0.13.2! ? (load "/Lisp/adm/makecm.lisp") [...] ; Saving startup script: "/Lisp/bin/cm-2.4.0/openmcl/cm" ; Saving Xemacs startup script: "/Lisp/bin/cm-2.4.0/openmcl/xcm" hkt at pinhead:/Lisp [79]% Thats it. you now have an xcm script in your cm binary directory. Use it to start up CLM+CM under Xemacs with a spiffy Lisp menu and a dedicated Lisp Listener window. see, what could be simpler? From taube at uiuc.edu Thu May 22 06:57:56 2003 From: taube at uiuc.edu (Rick Taube) Date: Thu, 22 May 2003 08:57:56 -0500 Subject: [CM] new cm-2.4.0 tarfile available/install help In-Reply-To: Message-ID: <63F654E6-8C5D-11D7-8960-000A95674CE4@uiuc.edu> oh i almost forgot. if you do like clisp, then tobias kunze has nice shell script that starts cm under clisp for you. it will even download the sources from ccrma and build the image if you tell it too. http://www.fictive.com/~tkunze/tdb/index.html maybe once ive got the cvs sources installed at sorceforge someone with shell chops could make this script work for any lisp From rm at fabula.de Thu May 22 08:21:03 2003 From: rm at fabula.de (rm at fabula.de) Date: Thu, 22 May 2003 17:21:03 +0200 Subject: [CM] new cm-2.4.0 tarfile available/install help In-Reply-To: <63F654E6-8C5D-11D7-8960-000A95674CE4@uiuc.edu> References: <63F654E6-8C5D-11D7-8960-000A95674CE4@uiuc.edu> Message-ID: <20030522152103.GC10797@www> On Thu, May 22, 2003 at 08:57:56AM -0500, Rick Taube wrote: > oh i almost forgot. if you do like clisp, then tobias kunze has nice > shell script that starts cm under clisp for you. it will even download > the sources from ccrma and build the image if you tell it too. Nice (but slightly scarry) script ;-) But you need to change the URL for the cm sources (scripts looks for 'cm.tar.gz'). Maybe you need to add a link to that on the ftp server (or, the old-fashioned way, have a 'cm-current.tar.gz' link). hth Ralf Mattes > http://www.fictive.com/~tkunze/tdb/index.html > > maybe once ive got the cvs sources installed at sorceforge someone with > shell chops could make this script work for any lisp > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Thu May 22 07:21:56 2003 From: taube at uiuc.edu (Rick Taube) Date: Thu, 22 May 2003 09:21:56 -0500 Subject: [CM] new cm-2.4.0 tarfile available/install help In-Reply-To: <20030522152103.GC10797@www> Message-ID: once the sourceforge account is set up again ill always make sure there is a 'cm-latest.tar.gz' link. On Thursday, May 22, 2003, at 10:21 America/Chicago, rm at fabula.de wrote: > On Thu, May 22, 2003 at 08:57:56AM -0500, Rick Taube wrote: >> oh i almost forgot. if you do like clisp, then tobias kunze has nice >> shell script that starts cm under clisp for you. it will even download >> the sources from ccrma and build the image if you tell it too. > > Nice (but slightly scarry) script ;-) > But you need to change the URL for the cm sources (scripts looks > for 'cm.tar.gz'). Maybe you need to add a link to that on the > ftp server (or, the old-fashioned way, have a 'cm-current.tar.gz' > link). > > > hth > > Ralf Mattes > >> http://www.fictive.com/~tkunze/tdb/index.html >> >> maybe once ive got the cvs sources installed at sorceforge someone >> with >> shell chops could make this script work for any lisp >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From rm at fabula.de Thu May 22 10:29:30 2003 From: rm at fabula.de (rm at fabula.de) Date: Thu, 22 May 2003 19:29:30 +0200 Subject: [CM] new cm-2.4.0 tarfile available/install help In-Reply-To: References: <20030522152103.GC10797@www> Message-ID: <20030522172930.GE10797@www> On Thu, May 22, 2003 at 09:21:56AM -0500, Rick Taube wrote: > once the sourceforge account is set up again ill always make sure there > is a 'cm-latest.tar.gz' link. On a slightly off-topic issue: any reason not to put the project on savannah.gnu.org? Esp. since your program is GPLed. Since it's such a pain to move projects anyway i personally find savannah a more secure haven (one never knows what happens when sourceforge runs out of money or gets swallowed by one of the big ones). Ralf Mattes From t at fictive.com Thu May 22 12:35:44 2003 From: t at fictive.com (Tobias Kunze =?ISO-8859-1?Q?Brise=F1o?=) Date: Thu, 22 May 2003 21:35:44 +0200 Subject: [CM] new cm-2.4.0 tarfile available/install help In-Reply-To: <20030522152103.GC10797@www> References: <63F654E6-8C5D-11D7-8960-000A95674CE4@uiuc.edu> <20030522152103.GC10797@www> Message-ID: <20030522213544.050eb9ce.t@fictive.com> > scripts looks for 'cm.tar.gz' not really, it _looks_ for an image in a generic 'cm' directory if you don't pass in a version option (so you can have a 'default' version), and will also _build_ in this tree if necessary, but it won't _fetch_ a generic archive just yet (rick promised to maintain a 'cm-newest' link on the ftp server once he's got a minute of free time). From bil at ccrma.Stanford.EDU Thu May 29 04:30:19 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 29 May 2003 04:30:19 -0700 Subject: [CM] snd 6.9 Message-ID: <200305291130.EAA21463@cmn14.stanford.edu> Snd 6.9: Snd-as-CLM-related changes (instruments and with-sound): added definstrument as a synonym for define* for CM linkages, and to make it more obvious which functions can only run within with-sound. changed most instruments to use definstrument and to expect with-sound as the context (outa, locsig in place of mix-vct etc). Changed: pluck, fm-violin, maraca(s), jc-reverb, fm-bell, singer, stereo-flute, fofins, bow (strad.scm), pqw-vox, fm-noise, chain-dsps, freeverb, vox, p (piano), bird, bigbird, bowstr (was "bow"), brass, flute, clarinet, plucky added clm-ins.scm with bes-fm (from bessel.lisp), fm-trumpet (trp.ins), fm-insect (insect.ins), fm-drum and gong (fmex.ins), attract (clm.html), pqw (pqw.ins), tubebell, wurley, Rhodey, hammondoid, and metal (prc96.ins), nrev (nrev.ins), drone (drone.ins), canter (canter.ins), reson (reson.ins), cellon (cellon.ins), jl-reverb (jlrev.ins), gran-synth, touch-tone, two-tab, and spectra (ugex.ins), lbj-piano (lbjPiano.ins), resflt (resflt.ins), scratch (ug1.ins), pins (san.ins), zd, zn, and za (zd.ins), exp-snd (expsnd.ins), expfil (expfil.ins), graphEq (grapheq.ins), anoi (anoi.ins) removed pqwvox.scm, flute.scm, bell.scm -- these instruments are now in clm-ins.scm. added with-marked-sound in ws.scm showing one way to annotate each note. added make-variable-display in snd-motif.scm: this is intended as a way to display arbitrary signal points in an algorithm (instrument) as it is running, displaying the values in a variety of formats (scale, graph, meter, text, spectrum). channel-data added to give access to the in-core buffers. The graphs are legit Snd-channel graphs which respond to all the standard functions such as show-transform-peaks. To make this prettier, I also added x-axis-label along the lines of foreground-color et al. added optional arg size added to make-table-lookup, make-wave-train, make-waveshape. env.scm: min-envelope, envelope-exp (env.lisp) added samples field to header editor dialog, data-size variable (in case you are stuck with an AIFF file with a bogus data size field). added after-save-state-hook so that Scheme/Ruby code can also save state -- used primarily by remember-sound-state in extensions.scm. added more IIR filters to dsp.scm, including arbitrary (even) order Butterworths, hum eliminator made a change to "or" hooks -- all the functions on the hook list are now run, but if any one of them returns non-#f, that value (or the last such value) is returned by the hook invocation. added mix-click-hook mix-property (mix.scm) mix-click-sets-amp (mix.scm) mark-property (marks.scm) mark-click-info (marks.scm) mix-drag-hook continuation? removed --with-html configure choice, and all the XmHTML/gtkembedmoz code. The following X resources were removed since they have no use: htmlWidth, htmlHeight, htmlFontSizeList, htmlFixedFontSizeList. snd6.scm has the function with-html to get the equivalent of the old Help menu action. added html-program which currently can be netscape or mozilla. added optional begin-time arg to make-mix-sample-reader. removed mus_sound_seek and mus_file_seek (snd6.scm has a replacement for mus-sound-seek) mus_header_aiff_p, mus_sound_aiff_p (use header-type = MUS_AIFF), mus_header_set_aiff_loop_info (use ...full_loop...) mus_sound_finalize (a no-op for years) removed gm.scm (replaced by gobs of filters in dsp.scm) added png files needed by fm.html (inadvertently omitted earlier) property-changed-hook -> window-property-changed-hook (previous name was ambiguous). added add-text-to-status-area in snd-motif.scm for -notebook. It might be nice to put Dave Phillip's icon bar in this area. realloc support in sndlib for MacOS thanks to Michael Klingbeil. rt.lisp now works in cmucl thanks to Michael Scholz. checked: gtkglext-0.99(.1) and 1.0.0. with much help from: Michael Scholz, Michael Klingbeil, Fernando Lopez-Lezcano, Pat Pagano From aasman at xs4all.nl Thu May 29 08:40:32 2003 From: aasman at xs4all.nl (Jans Aasman) Date: Thu, 29 May 2003 16:40:32 +0100 Subject: [CM] newbie question Message-ID: <003e01c325f8$a482d2a0$3203a8c0@bighome1> Hi, I downloaded CMN and got it to compile without problems on a windows 2000 machine with ACL 6.2 (ansi version). I ran the examples in the file "cmntest.lisp" and none of the examples returned any error message BUT there is also no output. I tried to set *cmn-output-type* to :postscript (and quickdraw) but didn't get the file "aaa.eps" anywhere on my system... browsing through the source code i think that the problem is somewhere in the cmn-grfx.lisp file, i didn't see a #+(and ....) combination that would do something for acl6.2. If I look at the file cmn-all.lisp I see that :windoze is added to the *features* list so that might give someone the impression that software on windows is supported, alas, probably not for acl ... i'm a complete newbie with respect to the foreign function interface so it would be great if anyone of you already solved this problem for acl6.2, greetings, Jans Aasman From bil at ccrma.Stanford.EDU Fri May 30 04:58:14 2003 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 30 May 2003 04:58:14 -0700 Subject: [CM] newbie question In-Reply-To: <003e01c325f8$a482d2a0$3203a8c0@bighome1> References: <003e01c325f8$a482d2a0$3203a8c0@bighome1> Message-ID: <200305301158.EAA22794@cmn14.stanford.edu> > I ran the examples in the file "cmntest.lisp" and none of the examples > returned any error message BUT there is also no output. cmntest assumes it can send its output to the X server, so it won't work in windows unless you change the line (setf *cmn-output-type* :x) Did you try a simple example like (cmn treble c4 q) I don't think cmn on windows uses the ffi at all, so it should work in any lisp. If you do need the ffi, you'll have to send me info about acl 6.2 -- every version of acl is incompatible in this regard. From dlphilp at bright.net Fri May 30 05:57:01 2003 From: dlphilp at bright.net (Dave Phillips) Date: Fri, 30 May 2003 08:57:01 -0400 Subject: [CM] [OT] Linux Music & Sound Software site updated Message-ID: <3ED7551D.E1B988C9@bright.net> Greetings: As of May 30 2003 the Linux Music & Sound Applications sites have been updated. The site may be reached here: http://linux-sound.org (USA) Here: http://www.linuxsound.at (Europe) And here: http://linuxsound.jp (Japan) Best regards, == Dave Phillips The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm The Linux Soundapps Site at http://linux-sound.org