From bil at ccrma.Stanford.EDU Thu Apr 1 03:07:33 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 01 Apr 2004 03:07:33 -0800 Subject: [CM] Snd: removing a channel In-Reply-To: <20040330214757.GA11839@gaia.cc.gatech.edu> References: <20040330214757.GA11839@gaia.cc.gatech.edu> Message-ID: <406BF7F5.2030506@ccrma> One way to extract a group of channels and save them as a separate WAVE sound file is: (define* (extract-channels #:rest chans) ;; extract a list of channels from the current sound and save as test.snd: (extract-channels 0 2) (let ((snd (or (selected-sound) (car (sounds))))) (if (sound? snd) (begin (for-each (lambda (chan) (set! (selection-member? snd chan) #t) (set! (selection-position snd chan) 0) (set! (selection-frames snd chan) (frames snd chan))) chans) (save-selection "test.snd" :header-type mus-riff))))) To have this affect the current sound "in place", use the current sound's filename in place of "test.snd", then call update-sound. There are a lot more ways to do this sort of thing. From liston at cc.gatech.edu Sat Apr 3 12:41:33 2004 From: liston at cc.gatech.edu (Richard Liston) Date: Sat, 3 Apr 2004 15:41:33 -0500 Subject: [CM] Snd: removing a channel In-Reply-To: <406BF7F5.2030506@ccrma> References: <20040330214757.GA11839@gaia.cc.gatech.edu> <406BF7F5.2030506@ccrma> Message-ID: <20040403204133.GA20394@gaia.cc.gatech.edu> On 04/01/04, Bill Schottstaedt said: > One way to extract a group of channels and save them as a separate > WAVE sound file is: > > (define* (extract-channels #:rest chans) > ... Excellent - that does exactly what I need, thanks! I'm slowly building up my repertoire of primitive-procedures I'm familiar with so that I can construct functions like this myself. Richard From finnendahl at folkwang-hochschule.de Mon Apr 5 02:49:08 2004 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Mon, 5 Apr 2004 11:49:08 +0200 Subject: [CM] snd: xruns with alsa spdif device Message-ID: <20040405094908.GC1034@finnendahl.de> Hi, trying to transfer soundfiles from dat to computer using the optical spdif input of an alsa supported terratec soundcard I get very sluggish behaviour of snd and lots of xruns. Using "arecord -D spdif -f cd " works fine without reporting any xruns, so I guess it's not the soundcard. I set SNDLIB_ALSA_CAPTURE_DEVICE to "spdif" (alsa's name for the spdif in pcm of the soundcard) before starting snd. Everything works as expected except for the abundant xruns. Do I miss something? -- Orm From bil at ccrma.Stanford.EDU Mon Apr 5 03:41:44 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 05 Apr 2004 03:41:44 -0700 Subject: [CM] snd 7.3 Message-ID: <407137E8.7080005@ccrma> Snd 7.3: libsamplerate and recording stuff for Jack, many other improvements thanks to Kjetil S. Matheussen replaced snd-motif.rb with snd-xm.rb, many other *.rb improvements thanks to Michael Scholz region-position and optional channel arg to region-frames as suggested by Matt Wright tempo-control-bounds, and all other such variables' global defaults can be set, including cursor-follows-play and the speed-control stuff -- this means you no longer have to use after-open-hook to set cursor-follows-play globally show-grid mus_optkey_* exported from sndlib and incorporated into Snd -- I can't decide how far to take this. def-optkey-fun in ws.scm edit function arg to mus_make_granulate -- called just before a grain is added into the output. removed Options:Speed Style menu fractional-fourier-transform and z-transform in dsp.scm C-_ deletes text in listener to previous command read|write-speex for Speex files and read|write-flac for FLAC files (examp.scm) make-font-selector-dialog and make-color-selector-dialog in snd-gtk.scm change-window-property is now a procedure-with-setter named window-property removed change-menu-label, menu-sensitive, recolor-widget audio output option added to display-scanned-synthesis the various dialog functions are more consistent: each returns the dialog widget where sensible each has a 'managed' argument added find-dialog, print-dialog name changes: file-dialog -> view-files-dialog region-dialog -> view-regions-dialog mix-dialog -> view-mixes-dialog track-dialog -> view-tracks-dialog edit-save-as-dialog -> save-selection-dialog file-save-as-dialog -> save-sound-dialog in CLM: added clm-swap-ints and clm-swap-doubles (Juan Pampin), and a subsequent bugfix thanks to Pierre Klanac. in CMN: an MCL #_DrawChar bugfix thanks to Pierre Klanac. CMN works now in SBCL on the Sun and in OSX 10.3. checked: gtk 2.3.4, gtk 2.3.5, gtk 2.3.6, gtkglext 1.0.6, gtk 2.4.0, clisp 2.33, sbcl 0.8.8. with much help from Ludger Brummer, Kjetil S. Matheussen, Juan Pampin, Fernando Lopez-Lezcano, Michael Scholz, Pierre Klanac, Matt Wright. Richard Liston, Juan Reyes, Bret Battey, James Ravan, Joakim Sandgren Adam Tinsdale From rm at fabula.de Mon Apr 5 07:56:41 2004 From: rm at fabula.de (rm at fabula.de) Date: Mon, 5 Apr 2004 16:56:41 +0200 Subject: [CM] snd: xruns with alsa spdif device In-Reply-To: <20040405094908.GC1034@finnendahl.de> References: <20040405094908.GC1034@finnendahl.de> Message-ID: <20040405145641.GE29187@www> On Mon, Apr 05, 2004 at 11:49:08AM +0200, Orm Finnendahl wrote: > Hi, > > trying to transfer soundfiles from dat to computer using the optical > spdif input of an alsa supported terratec soundcard I get very > sluggish behaviour of snd and lots of xruns. Using "arecord -D spdif > -f cd " works fine without reporting any xruns, so I guess > it's not the soundcard. > > I set SNDLIB_ALSA_CAPTURE_DEVICE to "spdif" (alsa's name for the spdif > in pcm of the soundcard) before starting snd. Everything works as > expected except for the abundant xruns. Do I miss something? Hmm, this might easily be the result of trying to use a graphical application vs. a commandline tool. AFAIK xruns are seldom introduced by the soundcard, most likely there are processes that force context switches which kill good scheduler behavior. What Kernel version (and patches) are you running (and: on what kind of hardware?). Ralf Mattes > -- > Orm > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From mpm at alumni.caltech.edu Mon Apr 5 08:26:45 2004 From: mpm at alumni.caltech.edu (Michael Mossey) Date: Mon, 5 Apr 2004 08:26:45 -0700 Subject: [CM] looking for documentation for beginner References: <20040405094908.GC1034@finnendahl.de> Message-ID: <001201c41b22$681ac780$6401a8c0@BabyPenguin> Hi, I'm new to CM. For documentation, I've found the Common Music Dictionary, and a couple online references to Common Lisp. I'm still confused on a lot of points. The example CM code uses "define", "new", and passes a lot of arguments via :of. None of these are explained in either the Common Music Dictionary or the Common Lisp sources. They seem to be idioms specific to CM, but where are they documented? Second question: does CLM work under the combination CLISP/Win XP? Regards, Mike From taube at uiuc.edu Mon Apr 5 09:46:44 2004 From: taube at uiuc.edu (Rick Taube) Date: Mon, 5 Apr 2004 11:46:44 -0500 Subject: [CM] looking for documentation for beginner In-Reply-To: <001201c41b22$681ac780$6401a8c0@BabyPenguin> References: <20040405094908.GC1034@finnendahl.de> <001201c41b22$681ac780$6401a8c0@BabyPenguin> Message-ID: CM runs in scheme (Guile) and Common Lisp. When you build CM in Common Lisp it defines common scheme operators so that you can write musical programs that will run in any port of CM, regardless of what Lisp implementation you happen to be using that day. Of course, I could have defined Common Lisp operators in scheme but I chose the reverse becuase (in my opinion...) Scheme's names are more consistent and easier to learn and teach. New is documented here: http://commonmusic.sourceforge.net/doc/dict/index.html it does appear that :of is missing from the dictionary and Ill fix that in the next release , sorry! :of is a keyword argument for patterns, its the argument that introduces the data to put in the pattern: (new cycle :of '(a b c d e)) (new heap :of '(a b c d e)) > Hi, I'm new to CM. For documentation, I've found the Common Music > Dictionary, and a couple online references to Common Lisp. I'm still > confused on a lot of points. The example CM code uses "define", > "new", and > passes a lot of arguments via :of. None of these are explained in > either > the Common Music Dictionary or the Common Lisp sources. They seem to be > idioms specific to CM, but where are they documented? > > Second question: does CLM work under the combination CLISP/Win XP? > > Regards, > Mike > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From mpm at alumni.caltech.edu Mon Apr 5 10:07:34 2004 From: mpm at alumni.caltech.edu (Michael Mossey) Date: Mon, 5 Apr 2004 10:07:34 -0700 Subject: [CM] looking for documentation for beginner References: <20040405094908.GC1034@finnendahl.de> <001201c41b22$681ac780$6401a8c0@BabyPenguin> Message-ID: <002201c41b30$7ed1b7f0$6401a8c0@BabyPenguin> Hi, thanks Rick. Another question: a class like heap is documented in the dictionary. There it gives a list of slots, and it mentions only :state. Then in the example code, it uses :notes. So I feel like I'm missing something. What all slots does heap use, or any of the pattern classes for that matter? Are they all inherited from a superclass? Where is the superclass documented? Where could I find general documentation on the object system that Common Music uses? The Common Lisp documentation I've found doesn't seem to directly apply, and it's a technical spec anyway. Should I look up Scheme documentation for objects? Where could I find an introduction that uses examples (rather than defining the language in abstract terms)? Regards, Mike ----- Original Message ----- From: "Rick Taube" To: "Michael Mossey" Cc: "CMdist Mail" Sent: Monday, April 05, 2004 9:46 AM Subject: Re: [CM] looking for documentation for beginner > CM runs in scheme (Guile) and Common Lisp. When you build CM in Common > Lisp it defines common scheme operators so that you can write musical > programs that will run in any port of CM, regardless of what Lisp > implementation you happen to be using that day. Of course, I could have > defined Common Lisp operators in scheme but I chose the reverse becuase > (in my opinion...) Scheme's names are more consistent and easier to > learn and teach. > > New is documented here: > > http://commonmusic.sourceforge.net/doc/dict/index.html > > it does appear that :of is missing from the dictionary and Ill fix that > in the next release , sorry! > :of is a keyword argument for patterns, its the argument that > introduces the data to put in the pattern: > > (new cycle :of '(a b c d e)) > (new heap :of '(a b c d e)) > > > Hi, I'm new to CM. For documentation, I've found the Common Music > > Dictionary, and a couple online references to Common Lisp. I'm still > > confused on a lot of points. The example CM code uses "define", > > "new", and > > passes a lot of arguments via :of. None of these are explained in > > either > > the Common Music Dictionary or the Common Lisp sources. They seem to be > > idioms specific to CM, but where are they documented? > > > > Second question: does CLM work under the combination CLISP/Win XP? > > > > Regards, > > Mike > > > > > > _______________________________________________ > > 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 taube at uiuc.edu Mon Apr 5 11:14:11 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Mon, 5 Apr 2004 13:14:11 -0500 Subject: [CM] looking for documentation for beginner Message-ID: I'm sorry, I can see I need to add a patterns "topic" entry to the dictionary. At one point I had an html overview -- Ill find and update it and add it back in. All this information can be found in the patterns chapter of Notes from the Metallevel but unfortunately I have not had the time to move the specifics into the dictionary yet. So until I can do this Im afraid tthe best way to really see what is available is to look at the source code: either cm/src/patterns.scm or cm/src/pattens.lisp depending on what lisp you use. Since the .lisp version is autogenerated from the scheme soruces you will only find my commnets (such as they are...) in the .scm version of CM's soruces. f For documentation of the object system(s) look at the CLOS chapter in the Common Lisp spec (its online somewhere) or the GOOPS chapter in the Guile scheme manual. the :notes and :keynums pattern inits are both "synonyms" for :of except that they coerce their data into note names and key numbers, respectively. the superclass of all pattern classes is 'pattern' From solar at udlug.org Mon Apr 5 21:14:35 2004 From: solar at udlug.org (Brian) Date: Tue, 6 Apr 2004 00:14:35 -0400 (EDT) Subject: [CM] definstrument (warning: newbie) In-Reply-To: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> Message-ID: hello, i hope someone has a second to help a clueless clm newbie. i'm using Planet CCRMA's full distribution on Fedora Core 1. after getting everything installed, i'm excited to dive into learning clm (cm-cmucl), but i'm stuck at the beginning of the manual on the first example which uses definstrument. i've pasted the error below. since i'm also new to common lisp, i can't even begin to infer what the problem might be. (note: the example above in the manual, which uses "defun"), works fine...) any help, tips, or pointers to get me started debugging would be greatly appreciated! thanks, brian ------------------------------------------------------------------- CMU Common Lisp CVS snapshot 2003-12, running on dsl027-183-246.sfo1.dsl.speakeasy.net With core: /usr/lib/cmucl/lib/lisp.core Dumped on: Sun, 2003-11-30 06:00:10-08:00 on lorien.users.earthlink.net See for support information. Loaded subsystems: Python 1.1, target Intel x86 CLOS based on Gerd's PCL 2003/06/18 09:23:09 * (definstrument simp (start-time duration frequency amplitude) (multiple-value-bind (beg end) (times->samples start-time duration) (let ((s (make-oscil frequency))) (run (loop for i from beg below end do (outa i (* amplitude (oscil s)))))))) Error in function (:MACRO DEFINSTRUMENT): oops -- I can't find SIMP's lisp source file! [Condition of type SIMPLE-ERROR] Restarts: 0: [ABORT] Return to Top-Level. Debug (type H for help) ((:MACRO DEFINSTRUMENT) (DEFINSTRUMENT SIMP (START-TIME DURATION FREQUENCY AMPLITUDE) (MULTIPLE-VALUE-BIND # # #)) NIL) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: /usr/src/redhat/BUILD/clm-2/defins.lisp. 0] From mpm at alumni.caltech.edu Mon Apr 5 22:45:56 2004 From: mpm at alumni.caltech.edu (Michael Mossey) Date: Mon, 5 Apr 2004 22:45:56 -0700 Subject: [CM] what would be like Python dictionaries? References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> Message-ID: <001501c41b9a$6ea001b0$6401a8c0@BabyPenguin> I'm thinking of moving into Lisp to continue my algorithmic composition work. I've been working in Python. The Python dictionary is a very useful construct for assembling collections of keys and values---a kind of informal named structure. It doesn't require me to define it ahead of time. What would be the equivalent in Lisp? I'm thinking either property lists or hash tables. Property lists seem simpler than hash tables, but are there effecient methods for - asking if a certain property is in the property list? - looking up the value associated with a property? Regards, Mike From mpm at alumni.caltech.edu Tue Apr 6 01:11:37 2004 From: mpm at alumni.caltech.edu (Michael Mossey) Date: Tue, 6 Apr 2004 01:11:37 -0700 Subject: [CM] Common Lisp Music - for CLISP/ Win XP? References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> <001501c41b9a$6ea001b0$6401a8c0@BabyPenguin> Message-ID: <001f01c41bae$c8bdd500$6401a8c0@BabyPenguin> Does CLM work with CLISP and Windows XP? I'm getting an error - when it tries various shell commands to move and compile files, the OS gives a file not found error. when I type the same commands in a cmd window, they work. -Mike From bil at ccrma.Stanford.EDU Tue Apr 6 03:54:58 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 06 Apr 2004 03:54:58 -0700 Subject: [CM] definstrument (warning: newbie) In-Reply-To: References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> Message-ID: <40728C82.9050808@ccrma> > Error in function (:MACRO DEFINSTRUMENT): > oops -- I can't find SIMP's lisp source file! To force the 'run' macro to be fully expanded, anything using 'definstrument' has to be compiled, not just interpreted. I'll add something to the documentation about this since it has tripped several other people. From finnendahl at folkwang-hochschule.de Tue Apr 6 04:18:31 2004 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Tue, 6 Apr 2004 13:18:31 +0200 Subject: [CM] snd: xruns with alsa spdif device In-Reply-To: <20040405145641.GE29187@www> References: <20040405094908.GC1034@finnendahl.de> <20040405145641.GE29187@www> Message-ID: <20040406111831.GB1264@finnendahl.de> Am 05. April 2004, 16:56 Uhr (+0200) schrieb rm at fabula.de: > > Hmm, this might easily be the result of trying to use a graphical > application vs. a commandline tool. AFAIK xruns are seldom introduced > by the soundcard, most likely there are processes that force context > switches which kill good scheduler behavior. What Kernel version > (and patches) are you running (and: on what kind of hardware?). 2.4.20 on a 2.8 GHz P4. The machine is more than fast enough to record stereo and show snd's vu meters without any hickups. The problem is probably somewhere between alsa and snd's capture mechanism. -- Orm From rm at fabula.de Tue Apr 6 05:18:05 2004 From: rm at fabula.de (rm at fabula.de) Date: Tue, 6 Apr 2004 14:18:05 +0200 Subject: [CM] snd: xruns with alsa spdif device In-Reply-To: <20040406111831.GB1264@finnendahl.de> References: <20040405094908.GC1034@finnendahl.de> <20040405145641.GE29187@www> <20040406111831.GB1264@finnendahl.de> Message-ID: <20040406121805.GA1704@www> On Tue, Apr 06, 2004 at 01:18:31PM +0200, Orm Finnendahl wrote: > Am 05. April 2004, 16:56 Uhr (+0200) schrieb rm at fabula.de: > > > > Hmm, this might easily be the result of trying to use a graphical > > application vs. a commandline tool. AFAIK xruns are seldom introduced > > by the soundcard, most likely there are processes that force context > > switches which kill good scheduler behavior. What Kernel version > > (and patches) are you running (and: on what kind of hardware?). > > 2.4.20 on a 2.8 GHz P4. With the low-latency patches applied? > The machine is more than fast enough to record > stereo and show snd's vu meters without any hickups. Not neccessarily a question of processor speed. Your CPU will happily idle arround if the process scheduler decides to move to snd or whatever other process it might consider appropriate ... YM 0.02 Euro RalfD > The problem is > probably somewhere between alsa and snd's capture mechanism. > > -- > Orm > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Tue Apr 6 06:39:22 2004 From: taube at uiuc.edu (Rick Taube) Date: Tue, 6 Apr 2004 08:39:22 -0500 Subject: [CM] what would be like Python dictionaries? In-Reply-To: <001501c41b9a$6ea001b0$6401a8c0@BabyPenguin> References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> <001501c41b9a$6ea001b0$6401a8c0@BabyPenguin> Message-ID: property lists, association lists or hash tables are all reasonable choices for implementing dictionaries. if you have just a few definitions then plists are probably the easiest way to go. plists can be associated with particular symbols using 'get' and '(setf get)' or you can treat any list as a plist if you use 'getf'. however, testing for the existence of a property in a property list is a bit tricky because both 'get' and 'getf' return false in the case of a nil property value OR in the case where the property itself is undefined in the plist. but you can use 'member' to see if a property name appears in the list or not. > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Tue Apr 6 06:44:53 2004 From: taube at uiuc.edu (Rick Taube) Date: Tue, 6 Apr 2004 08:44:53 -0500 Subject: [CM] Common Lisp Music - for CLISP/ Win XP? In-Reply-To: <001f01c41bae$c8bdd500$6401a8c0@BabyPenguin> References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> <001501c41b9a$6ea001b0$6401a8c0@BabyPenguin> <001f01c41bae$c8bdd500$6401a8c0@BabyPenguin> Message-ID: <95538030-87D0-11D8-BCFC-000A95674CE4@uiuc.edu> I think you will find that windows xyz is the worst choice for working with clm or cm or probably even lisp (unless you can afford acl). rather that constantly fight this it would probably be easier in the long run if you just partition your disk and add an operating system to your boot up choices. On Apr 6, 2004, at 3:11 AM, Michael Mossey wrote: > Does CLM work with CLISP and Windows XP? I'm getting an error - when > it > tries various shell commands to move and compile files, the OS gives a > file > not found error. when I type the same commands in a cmd window, they > work. > > -Mike > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From jc at cowgar.com Tue Apr 6 08:38:03 2004 From: jc at cowgar.com (Jeremy Cowgar) Date: Tue, 06 Apr 2004 11:38:03 -0400 Subject: [CM] Common Lisp Music - for CLISP/ Win XP? In-Reply-To: <95538030-87D0-11D8-BCFC-000A95674CE4@uiuc.edu> References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> <001501c41b9a$6ea001b0$6401a8c0@BabyPenguin> <001f01c41bae$c8bdd500$6401a8c0@BabyPenguin> <95538030-87D0-11D8-BCFC-000A95674CE4@uiuc.edu> Message-ID: <7465995.1081251483@[192.168.8.22]> I've been working with it with no problems using cygwin. --On Tuesday, April 06, 2004 8:44 AM -0500 Rick Taube wrote: > I think you will find that windows xyz is the worst choice for working > with clm or cm or probably even lisp (unless you can afford acl). rather > that constantly fight this it would probably be easier in the long run if > you just partition your disk and add an operating system to your boot up > choices. > > > On Apr 6, 2004, at 3:11 AM, Michael Mossey wrote: > >> Does CLM work with CLISP and Windows XP? I'm getting an error - when >> it >> tries various shell commands to move and compile files, the OS gives a >> file >> not found error. when I type the same commands in a cmd window, they >> work. >> >> -Mike >> >> >> _______________________________________________ >> 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 bobcoyne at worldnet.att.net Tue Apr 6 09:28:26 2004 From: bobcoyne at worldnet.att.net (Bob Coyne) Date: Tue, 06 Apr 2004 12:28:26 -0400 Subject: [CM] what would be like Python dictionaries? In-Reply-To: References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> <001501c41b9a$6ea001b0$6401a8c0@BabyPenguin> Message-ID: <4072DAAA.1050905@worldnet.att.net> Get, getf, and gethash take a third default value for exactly this purpose. The default value is returned (rather than nil) when no such property is present. For example:. ;; Starting off, there's no property. It returns the default. (get :house :size :no-value) => :no-value ;; Now add the property with a value of nil. (setf (get :house :size) nil) ;; It now finds the (null) value of the property rather than returning default. (get :house :size :no-value) => nil Rick Taube wrote: > property lists, association lists or hash tables are all reasonable > choices for implementing dictionaries. if you have just a few > definitions then plists are probably the easiest way to go. plists can > be associated with particular symbols using 'get' and '(setf get)' or > you can treat any list as a plist if you use 'getf'. however, testing > for the existence of a property in a property list is a bit tricky > because both 'get' and 'getf' return false in the case of a nil > property value OR in the case where the property itself is undefined > in the plist. but you can use 'member' to see if a property name > appears in the list or not. > >> _______________________________________________ >> 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 mpm at alumni.caltech.edu Tue Apr 6 10:16:40 2004 From: mpm at alumni.caltech.edu (Michael Mossey) Date: Tue, 6 Apr 2004 10:16:40 -0700 Subject: [CM] Common Lisp Music - for CLISP/ Win XP? References: <20040405190003.18604.47890.Mailman@cm-mail.stanford.edu> <001501c41b9a$6ea001b0$6401a8c0@BabyPenguin> <001f01c41bae$c8bdd500$6401a8c0@BabyPenguin> <95538030-87D0-11D8-BCFC-000A95674CE4@uiuc.edu> <7465995.1081251483@[192.168.8.22]> Message-ID: <003701c41bfa$eee36370$6401a8c0@BabyPenguin> Thanks for the suggestions, everyone. I'm working on a laptop, and the hibernation feature of Windows is essential. I'm not sure if Linux Red Hat 9 can hibernate. I might try installing it, or I might use cygwin. Regards, Mike ----- Original Message ----- From: "Jeremy Cowgar" To: "Rick Taube" ; "Michael Mossey" Cc: "CMdist Mail" Sent: Tuesday, April 06, 2004 8:38 AM Subject: Re: [CM] Common Lisp Music - for CLISP/ Win XP? > I've been working with it with no problems using cygwin. > > --On Tuesday, April 06, 2004 8:44 AM -0500 Rick Taube > wrote: > > > I think you will find that windows xyz is the worst choice for working > > with clm or cm or probably even lisp (unless you can afford acl). rather > > that constantly fight this it would probably be easier in the long run if > > you just partition your disk and add an operating system to your boot up > > choices. > > > > > > On Apr 6, 2004, at 3:11 AM, Michael Mossey wrote: > > > >> Does CLM work with CLISP and Windows XP? I'm getting an error - when > >> it > >> tries various shell commands to move and compile files, the OS gives a > >> file > >> not found error. when I type the same commands in a cmd window, they > >> work. > >> > >> -Mike > >> > >> > >> _______________________________________________ > >> 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 jamesravan at comcast.net Tue Apr 6 10:34:38 2004 From: jamesravan at comcast.net (James Ravan) Date: Tue, 6 Apr 2004 13:34:38 -0400 Subject: [CM] Common Lisp Music - for CLISP/ Win XP? In-Reply-To: <003701c41bfa$eee36370$6401a8c0@BabyPenguin> Message-ID: <200404061734.i36HY0129381@cm-mail.stanford.edu> I think you can hibernate using ACPI under Linux, but I don't have any personal experience doing so. Does anyone have definitive information about laptops, ACPI, and Linux? -----Original Message----- From: cmdist-admin at ccrma.Stanford.EDU [mailto:cmdist-admin at ccrma.Stanford.EDU] On Behalf Of Michael Mossey Sent: Tuesday, April 06, 2004 1:17 PM To: CMdist Mail Subject: Re: [CM] Common Lisp Music - for CLISP/ Win XP? Thanks for the suggestions, everyone. I'm working on a laptop, and the hibernation feature of Windows is essential. I'm not sure if Linux Red Hat 9 can hibernate. I might try installing it, or I might use cygwin. Regards, Mike ----- Original Message ----- From: "Jeremy Cowgar" To: "Rick Taube" ; "Michael Mossey" Cc: "CMdist Mail" Sent: Tuesday, April 06, 2004 8:38 AM Subject: Re: [CM] Common Lisp Music - for CLISP/ Win XP? > I've been working with it with no problems using cygwin. > > --On Tuesday, April 06, 2004 8:44 AM -0500 Rick Taube > wrote: > > > I think you will find that windows xyz is the worst choice for working > > with clm or cm or probably even lisp (unless you can afford acl). rather > > that constantly fight this it would probably be easier in the long run if > > you just partition your disk and add an operating system to your boot up > > choices. > > > > > > On Apr 6, 2004, at 3:11 AM, Michael Mossey wrote: > > > >> Does CLM work with CLISP and Windows XP? I'm getting an error - when > >> it > >> tries various shell commands to move and compile files, the OS gives a > >> file > >> not found error. when I type the same commands in a cmd window, they > >> work. > >> > >> -Mike > >> > >> > >> _______________________________________________ > >> 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 > > > _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From t at fictive.com Tue Apr 6 15:01:13 2004 From: t at fictive.com (Tobias Kunze =?iso-8859-1?Q?Brise=F1o?=) Date: Wed, 7 Apr 2004 00:01:13 +0200 (CEST) Subject: [CM] Common Lisp Music - for CLISP/ Win XP? Message-ID: <1439.212.202.71.150.1081288873.squirrel@212.202.71.150> you can suspend to disk ("hibernate") via either APM or ACPI, depending on what your BIOS supports. ACPI http://www.linux-laptop.net/ has a massive amount on (very specific) information. > Does anyone have definitive information about > laptops, ACPI, and Linux? From taube at uiuc.edu Sat Apr 10 15:06:40 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 10 Apr 2004 12:06:40 -1000 Subject: [CM] Protected message Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Gift.pif Type: application/octet-stream Size: 21331 bytes Desc: not available URL: From taube at uiuc.edu Sat Apr 10 15:06:40 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 10 Apr 2004 12:06:40 -1000 Subject: [CM] Re: Incoming Fax Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ynkhivrvyo.bmp Type: image/bmp Size: 2358 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Encrypted.zip Type: application/octet-stream Size: 21882 bytes Desc: not available URL: From taube at uiuc.edu Sat Apr 10 15:06:40 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 10 Apr 2004 12:06:40 -1000 Subject: [CM] Encrypted document Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: emgjedgaqo.bmp Type: image/bmp Size: 2182 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pub_document.zip Type: application/octet-stream Size: 22788 bytes Desc: not available URL: From taube at uiuc.edu Sat Apr 10 15:06:40 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 10 Apr 2004 12:06:40 -1000 Subject: [CM] Re: Yahoo! Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: lceooxmsgy.bmp Type: image/bmp Size: 3594 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Message.zip Type: application/octet-stream Size: 22415 bytes Desc: not available URL: From gdweber at indiana.edu Sat Apr 10 16:58:32 2004 From: gdweber at indiana.edu (Gregory D. Weber) Date: Sat, 10 Apr 2004 19:58:32 -0400 Subject: [CM] looking for documentation for beginner In-Reply-To: <001201c41b22$681ac780$6401a8c0@BabyPenguin> References: <20040405094908.GC1034@finnendahl.de> <001201c41b22$681ac780$6401a8c0@BabyPenguin> Message-ID: <16504.35368.184270.958611@chopin.privatenet> Welcome! Besides the "Dictionary" there is also an examples directory containing a sort of tutorial, in the form of a commented example file, "intro.cm". On my Red Hat 8 installation, it's in /usr/share/common-lisp/source/cm/etc/examples. As a tutorial, it's fairly terse and sometimes cryptic, but does cover much of the essential ground. The "Dictionary" is handy to refer to, but -- well, scattered. There used to be a more organized "Common Music Reference Manual" with the following chapters or sections: Top Objects Processes IO Scales Data Patterns Plotter Utilities Index I got it with an earlier version of CM (2.3.4, I think) and, although some parts of it are obsolete, I still find it a useful reference. It explains CM systematically rather than a word at a time. It seems to be no longer available on the CM web site. If you like, I'll send you a copy. Michael Mossey writes: > Hi, I'm new to CM. For documentation, I've found the Common Music > Dictionary, and a couple online references to Common Lisp. I'm still > confused on a lot of points. The example CM code uses "define", "new", and > passes a lot of arguments via :of. None of these are explained in either > the Common Music Dictionary or the Common Lisp sources. They seem to be > idioms specific to CM, but where are they documented? > > Second question: does CLM work under the combination CLISP/Win XP? > > Regards, > Mike > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -- ASCII plain text is the document format that maximizes readability and minimizes hassle and hazard. It is the format of the official documents defining Internet protocols (http://www.rfc-editor.org/). Gregory D. Weber Associate Professor of Computer Science, Indiana University East 2325 Chester Boulevard, Richmond, Indiana 47374-1289, U.S.A. Telephone: (765) 973-8420 World-Wide Web http://mypage.iu.edu/~gdweber/ From bbattey at u.washington.edu Sun Apr 11 21:03:56 2004 From: bbattey at u.washington.edu (Bret Battey) Date: Sun, 11 Apr 2004 21:03:56 -0700 Subject: [CM] looking for documentation for beginner In-Reply-To: <16504.35368.184270.958611@chopin.privatenet> References: <20040405094908.GC1034@finnendahl.de> <001201c41b22$681ac780$6401a8c0@BabyPenguin> <16504.35368.184270.958611@chopin.privatenet> Message-ID: <6B6FB061-8C36-11D8-88F3-000A95C391C4@u.washington.edu> I'll echo that -- I found the reference manual, while it existed, to be very helpful for introducing the system and for problem-solving -- much more than the dictionary. It allowed one to approach CM from the 'what do I want to do and what are the atoms that help me get there' perspective -- i.e. start from the big picture and goals and move down towards the specifics. -=Bret On Apr 10, 2004, at 4:58 PM, Gregory D. Weber wrote: > The "Dictionary" is handy to refer to, but -- well, scattered. > There used to be a more organized "Common Music Reference Manual" > > I got it with an earlier version of CM (2.3.4, I think) and, although > some parts of it are obsolete, I still find it a useful reference. > It explains CM systematically rather than a word at a time. From taube at uiuc.edu Mon Apr 12 05:04:15 2004 From: taube at uiuc.edu (Rick Taube) Date: Mon, 12 Apr 2004 07:04:15 -0500 Subject: [CM] looking for documentation for beginner In-Reply-To: <16504.35368.184270.958611@chopin.privatenet> References: <20040405094908.GC1034@finnendahl.de> <001201c41b22$681ac780$6401a8c0@BabyPenguin> <16504.35368.184270.958611@chopin.privatenet> Message-ID: <84FBD0A2-8C79-11D8-B913-000A95674CE4@uiuc.edu> actually most of this got folded into the book in one form or another with examples and sound snippets added. But it would seem that cm needs to have topical overviews included in the dictionary to provide context for the entries themselves. > Objects > Processes > IO > Scales > Data > Patterns > Plotter > Utilities > Index > > I got it with an earlier version of CM (2.3.4, I think) and, although > some parts of it are obsolete, I still find it a useful reference. > It explains CM systematically rather than a word at a time. > It seems to be no longer available on the CM web site. If you like, > I'll send you a copy. > > Michael Mossey writes: >> Hi, I'm new to CM. For documentation, I've found the Common Music >> Dictionary, and a couple online references to Common Lisp. I'm still >> confused on a lot of points. The example CM code uses "define", >> "new", and >> passes a lot of arguments via :of. None of these are explained in >> either >> the Common Music Dictionary or the Common Lisp sources. They seem to >> be >> idioms specific to CM, but where are they documented? >> >> Second question: does CLM work under the combination CLISP/Win XP? >> >> Regards, >> Mike >> >> >> _______________________________________________ >> Cmdist mailing list >> Cmdist at ccrma.stanford.edu >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> > > -- > ASCII plain text is the document format that maximizes readability and > minimizes hassle and hazard. It is the format of the official > documents > defining Internet protocols (http://www.rfc-editor.org/). > > Gregory D. Weber > > Associate Professor of Computer Science, Indiana University East > 2325 Chester Boulevard, Richmond, Indiana 47374-1289, U.S.A. > Telephone: (765) 973-8420 World-Wide Web > http://mypage.iu.edu/~gdweber/ > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From fbar at footils.org Wed Apr 14 13:09:47 2004 From: fbar at footils.org (Frank Barknecht) Date: Wed, 14 Apr 2004 22:09:47 +0200 Subject: [CM] Problem building lates Gtk Snd / errors using Motif Snd Message-ID: <20040414200947.GA9229@fliwatut.scifi> Hallo, I could need a helping hand building the latest Snd (from 12-Apr 04) with Gtk. make fails at xg.c with this error: $ make gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -g -O2 xg.c xg.c:330: error: parse error before '*' token xg.c: In function `C_TO_XEN_GtkFileFilterInfo_': xg.c:330: error: `val' undeclared (first use in this function) xg.c:330: error: (Each undeclared identifier is reported only once xg.c:330: error: for each function it appears in.) xg.c: At top level: xg.c:330: error: parse error before '*' token xg.c: In function `XEN_TO_C_GtkFileFilterInfo_': xg.c:330: error: `GtkFileFilterInfo' undeclared (first use in this function) xg.c:330: error: parse error before ')' token xg.c:330: error: parse error before ')' token xg.c: At top level: xg.c:331: error: parse error before '*' token xg.c: In function `C_TO_XEN_GtkEntryCompletion_': xg.c:331: error: `val' undeclared (first use in this function) xg.c: At top level: xg.c:331: error: parse error before '*' token xg.c: In function `XEN_TO_C_GtkEntryCompletion_': xg.c:331: error: `GtkEntryCompletion' undeclared (first use in this function) xg.c:331: error: parse error before ')' token xg.c:331: error: parse error before ')' token make: *** [xg.o] Error 1 My configure line fro config.log is: $ ./configure --with-jack --with-alsa --with-esd=no --with-ladspa --without-ruby --with-guile --with-modules --with-editres --with-static-xm --with-gtk This is on a Debian unstable Linux box with the libgtk2.0 2.2.4-3 package. The Motif version build just fine, but I need to test the Gtk one as well. Problem 2: Using the Motif-Snd there also seem to be some problems with some .scm files, which I couldn't sort out yet. I normally use Kjetil's snd_conffile.scm. If Kjetil's file is active (loaded in ~/.snd) I can open files but as soon as I try to play, snd crashes with: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 20 (X_GetProperty) Resource id in failed request: 0xc0096f Serial number of failed request: 27860 Current serial number in output stream: 27860 or similar. (Using Dave Phillips' set works btw.) Any ideas about this problem? Ciao -- Frank Barknecht _ ______footils.org__ From bil at ccrma.Stanford.EDU Thu Apr 15 04:17:31 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 15 Apr 2004 04:17:31 -0700 Subject: [CM] Problem building lates Gtk Snd / errors using Motif Snd In-Reply-To: <20040414200947.GA9229@fliwatut.scifi> References: <20040414200947.GA9229@fliwatut.scifi> Message-ID: <407E6F4B.2050803@ccrma> > xg.c: In function `C_TO_XEN_GtkFileFilterInfo_': This was a bug in the makexg.scm script -- I think today's version is ok. > If Kjetil's file is active (loaded in ~/.snd) I can open files but as > soon as I try to play, snd crashes with: I'll check out the X problem later today, but snd_conffile.scm does tickle a Guile bug involving '#! !#' comments -- the CVS Guile is ok in this regard. From fbar at footils.org Thu Apr 15 08:44:30 2004 From: fbar at footils.org (Frank Barknecht) Date: Thu, 15 Apr 2004 17:44:30 +0200 Subject: [CM] Problem building lates Gtk Snd / errors using Motif Snd In-Reply-To: <407E6F4B.2050803@ccrma> References: <20040414200947.GA9229@fliwatut.scifi> <407E6F4B.2050803@ccrma> Message-ID: <20040415154430.GB22240@fliwatut.scifi> Hallo, Bill Schottstaedt hat gesagt: // Bill Schottstaedt wrote: > > xg.c: In function `C_TO_XEN_GtkFileFilterInfo_': > > This was a bug in the makexg.scm script -- I think today's > version is ok. > > > If Kjetil's file is active (loaded in ~/.snd) I can open files but as > > soon as I try to play, snd crashes with: > > I'll check out the X problem later today, but snd_conffile.scm > does tickle a Guile bug involving '#! !#' comments -- the CVS > Guile is ok in this regard. I tried it again with CVS from some minutes ago, built the Gtk version and voila: Not only did it compile, I also can use Kjetil's file again. Me very happy. ;) One small suggestion: I always need to "strip" the snd-binary by hand to get it from about 15M down to 3.6M filesize. It would be cool if that was done automatically. Now on to testing Jack recording... Ciao -- Frank Barknecht _ ______footils.org__ From fbar at footils.org Thu Apr 15 09:34:04 2004 From: fbar at footils.org (Frank Barknecht) Date: Thu, 15 Apr 2004 18:34:04 +0200 Subject: [CM] Changing the menu font in Gtk Snd Message-ID: <20040415163404.GA29449@fliwatut.scifi> Hallo, I thought this must be a FAQ, but I couldn't find anything about it in the list archives: How can I change the main font used in the menus of the Gtk version? I'd like to use a sans serif font there, as I don't like serifs on screens. I found and tries methods to change the other fonts like axis-label-font,... but not the menu and buttons font. Ciao -- Frank Barknecht _ ______footils.org__ From dlphilp at bright.net Thu Apr 15 10:16:53 2004 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 15 Apr 2004 13:16:53 -0400 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <20040415163404.GA29449@fliwatut.scifi> References: <20040415163404.GA29449@fliwatut.scifi> Message-ID: <407EC385.8090604@bright.net> Greetings: Wow, Frank's getting into Snd ! :) Try changing fonts in either ~/.snd or ~/Snd (or /usr/X11R6/lib/X11/app-defaults/Snd). Best, dp Frank Barknecht wrote: >Hallo, > >I thought this must be a FAQ, but I couldn't find anything about it in >the list archives: > > How can I change the main font used in the menus of the Gtk version? > I'd like to use a sans serif font there, as I don't like serifs on > screens. > >I found and tries methods to change the other fonts like >axis-label-font,... but not the menu and buttons font. > >Ciao > > From fbar at footils.org Thu Apr 15 09:53:55 2004 From: fbar at footils.org (Frank Barknecht) Date: Thu, 15 Apr 2004 18:53:55 +0200 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <407EC385.8090604@bright.net> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> Message-ID: <20040415165355.GB29449@fliwatut.scifi> Hallo, Dave Phillips hat gesagt: // Dave Phillips wrote: > Wow, Frank's getting into Snd ! :) There's this article wanting to be written... ;) But actually I always use Snd for sample editing, it's just, that I don't do much sample work normally. > Try changing fonts in either ~/.snd or ~/Snd (or > /usr/X11R6/lib/X11/app-defaults/Snd). I tried the Xresources now, but it seems, this doesn't affect the Gtk version. Redarding ~/.snd: I don't know what to write into this to change the menu font. Ciao -- Frank Barknecht _ ______footils.org__ From dlphilp at bright.net Fri Apr 16 04:29:48 2004 From: dlphilp at bright.net (Dave Phillips) Date: Fri, 16 Apr 2004 07:29:48 -0400 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <20040415165355.GB29449@fliwatut.scifi> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> Message-ID: <407FC3AC.4040402@bright.net> Hi Frank: Sorry, I assumed you were using the Motif build. However, I note that Kjetil's snd_conffig.scm is written for the Gtk version, maybe you'll find what you're looking for in there... (it's in the Snd-7 top tree)... Best, dp Frank Barknecht wrote: >Hallo, >Dave Phillips hat gesagt: // Dave Phillips wrote: > > > >> Wow, Frank's getting into Snd ! :) >> >> > >There's this article wanting to be written... ;) But actually I always >use Snd for sample editing, it's just, that I don't do much sample >work normally. > > > >> Try changing fonts in either ~/.snd or ~/Snd (or >>/usr/X11R6/lib/X11/app-defaults/Snd). >> >> > >I tried the Xresources now, but it seems, this doesn't affect the Gtk >version. Redarding ~/.snd: I don't know what to write into this to >change the menu font. > >Ciao > > From dlphilp at bright.net Fri Apr 16 04:47:39 2004 From: dlphilp at bright.net (Dave Phillips) Date: Fri, 16 Apr 2004 07:47:39 -0400 Subject: [CM] some Snd updating problems In-Reply-To: <20040415165355.GB29449@fliwatut.scifi> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> Message-ID: <407FC7DB.30407@bright.net> Hi Bill: I'm returning to Snd after a break from soundfile editors generally, and I'm running into some problems with menu labels and something else I don't understand at all. My menu label problem is related to the elimination of change-menu-label. What should I use to replace my use of it in instances such as these (from snd-7/dlp/special-menu.scm) : (define (yesenv!) (set! env-file #t) (change-menu-label special-menu yes-env-label no-env-label) (start-enveloping)) (define (noenv!) (set! env-file #f) (change-menu-label special-menu no-env-label yes-env-label) (stop-enveloping)) Or this one from the same file : (change-menu-label special-menu play-panned-label new-label) I'm also receiving this error at start-up : [07:35:21] skip_scsh_block_comment: misc-error: unterminated `#! ... !#' comment () #f #f: line #f ; (load ~/.snd) I'm trying to find the unterminated comment limiter but haven't found it yet (How do you grep for a character combination like !# ?)... I hope you've weathered the fierce California winter all right and that all is well with you these days. Best regards, Dave Phillips From bil at ccrma.Stanford.EDU Fri Apr 16 04:37:18 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 16 Apr 2004 04:37:18 -0700 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <20040415165355.GB29449@fliwatut.scifi> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> Message-ID: <407FC56E.2040002@ccrma> > I tried the Xresources now, but it seems, this doesn't affect the Gtk > version. Redarding ~/.snd: I don't know what to write into this to > change the menu font. Gtk has its own notion of a resource file, named (in this case) Snd.gtkrc. The default version is built-in, but you can edit it, although I've had reports that it has no effect (it works for me, so I've been unable to track down the problem). In your ~/.snd file you should be able to change the default fonts by setting the various font variables using Gtk font names ("Monospace 10" for example): (set! (axis-label-font) "Serif 14") There's a font-selection dialog in snd-gtk.scm -- it gives you a list of all the fonts it can find and a way to choose which Snd variable you want to apply the selected font to. Let me know if these fail -- the font/color handling in the Gtk version of Snd has been pessimal in the past, due to programmer exasperation, but I do want them to work reliably. From bil at ccrma.Stanford.EDU Fri Apr 16 04:41:15 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 16 Apr 2004 04:41:15 -0700 Subject: [CM] Problem building lates Gtk Snd / errors using Motif Snd In-Reply-To: <20040415154430.GB22240@fliwatut.scifi> References: <20040414200947.GA9229@fliwatut.scifi> <407E6F4B.2050803@ccrma> <20040415154430.GB22240@fliwatut.scifi> Message-ID: <407FC65B.10609@ccrma> > One small suggestion: I always need to "strip" the snd-binary by hand > to get it from about 15M down to 3.6M filesize. It would be cool if > that was done automatically. Now on to testing Jack recording... Doesn't "strip" make debugging more difficult? I could add an option for that to the make file, I guess -- will check. Jack recording in ALSA is problematic -- I can't find the note that Kjetil sent me, and my reminder is cryptic -- another thing to track down... From bil at ccrma.Stanford.EDU Fri Apr 16 04:47:24 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 16 Apr 2004 04:47:24 -0700 Subject: [CM] some Snd updating problems In-Reply-To: <407FC7DB.30407@bright.net> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC7DB.30407@bright.net> Message-ID: <407FC7CC.3030707@ccrma> > [07:35:21] skip_scsh_block_comment: misc-error: unterminated `#! ... !#' comment () #f #f: line #f > ; (load ~/.snd) If you're using snd_conffile.scm, Kjetil just sent me a fixed version and I incorporated it in the various Snd versions -- the problem is that in some modes Emacs can use \r\n rather than \n for newline, and that confused Guile -- the only way to tell (or rather the way I did) is to use od to look at the bytes of the file. Also, if the #! !# business is at the end of the file, be sure to include a trailing newline -- I complained about this bug years ago, but it's apparently a feature. > I hope you've weathered the fierce California winter all right We had some days where I saw a cloud in the sky -- I ran indoors to be safe. From bil at ccrma.Stanford.EDU Fri Apr 16 04:48:58 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 16 Apr 2004 04:48:58 -0700 Subject: [CM] some Snd updating problems In-Reply-To: <407FC7DB.30407@bright.net> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC7DB.30407@bright.net> Message-ID: <407FC82A.50309@ccrma> > My menu label problem is related to the elimination of change-menu-label. > What should I use to replace my use of it in instances such as these > (from snd-7/dlp/special-menu.scm) : Oh rats, I thought I had found all of these! I'll cobble up a replacement later today. From dlphilp at bright.net Fri Apr 16 08:14:02 2004 From: dlphilp at bright.net (Dave Phillips) Date: Fri, 16 Apr 2004 11:14:02 -0400 Subject: [CM] some Snd updating problems In-Reply-To: <407FC7CC.3030707@ccrma> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC7DB.30407@bright.net> <407FC7CC.3030707@ccrma> Message-ID: <407FF83A.7090701@bright.net> Bill Schottstaedt wrote: > > [07:35:21] skip_scsh_block_comment: misc-error: unterminated `#! > ... !#' comment () #f #f: line #f > > ; (load ~/.snd) > > If you're using snd_conffile.scm, Kjetil just sent me a fixed > version and I incorporated it in the various Snd versions -- > the problem is that in some modes Emacs can use \r\n rather > than \n for newline, and that confused Guile -- the only way > to tell (or rather the way I did) is to use od to look at the > bytes of the file. > > Also, if the #! !# business is at the end of the file, be sure > to include a trailing newline -- I complained about this bug > years ago, but it's apparently a feature. I'm using my misc.scm, everything there is okay (except for the change-menu-label thing), but the error occurs when I try to load Kjetil's ladspa.scm. I'm also receiving this error when loading snd-7/new-effects.scm : [08:46:39] XtSetValues: wrong-type-arg: Wrong type argument in position 1 (expecting "Widget"): 6 "/home/dlphilp/snd-7/new-effects.scm": line 168 ; menu callback func The line in question is : (define (change-label widget new-label) (let ((str (XmStringCreateLocalized new-label))) <--------- (XtSetValues widget (list XmNlabelString str)) (XmStringFree str))) > > > I hope you've weathered the fierce California winter all right > > We had some days where I saw a cloud in the sky -- I ran indoors > to be safe. LOL! I'm surprised it wasn't reported in the news here... Apparently the Midwest has a fascination with California weather... Best, dp From fbar at footils.org Fri Apr 16 09:58:31 2004 From: fbar at footils.org (Frank Barknecht) Date: Fri, 16 Apr 2004 18:58:31 +0200 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <407FC56E.2040002@ccrma> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC56E.2040002@ccrma> Message-ID: <20040416165831.GA5749@fliwatut.scifi> Hallo, Bill Schottstaedt hat gesagt: // Bill Schottstaedt wrote: > Gtk has its own notion of a resource file, named (in this case) Snd.gtkrc. > The default version is built-in, but you can edit it, although I've had > reports that it has no effect (it works for me, so I've been unable to > track down the problem). Ah, this is very wonderful, I didn't know this (obviously), but now found, that an example is included. This allows many cool customizations for Gtk-Snd users. And Snd easily can look just like my other Gtk-Applications for example using my standard theme with this as single line in Snd.gtkrc: # Just include whatever I use currently: include "/home/fbar/.gtkrc-2.0" Screenshot here: http://footils.org/images/snd-gtkrc.png > There's a font-selection dialog in snd-gtk.scm -- it gives you a list > of all the fonts it can find and a way to choose which Snd variable > you want to apply the selected font to. > > Let me know if these fail -- the font/color handling in the Gtk version > of Snd has been pessimal in the past, due to programmer exasperation, > but I do want them to work reliably. I had already tried the font select dialog from there, which worked but only allowed to change the fonts also mention in the docs, like axix fonts and so on, not the menu font. But the gtkrc is the Right Place(tm) to configure this anyway, as is Xdefaults for Motif. Ciao -- Frank Barknecht _ ______footils.org__ From fbar at footils.org Fri Apr 16 10:02:32 2004 From: fbar at footils.org (Frank Barknecht) Date: Fri, 16 Apr 2004 19:02:32 +0200 Subject: [CM] some Snd updating problems In-Reply-To: <407FF83A.7090701@bright.net> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC7DB.30407@bright.net> <407FC7CC.3030707@ccrma> <407FF83A.7090701@bright.net> Message-ID: <20040416170232.GB5749@fliwatut.scifi> Hallo, Dave Phillips hat gesagt: // Dave Phillips wrote: > Bill Schottstaedt wrote: > > >> [07:35:21] skip_scsh_block_comment: misc-error: unterminated `#! > >... !#' comment () #f #f: line #f > >> ; (load ~/.snd) > > > >If you're using snd_conffile.scm, Kjetil just sent me a fixed > >version and I incorporated it in the various Snd versions -- As a quick'n'dirty fix, you can also just comment out the offending regions the tradional way;;; which is, what I had done yesterday. > I'm using my misc.scm, everything there is okay (except for the > change-menu-label thing), but the error occurs when I try to load > Kjetil's ladspa.scm. Me, too. :( Ciao -- Frank Barknecht _ ______footils.org__ From fbar at footils.org Fri Apr 16 11:09:29 2004 From: fbar at footils.org (Frank Barknecht) Date: Fri, 16 Apr 2004 20:09:29 +0200 Subject: [CM] Problem building lates Gtk Snd / errors using Motif Snd In-Reply-To: <407FC65B.10609@ccrma> References: <20040414200947.GA9229@fliwatut.scifi> <407E6F4B.2050803@ccrma> <20040415154430.GB22240@fliwatut.scifi> <407FC65B.10609@ccrma> Message-ID: <20040416180929.GA7572@fliwatut.scifi> Hallo, Bill Schottstaedt hat gesagt: // Bill Schottstaedt wrote: > Doesn't "strip" make debugging more difficult? I could add an > option for that to the make file, I guess -- will check. strip removes debugging symbols and several others, that's true. But for "normal" users who don't run Snd under gdb anyway this wouldn't matter so much. I think, many packages like the Debian packages strip the binary anyway. Maybe the "install" target should strip the binary, and those doing actual development may start snd from the build directory. Ciao -- Frank Barknecht _ ______footils.org__ From dlphilp at bright.net Fri Apr 16 12:01:30 2004 From: dlphilp at bright.net (Dave Phillips) Date: Fri, 16 Apr 2004 15:01:30 -0400 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <20040416165831.GA5749@fliwatut.scifi> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC56E.2040002@ccrma> <20040416165831.GA5749@fliwatut.scifi> Message-ID: <40802D8A.4050100@bright.net> Frank Barknecht wrote: >Screenshot here: http://footils.org/images/snd-gtkrc.png > > Uh-oh... that looks pretty good... all the menus are there... hmm... could it be time to bid adieu to my motif build ??... Nice work, Frank... Best, dp From bigswift at ufl.edu Fri Apr 16 11:35:48 2004 From: bigswift at ufl.edu (Patrick Pagano) Date: Fri, 16 Apr 2004 14:35:48 -0400 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <40802D8A.4050100@bright.net> Message-ID: traitor...i'm telling Bill On Friday, April 16, 2004, at 03:01 PM, Dave Phillips wrote: > Frank Barknecht wrote: > >> Screenshot here: http://footils.org/images/snd-gtkrc.png >> > Uh-oh... that looks pretty good... all the menus are there... hmm... > could it be time to bid adieu to my motif build ??... > > Nice work, Frank... > > Best, > > dp > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From fbar at footils.org Fri Apr 16 11:54:19 2004 From: fbar at footils.org (Frank Barknecht) Date: Fri, 16 Apr 2004 20:54:19 +0200 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <40802D8A.4050100@bright.net> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC56E.2040002@ccrma> <20040416165831.GA5749@fliwatut.scifi> <40802D8A.4050100@bright.net> Message-ID: <20040416185418.GA7900@fliwatut.scifi> Hallo, Dave Phillips hat gesagt: // Dave Phillips wrote: > Frank Barknecht wrote: > > >Screenshot here: http://footils.org/images/snd-gtkrc.png > > > > > Uh-oh... that looks pretty good... all the menus are there... hmm... > could it be time to bid adieu to my motif build ??... > > Nice work, Frank... Well, as I wrote, it wasn't much work at all, once I was told, where to configure this. Gtk looks much more modern than Motif, but that's not new. I was using snd_conffile.scm for the screenshot, which doesn't include your nice button bar. But now it occured to me, if it wouldn't be a nice addition to have a standard button toolbar below the menubar for some common functions like copy, paste, transport (start,stop,...) and so on. I grep'ped through the source looking for "toolbar", and there is a lot of stuff inside xg.c, but I don't know yet, what it does and if this could be used already to create and configure a button toolbar. But then, even a hardcoded toolbar could be useful. Ciao -- Frank Barknecht _ ______footils.org__ From bil at ccrma.Stanford.EDU Sat Apr 17 03:58:23 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 17 Apr 2004 03:58:23 -0700 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <20040416165831.GA5749@fliwatut.scifi> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC56E.2040002@ccrma> <20040416165831.GA5749@fliwatut.scifi> Message-ID: <40810DCF.40604@ccrma> > Screenshot here: http://footils.org/images/snd-gtkrc.png That is amazing! Can I include it in the Snd documentation? > Maybe the "install" target should strip the binary I tried to follow the GNU-way in this case, and added an "install-strip" target in the makefile -- I didn't actually try it out however. From fbar at footils.org Sat Apr 17 04:25:48 2004 From: fbar at footils.org (Frank Barknecht) Date: Sat, 17 Apr 2004 13:25:48 +0200 Subject: [CM] Changing the menu font in Gtk Snd In-Reply-To: <40810DCF.40604@ccrma> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC56E.2040002@ccrma> <20040416165831.GA5749@fliwatut.scifi> <40810DCF.40604@ccrma> Message-ID: <20040417112548.GA4711@fliwatut.scifi> Hallo, Bill Schottstaedt hat gesagt: // Bill Schottstaedt wrote: > > Screenshot here: http://footils.org/images/snd-gtkrc.png > > That is amazing! Can I include it in the Snd documentation? The picture? Yes, feel free to do so. It is using the Xfce-b5 theme for Gtk2. I attached my slightly extended current Snd.gtkrc, which has the colored buttons in it again. The trick used is, to first include some gtkrc according to taste, and then only include those things, you do want to have overwritten. In the example, only the button colors are active, the rest is from ~/.gtkrc Ciao -- Frank Barknecht _ ______footils.org__ -------------- next part -------------- include "/home/freak/.gtkrc-2.0" # This is the same as Snd.gtkrc # style "default" # { # font_name = "Serif 11" # # fg[NORMAL] = { 0.0, 0.00, 0.0 } # text[NORMAL] = { 0.0, 0.0, 0.0 } # bg[NORMAL] = { 0.93, 0.93, 0.87 } # bg[ACTIVE] = { 0.80, 0.80, 0.75 } # bg[INSENSITIVE] = { 0.93, 0.93, 0.87 } # base[NORMAL] = { 1.00, 1.00, 1.00 } # bg[PRELIGHT] = { 0.70, 0.70, 0.64 } # fg[PRELIGHT] = { 1.0, 0.0, 0.0} # # GtkPaned::handle_size = 6 # GtkButton::default_border = { 0, 0, 0, 0 } # GtkButton::default_outside_border = { 0, 0, 0, 0 } # } # style "default_button" = "default" { bg[ACTIVE] = { 0.79, 0.88, 1.0 } bg[SELECTED] = { 0.79, 0.88, 1.0 } } # # style "default_menu" = "default" # { # bg[NORMAL] = { 1.0, 1.0, 0.94 } # } # # style "default_pane" = "default" # { # bg[NORMAL] = { 0.56, 0.93, 0.56 } # bg[PRELIGHT] = { 0.26, 0.8, 0.26} # } # # style "default_entry" = "default" # { # base[ACTIVE] = { 0.93, 0.93, 0.87 } # base[SELECTED] = { 0.80, 0.80, 0.75 } # base[PRELIGHT] = { 1.0, 1.0, 1.0} # base[NORMAL] = { 0.93, 0.93, 0.87 } # base[INSENSITIVE] = { 0.93, 0.93, 0.87 } # bg[ACTIVE] = { 1.0, 1.0, 1.0 } # bg[SELECTED] = { 1.0, 1.0, 1.0 } # bg[PRELIGHT] = { 1.0, 1.0, 1.0 } # text[ACTIVE] = { 0.0, 0.0, 0.0 } # text[SELECTED] = { 0.0, 0.0, 0.0 } # text[PRELIGHT] = { 0.0, 0.0, 0.0 } # } # # style "default_text" = "default_entry" # { # base[NORMAL] = { 1.0, 1.0, 1.0 } # } # # style "default_slider" = "default" # { # bg[NORMAL] = { 0.90, 0.90, 0.85 } # bg[ACTIVE] = { 0.80, 0.80, 0.75 } # bg[PRELIGHT] = { 0.70, 0.70, 0.64 } # # GtkRange::slider_width = 10 # GtkRange::stepper_size = 10 # } # # class "GtkWidget" style "default" class "GtkButton" style "default_button" # class "GtkMenu" style "default_menu" # class "GtkMenuBar" style "default_menu" # class "GtkEntry" style "default_entry" # class "GtkTextView" style "default_text" # class "GtkPaned" style "default_pane" # class "GtkRange" style "default_slider" # # style "zoom_slider" = "default_slider" # { # bg[NORMAL] = { 0.70, 0.70, 0.64 } # bg[ACTIVE] = { 0.54, 0.54, 0.51 } # bg[PRELIGHT] = { 0.44, 0.44, 0.36 } # # GtkRange::slider_width = 12 # GtkRange::stepper_size = 12 # } # # widget "*.zx_slider" style "zoom_slider" # widget "*.zy_slider" style "zoom_slider" # widget "*.gzy_slider" style "zoom_slider" # widget "*.panel_button" style "zoom_slider" # style "listener" = "default" { font_name = "Monospace 10" # base[NORMAL] = { 0.94, 0.97, 1.0 } # text[NORMAL] = { 0.0, 0.0, 0.0 } } widget "*.listener_text" style "listener" style "help" = "default_button" { bg[NORMAL] = { 0.73, 0.82, 0.93 } bg[PRELIGHT] = { 0.73, 0.82, 0.93 } } widget "*.help_button" style "help" style "quit" = "default_button" { bg[NORMAL] = { 0.8, 0.36, 0.36 } bg[PRELIGHT] = { 0.8, 0.36, 0.36 } } widget "*.quit_button" style "quit" style "doit" = "default_button" { bg[NORMAL] = { 0.56, 0.93, 0.56 } bg[PRELIGHT] = { 0.56, 0.93, 0.56 } } widget "*.doit_button" style "doit" style "doit_again" = "default_button" { bg[NORMAL] = { 0.79, 1.0, 0.44 } bg[PRELIGHT] = { 0.79, 1.0, 0.44 } } widget "*.doit_again_button" style "doit_again" style "reset" = "default_button" { bg[NORMAL] = { 1.0, 0.85, 0.24 } bg[PRELIGHT] = { 1.0, 0.85, 0.24 } } widget "*.reset_button" style "reset" From ljure at multitel.com.uy Sat Apr 17 09:23:11 2004 From: ljure at multitel.com.uy (luis jure) Date: Sat, 17 Apr 2004 13:23:11 -0300 Subject: [CM] i want that nice gui too Message-ID: <20040417132311.7623927a.ljure@multitel.com.uy> it's that time of the year (or is it every other year?) when i say to myself _this time_ i'm really going to learn snd. now, if you could spare a little patience and understanding with a novice completely guile/scheme ignorant and who doesn't even use emacs, i'd like to ask for some help with this business of configuring the gui. 1) what's supposed to be in the .gtkrc-2.0 file mentioned by Herrn Barknecht? i didn't have such a file at home, and copied one i found in the system, but it's empty, leer, vac?o, nada, just a lonely commented line saying that this is the default theme. anyway, copying the Snd.gtkrc frank sent to the list to my home directory shows a difference. 2) now i would like to load snd_conffile.scm, which i understand is responsible for the nice looking gui seen in the famous screenshot, but the message i get is: gui.scm needs the xg module: xm.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio mmm... is this motif related? i'm mystified, isn't all this about gtk? i compiled snd thus: ./configure --prefix=/usr --with-alsa --with-gtk --with-jack --with-ladspa --with-guile --with-float-samples best, lj -- From fbar at footils.org Sat Apr 17 11:26:15 2004 From: fbar at footils.org (Frank Barknecht) Date: Sat, 17 Apr 2004 20:26:15 +0200 Subject: [CM] i want that nice gui too In-Reply-To: <20040417132311.7623927a.ljure@multitel.com.uy> References: <20040417132311.7623927a.ljure@multitel.com.uy> Message-ID: <20040417182615.GA8670@fliwatut.scifi> Hallo, luis jure hat gesagt: // luis jure wrote: > it's that time of the year (or is it every other year?) when i say to myself > _this time_ i'm really going to learn snd. > > now, if you could spare a little patience and understanding with a novice > completely guile/scheme ignorant and who doesn't even use emacs, i'd like to > ask for some help with this business of configuring the gui. > > 1) what's supposed to be in the .gtkrc-2.0 file mentioned by Herrn > Barknecht? i didn't have such a file at home, and copied one i found in the > system, but it's empty, leer, vac?o, nada, just a lonely commented line > saying that this is the default theme. > > anyway, copying the Snd.gtkrc frank sent to the list to my home directory > shows a difference. A gtkrc is a file containing a description of the resources like colors, fonts,... for Gtk application. Many to most Gtk apps look in ~/.gtkrc (gtk 1.X) rsp. ~/.gtkrc-2.0 (Gtk 2.X) for this. Snd looks in ~/Snd.gtkrc You can either write the gtkrc yourself or use one that already is written by someone else or is on your system. They often are in some directory below /usr/share, here on Debian it's in /usr/share/themes/ To use a predefined gtkrc, you can "include" it in the gtrkc for your application, which normally is ~/.gtkrc-2.0 or at Snd it's Snd.gtrkc. Including goes like this: include "/usr/share/themes/Xfce-b5" What I did, was to include the global gtkrc, ~/.gtkrc-2.0, in Snd.gtkrc: include "/home/fbar/.gtkrc-2.0" Of course, if the global one is empty, this won't change anything. You can find many themes for exmaple here: http://themes.freshmeat.net/browse/958/ Here's Snd with another theme (which is very slow...): http://footils.org/images/spherecrystal.png One thing to note: When changing the Snd.gtkrc file I had to start Snd from a fresh xterm to make it see that change every time, which is a bit strange. > 2) now i would like to load snd_conffile.scm, which i understand is > responsible for the nice looking gui seen in the famous screenshot, but the > message i get is: > > gui.scm needs the xg module: xm.so: no se puede abrir el fichero > del objeto compartido: No existe el fichero o el directorio > > mmm... is this motif related? i'm mystified, isn't all this about gtk? i > compiled snd thus: > > ./configure --prefix=/usr --with-alsa --with-gtk --with-jack --with-ladspa > --with-guile --with-float-samples Add "--with-static-xm" to that option list. And check out the current CVS, unless you already did. It has the a comment-bug workaround included. Ciao -- Frank Barknecht _ ______footils.org__ From ljure at multitel.com.uy Sat Apr 17 12:31:32 2004 From: ljure at multitel.com.uy (luis jure) Date: Sat, 17 Apr 2004 16:31:32 -0300 Subject: [CM] i want that nice gui too In-Reply-To: <20040417182615.GA8670@fliwatut.scifi> References: <20040417132311.7623927a.ljure@multitel.com.uy> <20040417182615.GA8670@fliwatut.scifi> Message-ID: <20040417163132.72b253a0.ljure@multitel.com.uy> el Sat, 17 Apr 2004 20:26:15 +0200 Frank Barknecht escribi?: > Add "--with-static-xm" to that option list. And check out the current > CVS, unless you already did. It has the a comment-bug workaround > included. that did the trick, thanks a lot. i tried it with the tarball i had already downloaded, i'll check the cvs later on. > A gtkrc is a file containing a description of the resources like > colors, fonts,... for Gtk application. i had figured that much, but i don't have one and i haven't ever seen one, so i wouldn't know how to write my own. anyone willing to share one? > You can find many themes for exmaple here: > http://themes.freshmeat.net/browse/958/ those seem to be themes for the gnome desktop, am i right? BTW, i don't use gnome, i use a plain icewm compiled --without-gnome, so i don't know if i should worry much about the gtkrc file. but i'm sure i'm going to look closer at those scm files... thanks again for your prompt answer. est, lj -- From dlphilp at bright.net Sat Apr 17 13:37:00 2004 From: dlphilp at bright.net (Dave Phillips) Date: Sat, 17 Apr 2004 16:37:00 -0400 Subject: [CM] some Snd updating problems In-Reply-To: <20040416170232.GB5749@fliwatut.scifi> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC7DB.30407@bright.net> <407FC7CC.3030707@ccrma> <407FF83A.7090701@bright.net> <20040416170232.GB5749@fliwatut.scifi> Message-ID: <4081956C.6020504@bright.net> Frank Barknecht wrote: >>I'm using my misc.scm, everything there is okay (except for the >>change-menu-label thing), but the error occurs when I try to load >>Kjetil's ladspa.scm. >> >> > >Me, too. :( > Specifically I receive an error regarding list-ladspa as an unbounded variable. I'm working on it now... Best, dp From fbar at footils.org Sat Apr 17 15:21:09 2004 From: fbar at footils.org (Frank Barknecht) Date: Sun, 18 Apr 2004 00:21:09 +0200 Subject: [CM] i want that nice gui too In-Reply-To: <20040417163132.72b253a0.ljure@multitel.com.uy> References: <20040417132311.7623927a.ljure@multitel.com.uy> <20040417182615.GA8670@fliwatut.scifi> <20040417163132.72b253a0.ljure@multitel.com.uy> Message-ID: <20040417222109.GA8975@fliwatut.scifi> Hallo, luis jure hat gesagt: // luis jure wrote: > Frank Barknecht escribi?: > > A gtkrc is a file containing a description of the resources like > > colors, fonts,... for Gtk application. > > i had figured that much, but i don't have one and i haven't ever seen one, > so i wouldn't know how to write my own. anyone willing to share one? You should just install some gtk-themes from packages in your distribution. Or install gtk-theme-switch e.g. from here: http://www.muhri.net/gthemeswitch.php3 to make switching easier. > > You can find many themes for exmaple here: > > http://themes.freshmeat.net/browse/958/ > > those seem to be themes for the gnome desktop, am i right? BTW, i don't use > gnome, i use a plain icewm compiled --without-gnome, so i don't know if i > should worry much about the gtkrc file. Gtkrcs can be used for all applications that use the Gtk toolkit. Gnome in this regard is just one such application, that happens to use Gtk. Snd is another one. (It even is possible to use Gtk-themes in Java apps, as I now found out: http://freeguide-tv.sourceforge.net/LookAndFeel.html ) Ciao -- Frank Barknecht _ ______footils.org__ From alinweiller at caramail.com Sat Apr 17 19:33:21 2004 From: alinweiller at caramail.com (alin weiller ) Date: Sun, 18 Apr 2004 02:33:21 GMT Subject: [CM] Control Change in CM? Message-ID: <1082255601026543@lycos-europe.com> Hi, is it possible to send/write midi control change events with CM? Thank you, Regards A-LIN C est le moment de dynamiser votre bo?te mail en d?couvrant les offres CaraMail Premium - http://www.caramailmax.com From bil at ccrma.Stanford.EDU Sun Apr 18 04:42:27 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 18 Apr 2004 04:42:27 -0700 Subject: [CM] i want that nice gui too In-Reply-To: <20040417182615.GA8670@fliwatut.scifi> References: <20040417132311.7623927a.ljure@multitel.com.uy> <20040417182615.GA8670@fliwatut.scifi> Message-ID: <408269A3.8010108@ccrma> > Snd looks in ~/Snd.gtkrc It will tomorrow! Currently it looks on the current directory -- when I added the gtkrc parse business, I couldn't find any guidance as to where programs looked for these files. I'll make Snd look first at the current directory, then ~/. From k.s.matheussen at notam02.no Sun Apr 18 06:13:57 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Sun, 18 Apr 2004 15:13:57 +0200 (CEST) Subject: [CM] Re: Changing the menu font in Gtk Snd In-Reply-To: <20040416190003.11303.48261.Mailman@cm-mail.stanford.edu> References: <20040416190003.11303.48261.Mailman@cm-mail.stanford.edu> Message-ID: Dave Phillips: > > Hi Frank: > > Sorry, I assumed you were using the Motif build. However, I note that > Kjetil's snd_conffig.scm is written for the Gtk version, maybe you'll > find what you're looking for in there... (it's in the Snd-7 top tree)... > Its written to work with both gtk and motif, but I haven't tested it with motif for a very long time so I suppose it doesn't work for motif anylonger... Bill Schottstaedt: > > > One small suggestion: I always need to "strip" the snd-binary by hand > > to get it from about 15M down to 3.6M filesize. It would be cool if > > that was done automatically. Now on to testing Jack recording... > > Doesn't "strip" make debugging more difficult? I could add an > option for that to the make file, I guess -- will check. > > Jack recording in ALSA is problematic -- I can't find the note that > Kjetil sent me, and my reminder is cryptic -- another thing to track > down... > Recording with jack works with the sndrecord program, but gives a lot of errors when trying to open the recording window in snd. Frank Barknecht: > > >> [07:35:21] skip_scsh_block_comment: misc-error: unterminated `#! > > >... !#' comment () #f #f: line #f > > >> ; (load ~/.snd) > > > > > >If you're using snd_conffile.scm, Kjetil just sent me a fixed > > >version and I incorporated it in the various Snd versions -- > > As a quick'n'dirty fix, you can also just comment out the offending > regions the tradional way;;; which is, what I had done yesterday. > Theres was another problem with the file as well (the sync and loop buttons), so you should download the latest version. -- From dlphilp at bright.net Sun Apr 18 07:48:53 2004 From: dlphilp at bright.net (Dave Phillips) Date: Sun, 18 Apr 2004 10:48:53 -0400 Subject: [CM] some Snd updating problems In-Reply-To: <40826D45.5090904@ccrma> References: <20040415163404.GA29449@fliwatut.scifi> <407EC385.8090604@bright.net> <20040415165355.GB29449@fliwatut.scifi> <407FC7DB.30407@bright.net> <407FC7CC.3030707@ccrma> <407FF83A.7090701@bright.net> <20040416170232.GB5749@fliwatut.scifi> <4081956C.6020504@bright.net> <40826D45.5090904@ccrma> Message-ID: <40829555.40805@bright.net> Bill Schottstaedt wrote: > Is ladspa loaded? (snd --help should list it). If so, > is list-ladpsa the only ladpsa function that has somehow > undefined itself? Okay, LADSPA support is here again. Planet CCRMA does not by default include the LADSPA devel package, so I installed it and Snd has LADSPA again. Perhaps the configure script should more loudly warn the user that ladspa.h is missing *if* the user specifies it in the config options ? I have a new problem now (it's always something...). When I split the soundfile display into frequency and waveform displays only half the waveform appears. This error occurs only when I use the OpenGL spectrogram display for frequency domain representation. The full waveform displays correctly if the once and sonogram frequency displays are used. Any suggestions ? Best, dp From fbar at footils.org Sun Apr 18 08:59:37 2004 From: fbar at footils.org (Frank Barknecht) Date: Sun, 18 Apr 2004 17:59:37 +0200 Subject: [CM] i want that nice gui too In-Reply-To: <408269A3.8010108@ccrma> References: <20040417132311.7623927a.ljure@multitel.com.uy> <20040417182615.GA8670@fliwatut.scifi> <408269A3.8010108@ccrma> Message-ID: <20040418155937.GA5680@fliwatut.scifi> Hallo, Bill Schottstaedt hat gesagt: // Bill Schottstaedt wrote: > > Snd looks in ~/Snd.gtkrc > > It will tomorrow! Currently it looks on the current directory -- when > I added the gtkrc parse business, I couldn't find any guidance as to where > programs looked for these files. I'll make Snd look first at the current > directory, then ~/. Oh, that explains, why I always had to start that fresh xterm which makes pwd == $HOME... ;) If you add a central gtkrc, it would be nice to have this start with a dot. Maybe snd also could parse ~/.gtkrc first, then afterwards the snd-specific one. This way one could have a consistent look and feel accross apps without much work. Ciao -- Frank Barknecht _ ______footils.org__ From kasti14 at mailforce.net Tue Apr 20 06:59:17 2004 From: kasti14 at mailforce.net (Andres F. Castiblanco V.) Date: Tue, 20 Apr 2004 08:59:17 -0500 Subject: [CM] CM+Emacs combination not working! Message-ID: <1082469557.16033.184770146@webmail.messagingengine.com> Hello! I have installed the 'PlanetCCRMA' version of CM and found no way to start using it with my prefered editor: EMACS. Is there a work around for this? The procedure I initially used was to start the 'cm-clisp', but reading into the documentation i found that there was a call for the program to be initiated with emacs: /usr/share/common-lisp/source/cm/bin/cm.sh -e emacs This script loaded EMACS but without the lisp-interpreter connection so any function evaluation don't works. I still downloaded the most recent version of this 'cm.sh' file from web/CVS without changes. The error message of the interpreter is: " [1]> *** - LOAD: keyword arguments in (:VERBOSENIL) should occur pairwise Break 1 [2]> " (without the quotes fo course) This message also appears (in the console) by tring to load "cm.sh" without arguments. Any help would be greatly appreciated and excuse me in advance if I ask for too basic questions as i am new to this list (and CommonMusic). Kasti :) p.s. is there any webpage where i can read past threads of the list? -- KASTI (-) kasti14 at mailforce.net -- http://www.fastmail.fm - mmm... Fastmail... From nando at ccrma.Stanford.EDU Tue Apr 20 13:01:04 2004 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: 20 Apr 2004 13:01:04 -0700 Subject: [CM] CM+Emacs combination not working! In-Reply-To: <1082469557.16033.184770146@webmail.messagingengine.com> References: <1082469557.16033.184770146@webmail.messagingengine.com> Message-ID: <1082491264.2340.67.camel@cmn37.stanford.edu> > I have installed the 'PlanetCCRMA' version of CM and found no way to > start using it with my prefered editor: EMACS. Is there a work around for > this? > > The procedure I initially used was to start the 'cm-clisp', but reading > into the documentation i found that there was a call for the program to > be initiated with emacs: > > /usr/share/common-lisp/source/cm/bin/cm.sh -e emacs > > This script loaded EMACS but without the lisp-interpreter connection so > any function evaluation don't works. I still downloaded the most recent > version of this 'cm.sh' file from web/CVS without changes. The error > message of the interpreter is: > > " > [1]> > *** - LOAD: keyword arguments in (:VERBOSENIL) should occur pairwise > Break 1 [2]> > " > (without the quotes fo course) Hmm, I just tried it and it starts here. Which version of RedHat/Fedora are you using? Which version of emacs? It would seem that somewhere in there there is a typo (ie: ":verbosenil" instead of ":verbose nil"), but that does not seem to happen in the cm.sh script itself...... -- Fernando From taube at uiuc.edu Tue Apr 20 07:07:57 2004 From: taube at uiuc.edu (Rick Taube) Date: Tue, 20 Apr 2004 09:07:57 -0500 Subject: [CM] Control Change in CM? In-Reply-To: <1082255601026543@lycos-europe.com> References: <1082255601026543@lycos-europe.com> Message-ID: <2014C630-92D4-11D8-8CA9-000A95674CE4@uiuc.edu> On Apr 17, 2004, at 9:33 PM, alin weiller wrote: > Hi, is it possible to send/write midi control change events with CM? yes of course, its just not documented well. If you are writing midi files in CM 2.5.0 (CVS) you can use the 'midi-control-change' class: (new midi-control-change :controller :value ) If you are using CM 2.4.2 you use the catch-all 'midimsg' class: (new midimsg :msg (make-control-change ) If you are writing low-level MidiShare events (midievs) directly to the driver in CM 2.5.0 you do (ms:new CtrlChange :port :chan :controller :value ) Ill try to add documentation of the new midi classes in 2.5.0 this week. From taube at uiuc.edu Tue Apr 20 07:14:53 2004 From: taube at uiuc.edu (Rick Taube) Date: Tue, 20 Apr 2004 09:14:53 -0500 Subject: [CM] CM+Emacs combination not working! In-Reply-To: <1082469557.16033.184770146@webmail.messagingengine.com> References: <1082469557.16033.184770146@webmail.messagingengine.com> Message-ID: <18318DEA-92D5-11D8-8CA9-000A95674CE4@uiuc.edu> what versions of CLISP and EMACS are you using? type: $ clisp --version $ emacs --version and send the results. I just tested 'bin/cm.sh -e emacs' and works fine here in CLISP 2.32 On Apr 20, 2004, at 8:59 AM, Andres F. Castiblanco V. wrote: > Hello! > > I have installed the 'PlanetCCRMA' version of CM and found no way to > start using it with my prefered editor: EMACS. Is there a work around > for > this? > > The procedure I initially used was to start the 'cm-clisp', but reading > into the documentation i found that there was a call for the program to > be initiated with emacs: > > /usr/share/common-lisp/source/cm/bin/cm.sh -e emacs > > This script loaded EMACS but without the lisp-interpreter connection so > any function evaluation don't works. I still downloaded the most recent > version of this 'cm.sh' file from web/CVS without changes. The error > message of the interpreter is: > > " > [1]> > *** - LOAD: keyword arguments in (:VERBOSENIL) should occur pairwise > Break 1 [2]> > " > (without the quotes fo course) > > > This message also appears (in the console) by tring to load "cm.sh" > without arguments. > > Any help would be greatly appreciated and excuse me in advance if I ask > for too basic questions as i am new to this list (and CommonMusic). > > Kasti :) > > p.s. is there any webpage where i can read past threads of the list? > -- > KASTI (-) > kasti14 at mailforce.net > > -- > http://www.fastmail.fm - mmm... Fastmail... > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Wed Apr 21 04:10:19 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 21 Apr 2004 04:10:19 -0700 Subject: [CM] CM+Emacs combination not working! In-Reply-To: <1082469557.16033.184770146@webmail.messagingengine.com> References: <1082469557.16033.184770146@webmail.messagingengine.com> Message-ID: <4086569B.3060507@ccrma> > p.s. is there any webpage where i can read past threads of the list? The cmdist archives: http://ccrma-mail.stanford.edu/pipermail/cmdist/. From t at fictive.com Wed Apr 21 04:28:05 2004 From: t at fictive.com (Tobias Kunze =?iso-8859-1?Q?Brise=F1o?=) Date: Wed, 21 Apr 2004 13:28:05 +0200 (CEST) Subject: [CM] CM+Emacs combination not working! In-Reply-To: <18318DEA-92D5-11D8-8CA9-000A95674CE4@uiuc.edu> References: <1082469557.16033.184770146@webmail.messagingengine.com> <18318DEA-92D5-11D8-8CA9-000A95674CE4@uiuc.edu> Message-ID: <58527.212.18.24.66.1082546885.squirrel@212.18.24.66> > I just tested 'bin/cm.sh -e emacs' and works fine of course! =:) > > *** - LOAD: keyword arguments in (:VERBOSENIL) should occur pairwise > > This message also appears (in the console) by tring to load "cm.sh" > > without arguments. run cm.sh -nv and, in case you see a ":verbosenil" in the "command:" line, send the output, the versions rick asked for, plus: - your OS type/version (uname -a) - your (ba)sh version (bash --version or similar) From bil at ccrma.Stanford.EDU Wed Apr 21 04:30:49 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 21 Apr 2004 04:30:49 -0700 Subject: [CM] i want that nice gui too In-Reply-To: <20040418155937.GA5680@fliwatut.scifi> References: <20040417132311.7623927a.ljure@multitel.com.uy> <20040417182615.GA8670@fliwatut.scifi> <408269A3.8010108@ccrma> <20040418155937.GA5680@fliwatut.scifi> Message-ID: <40865B69.4020900@ccrma> > Maybe snd also could parse ~/.gtkrc first, then afterwards the > snd-specific one. It now looks for ~/.gtkrc-2.0 which, if found, overrides all of Snd's defaults (including the happy button colors), then Snd.gtkrc, then ~/Snd.gtkrc, then uses its built-in defaults. > Perhaps the configure script should more loudly warn the user > that ladspa.h is missing *if* the user specifies it in the config options ? It prints a warning now. > When I split the soundfile display into frequency and waveform > displays only half the waveform appears. I can't seem to get this to happen -- there are several bugs in this part of Snd, but they're tangled up in the way the various components (openGL, Motif, the GL-Motif connection) interact with X, and I haven't yet figured out what's going on. Does it fix anything to force Snd to update its displays? From dlphilp at bright.net Wed Apr 21 05:42:08 2004 From: dlphilp at bright.net (Dave Phillips) Date: Wed, 21 Apr 2004 08:42:08 -0400 Subject: [CM] i want that nice gui too In-Reply-To: <40865B69.4020900@ccrma> References: <20040417132311.7623927a.ljure@multitel.com.uy> <20040417182615.GA8670@fliwatut.scifi> <408269A3.8010108@ccrma> <20040418155937.GA5680@fliwatut.scifi> <40865B69.4020900@ccrma> Message-ID: <40866C20.3010403@bright.net> Bill Schottstaedt wrote: > > When I split the soundfile display into frequency and waveform > > displays only half the waveform appears. > > I can't seem to get this to happen -- there are several bugs in this > part of Snd, but they're tangled up in the way the various components > (openGL, Motif, the GL-Motif connection) interact with X, and I haven't > yet figured out what's going on. Does it fix anything to force > Snd to update its displays? > Hi Bill: The problem seems to occur only when I'm running full-screen. I have an nVidia GForce2 card with the nVidia driver, and I'm running my screen at 1280x1024. Would it help to build Snd --with-big-colormap ? Btw, see if this routine makes the error happen for you: Open Snd with a file (snd some.wav) Click to view Frequency display along with Waveform Set frequency display to Spectrogram (OpenGL active) Go full-screen Click off Waveform display, then click it back on (i.e., both displays still on-screen) If the problem doesn't occur for you then I have some other difficulty, probably with my system. Thanks for looking at it, Bill, and thanks again for the fixes to the dlp stuff. Snd is back on track here... Best, dp From kasti14 at mailforce.net Wed Apr 21 12:24:45 2004 From: kasti14 at mailforce.net (Andres F. Castiblanco V.) Date: Wed, 21 Apr 2004 14:24:45 -0500 Subject: [CM] CM+Emacs combination not working! In-Reply-To: <18318DEA-92D5-11D8-8CA9-000A95674CE4@uiuc.edu> References: <1082469557.16033.184770146@webmail.messagingengine.com> <18318DEA-92D5-11D8-8CA9-000A95674CE4@uiuc.edu> Message-ID: <1082575485.11184.184867151@webmail.messagingengine.com> Hi Thanks for your soon answer. I found that the problems seems to be about some weird incompatibilities between the kernel of the PlanetCCRMA and/or MidiShare drivers and/or all the lisp'es. The fact is that there is not problem at all with the Fedora original kernel so I apologize for the inconvenience, I will try to fix the problem only under the PlanetCCRMA mailing list. Thanks Andr?s On Tue, 20 Apr 2004 09:14:53 -0500, "Rick Taube" said: > what versions of CLISP and EMACS are you using? > type: > $ clisp --version > $ emacs --version > > and send the results. > > I just tested 'bin/cm.sh -e emacs' and works fine here in CLISP 2.32 > > On Apr 20, 2004, at 8:59 AM, Andres F. Castiblanco V. wrote: > > > Hello! > > > > I have installed the 'PlanetCCRMA' version of CM and found no way to > > start using it with my prefered editor: EMACS. Is there a work around > > for > > this? > > > > The procedure I initially used was to start the 'cm-clisp', but reading > > into the documentation i found that there was a call for the program to > > be initiated with emacs: > > > > /usr/share/common-lisp/source/cm/bin/cm.sh -e emacs > > > > This script loaded EMACS but without the lisp-interpreter connection so > > any function evaluation don't works. I still downloaded the most recent > > version of this 'cm.sh' file from web/CVS without changes. The error > > message of the interpreter is: > > > > " > > [1]> > > *** - LOAD: keyword arguments in (:VERBOSENIL) should occur pairwise > > Break 1 [2]> > > " > > (without the quotes fo course) > > > > > > This message also appears (in the console) by tring to load "cm.sh" > > without arguments. > > > > Any help would be greatly appreciated and excuse me in advance if I ask > > for too basic questions as i am new to this list (and CommonMusic). > > > > Kasti :) > > > > p.s. is there any webpage where i can read past threads of the list? > > -- > > KASTI (-) > > kasti14 at mailforce.net > > > > -- > > http://www.fastmail.fm - mmm... Fastmail... > > > > _______________________________________________ > > Cmdist mailing list > > Cmdist at ccrma.stanford.edu > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -- KASTI (-) kasti14 at mailforce.net -- http://www.fastmail.fm - Access all of your messages and folders wherever you are From alinweiller at caramail.com Sat Apr 24 15:48:28 2004 From: alinweiller at caramail.com (alin weiller ) Date: Sat, 24 Apr 2004 22:48:28 GMT Subject: [CM] define an instrument? Message-ID: <1082846908012621@lycos-europe.com> Hi, I a very beginner, so I try to define a instrument but it doesn't work, any advice? (definstrument rr (run (loop for i from 0 below 20000 do (outa i (centered-random 1)))) ** - Continuable Error oops -- I can't find RR's lisp source file! ????? I'm using the last version of CM Thank's A-LIN Marre des Spams ? - http://www.caramailmax.com From nando at ccrma.Stanford.EDU Sat Apr 24 15:56:02 2004 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: 24 Apr 2004 15:56:02 -0700 Subject: [CM] define an instrument? In-Reply-To: <1082846908012621@lycos-europe.com> References: <1082846908012621@lycos-europe.com> Message-ID: <1082847362.27304.91.camel@cmn37.stanford.edu> > Hi, I a very beginner, so I try to define a instrument but it doesn't work, > any advice? > > (definstrument rr (run (loop for i from 0 below 20000 do (outa i (centered-random 1)))) > > ** - Continuable Error > oops -- I can't find RR's lisp source file! CLM instruments have to be compiled. Save the instrument in a file (for example "filename.ins", then (compile-file "filename.ins"), (load "filename") [or (load "filename.cmucl") if you are running cmucl]. -- Fernando From alinweiller at caramail.com Sat Apr 24 16:48:54 2004 From: alinweiller at caramail.com (alin weiller ) Date: Sat, 24 Apr 2004 23:48:54 GMT Subject: [CM] define an instrument? Message-ID: <1082850534021535@lycos-europe.com> Thank you! so now I'm trying this : my file "ranran.ins" contains : (definstrument ranran (run (loop for i from 0 below 20000 do (outa i (centered-random 0.5))))) so I write in CLISP : (compile-file "ranran.ins") and CLM replies : (compile-file "ranran.ins") Compilation du fichier /home/a-lin/sources/clm-2/ranran.ins... ; Writing "/home/a-lin/sources/clm-2/clm_lnxclp_RANRAN.c" ; Compiling "/home/a-lin/sources/clm-2/clm_lnxclp_RANRAN.c" ERROR in #:|(DEFINSTRUMENT RANRAN (RUN #))-1-4| dans la ligne 1 : N'est pas permis dans une lambda-liste : (LOOP FOR I FROM 0 BELOW 20000 DO (OUTA I (CENTERED-RANDOM 0.5))) ERROR in RANRAN dans la ligne 1 : N'est pas permis dans une lambda-liste : (LOOP FOR I FROM 0 BELOW 20000 DO (OUTA I (CENTERED-RANDOM 0.5))) WARNING in RANRAN dans la ligne 1 : LOOP is neither declared nor bound, it will be treated as if it were declared SPECIAL. Thank's A-LIN ------- Message original ------- De: Fernando Pablo Lopez-Lezcano Date: 24 Apr 2004 15:56:02 -0700 Sujet: Re: [CM] define an instrument? > Hi, I a very beginner, so I try to define a instrument but it doesn't work, > any advice? > > (definstrument rr (run (loop for i from 0 below 20000 do (outa i (centered-random 1)))) > > ** - Continuable Error > oops -- I can't find RR's lisp source file! CLM instruments have to be compiled. Save the instrument in a file (for example "filename.ins", then (compile-file "filename.ins"), (load "filename") [or (load "filename.cmucl") if you are running cmucl]. -- Fernando Incroyable ! des SMS offerts avec CaraMail Premium - http://www.caramailmax.com From alinweiller at caramail.com Sat Apr 24 17:06:51 2004 From: alinweiller at caramail.com (alin weiller ) Date: Sun, 25 Apr 2004 00:06:51 GMT Subject: [CM] Sorry for my question, I have just answered it Message-ID: <1082851611002919@lycos-europe.com> Ok, sorry I found the thing, the instrument needs arguments. A-LIN Incroyable ! des SMS offerts avec CaraMail Premium - http://www.caramailmax.com From msriedel at zkm.de Fri Apr 23 08:19:23 2004 From: msriedel at zkm.de (Marc Riedel) Date: Fri, 23 Apr 2004 17:19:23 +0200 Subject: [CM] 2nd International Linux Audio Conference Message-ID: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> From April 29th to May 2nd, 2004, the ZKM (Zentrum fuer Kunst und Medientechnologie, Center for Arts and Media) in Karlsruhe, Germany, will host the second International Linux Audio Conference. Notable developers from all around the world will present Open Source software from such diverse areas as Harddisk Recording, Software Synthesis, Sampling and Score Editing. Several concerts and a sound installation will demonstrate how this software can be used for composition and production. In order to help visitors with setting up their own computer-based audio systems, experts are available to give advice and useful hints. Among the speakers are also the team leaders of the two great Linux audio distributions, PlanetCCRMA and Agnula, ready to answer questions. Also, for the first time a CD-bootable Live Linux audio system is being developed which will help newcomers in evaluating what Linux can do for them. The end of the conference will be marked by a panel discussion about the future of free audio software under Linux. During the conference the brand-new Lionstracs Mediastation can be seen. This keyboard, targeted towards music production, is almost completely based on free linux software. For those who cannot attend the conference, the talks and presentations can also be listened to through web live audiostreams. The program, travel instructions and further information is available at www.zkm.de/lac. From taube at uiuc.edu Sat Apr 24 16:08:42 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 24 Apr 2004 18:08:42 -0500 Subject: [CM] define an instrument? Message-ID: <381728fd.36471162.81c0200@expms1.cites.uiuc.edu> you also need to observe the syntax of definstument. you must supply an parameter list even if its a null list: (definstrument rr () (run (loop ...))) the () is null parameter list -- that list is not the same as no parameter list as all, as your example. ---- Original message ---- >Date: 24 Apr 2004 15:56:02 -0700 >From: Fernando Pablo Lopez-Lezcano >Subject: Re: [CM] define an instrument? >To: alin weiller >Cc: list CM > >> Hi, I a very beginner, so I try to define a instrument but it doesn't work, >> any advice? >> >> (definstrument rr (run (loop for i from 0 below 20000 do (outa i (centered-random 1)))) >> >> ** - Continuable Error >> oops -- I can't find RR's lisp source file! > >CLM instruments have to be compiled. Save the instrument in a file (for >example "filename.ins", then (compile-file "filename.ins"), (load >"filename") [or (load "filename.cmucl") if you are running cmucl]. > >-- Fernando > > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From fbar at footils.org Sun Apr 25 04:41:17 2004 From: fbar at footils.org (Frank Barknecht) Date: Sun, 25 Apr 2004 13:41:17 +0200 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> Message-ID: <20040425114117.GC14241@fliwatut.scifi> Hallo, Marc Riedel hat gesagt: // Marc Riedel wrote: > From April 29th to May 2nd, 2004, the ZKM (Zentrum fuer Kunst und > Medientechnologie, Center for Arts and Media) in Karlsruhe, Germany, > will host the second International Linux Audio Conference. [...] > The program, travel instructions and further information is available > at www.zkm.de/lac. And let me add: for travel planning there's a Wiki page (functioning as a kind of "Schwarzes Brett", don't know the british word) here: http://footils.org/cms/pydiddy/wiki/LaConf2 where you can try to build a group for traveling to Karlsruhe by car, train or similar (but I guess, no one comes in his/her own plane?) Ciao -- Frank Barknecht _ ______footils.org__ From alinweiller at caramail.com Sun Apr 25 14:35:04 2004 From: alinweiller at caramail.com (alin weiller ) Date: Sun, 25 Apr 2004 21:35:04 GMT Subject: [CM] the output file test.snd? Message-ID: <1082928904006708@lycos-europe.com> Hi, again a question from a beginner, I apology. I can not write the result of with-sound where I want I try as in the documantation (with-sound (:output "/home/CMCLM/testest.snd") (fm-violin 0 1 200 0.6)) I got a syntax error ** - PARSE-NAMESTRING : Erreur de syntaxe dans le nom de fichier "/home/CMCLM/testest.snd", ? la position 0. other varient doesn't seem to work either. What should I do? Thank's A-LIN Incroyable ! des SMS offerts avec CaraMail Premium - http://www.caramailmax.com From alinweiller at caramail.com Sun Apr 25 18:06:13 2004 From: alinweiller at caramail.com (alin weiller ) Date: Mon, 26 Apr 2004 01:06:13 GMT Subject: [CM] sndlib compilation problem Message-ID: <1082941573011531@lycos-europe.com> Hi, I'm trying to compile sndlib but I got the error message : gcc headers.o audio.o io.o sound.o xen.o vct.o clm.o sndlib2xen.o clm2xen.o midi.o -o sndlib.so -shared -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -L/usr/lib -lm ld -r headers.o audio.o io.o sound.o xen.o vct.o clm.o sndlib2xen.o clm2xen.o midi.o -o sndlib.a -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -L/usr/lib -lm ld: cannot find -lpthread make: *** [sndlib] Erreur 1 My distrib is Mandrake 10 Thank you A-LIN Incroyable ! des SMS offerts avec CaraMail Premium - http://www.caramailmax.com From finnendahl at folkwang-hochschule.de Sun Apr 25 23:21:14 2004 From: finnendahl at folkwang-hochschule.de (Orm Finnendahl) Date: Mon, 26 Apr 2004 08:21:14 +0200 Subject: [CM] Concerts at Linux Audio Conference Message-ID: <20040426062113.GG14629@finnendahl.de> Hi, most of you probably know about it already, but for those, who are interested in the musical part of the conference and happen to be in the area here is an overview of the concerts. -- Orm ---------------------------------------------------------------- Konzerte im Rahmen der/Concerts at the 2nd International L I N U X A U D I O C O N F E R E N C E 2 0 0 4 ZKM Karlsruhe, Germany Lorenzstra?e 19 ---------------------------------------------------------------- donnerstag/thursday 29. april/april 29 20 uhr/8 pm ZKM-Kubus Michael Edwards anonymous obvious (tape) Ludger Bruemmer Gesualdo (tape) Fernando Lopez-Lezcano iICEsCcRrEeAaMm (tape) Orm Finnendahl grep UA/WP Saxophon, Schlagzeug/percussion, Computer Mitwirkende/performers: Sascha Armbruster, Saxophon/saxophone Burkhard Beins, Schlagzeug/percussion Orm Finnendahl, EDV/IT ---------------------------------------------------------------- samstag/saturday 1. mai/may 1 18 uhr/6 pm ZKM-Kubus Julien Patrick Claassen A tale of Machine and Men Matthias Nagorni demonstration of the Synthesizer-Software "AMS" and composition for synthesizer Fons Adriaensen demonstration of organ simulation "Aeolus" Thomas Grill Odem II (tape) Demonstrationen in englischer Sprache/ demonstrations in english ---------------------------------------------------------------- samstag/saturday 1. mai/may 1 20 uhr/6 pm ZKM-Kubus Ramon Gonzalez-Arroyo De l'Infinito Universo (tape) Matthew Burtner Siknik Unipkaaq (tape) Torsten Anders With Shifting Joints (tape) Ivica Ico Bukvic SlipStreamScapes V (2 Pianos und Live-Elektronik) Panayiotis Kokoras Breakwater (tape) Ludger Bruemmer Le temps du miroir, UA/WP (Piano und Live-Elektronik) Mitwirkende/performers: Maki Namekawa, Ivica Ico Bukvic, Klavier/piano ---------------------------------------------------------------- samstag/saturday 1. mai/may 1 22 uhr/10 pm ZKM-Foyer Linux Sound Night - Elektronika Malte Steiner, Frank Barknecht, Eugene Kim, ap (Martin Howse, Jonathan Kemp), Krzysztof Gawlas, Greg Kellum, Julian Oliver aka delire, Diemo Schwarz Support & After Show Party: DJ Lego ---------------------------------------------------------------- Eintritt/Admission Donnerstag/Thursday 20 Uhr/8 pm: 5/3 EUR Kombi-Ticket fuer Samstag 18 Uhr und 20:00 Uhr: 5/3 EUR Combined ticket for Saturday 6 pm and 8 pm: 5/3 EUR Samstag/Saturday 22 Uhr/10 pm: frei/free ---------------------------------------------------------------- Infos zur Konferenz/info about the conference: www.zkm.de/lac From vilisom at cc.jyu.fi Mon Apr 26 03:12:42 2004 From: vilisom at cc.jyu.fi (Ville Isomottonen) Date: Mon, 26 Apr 2004 13:12:42 +0300 (EEST) Subject: [CM] plotter? In-Reply-To: <20040425190003.14327.92597.Mailman@cm-mail.stanford.edu> Message-ID: Hi, About plotter? I've installed that cmucl-cm-clm-cmn with Red hat 8. I'd like to learn to use the plotter. What do i have to do to start to use the plotter? Do i have to load something? (load xx:xx;xx.xxx)? Plotter staff seems to be in its own directory in CMs source files. When i try to call the constructor (plotter ...) the function is not found. There is nothing about the plotter in my CM dictionary. Is it available at all? Thanks, Ville Isom?tt?nen still new with these tools. From bil at ccrma.Stanford.EDU Mon Apr 26 03:51:53 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 26 Apr 2004 03:51:53 -0700 Subject: [CM] sndlib compilation problem In-Reply-To: <1082941573011531@lycos-europe.com> References: <1082941573011531@lycos-europe.com> Message-ID: <408CE9C9.2000303@ccrma> > ld: cannot find -lpthread I think it is the guile-config program that is adding -lpthread -- try: guile-config link to see if it's the culprit -- if it is, it's a guile problem. You might be able to fix it by hand -- find libpthreads.so and add its directory to the LIBS variable (via -L). From alinweiller at caramail.com Mon Apr 26 04:36:07 2004 From: alinweiller at caramail.com (alin weiller ) Date: Mon, 26 Apr 2004 11:36:07 GMT Subject: [CM] sndlib compilation problem Message-ID: <1082979367011154@lycos-europe.com> guile-config link gives me : -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm So, I found where libpthread.so is : /usr/lib but this directory is still in LIBS variable of the makefile : LIBS =-L/usr/lib -lm by the way, I don't know what -lm means. But it still does not work. when I write "ld -lpthread" in the console I get : ld: warning: cannot find entry symbol_start; not setting start address Any idea is welcome. Thank you A-LIN ------- Message original ------- De: Bill Schottstaedt Date: Mon, 26 Apr 2004 03:51:53 -0700 Sujet: Re: [CM] sndlib compilation problem > ld: cannot find -lpthread I think it is the guile-config program that is adding -lpthread -- try: guile-config link to see if it's the culprit -- if it is, it's a guile problem. You might be able to fix it by hand -- find libpthreads.so and add its directory to the LIBS variable (via -L). Incroyable ! des SMS offerts avec CaraMail Premium - http://www.caramailmax.com From rm at fabula.de Mon Apr 26 05:11:10 2004 From: rm at fabula.de (rm at fabula.de) Date: Mon, 26 Apr 2004 14:11:10 +0200 Subject: [CM] sndlib compilation problem In-Reply-To: <1082979367011154@lycos-europe.com> References: <1082979367011154@lycos-europe.com> Message-ID: <20040426121110.GA10030@www> On Mon, Apr 26, 2004 at 11:36:07AM +0000, alin weiller wrote: > guile-config link gives me : > -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm So, libpthread is requested by guile-config. > So, I found where libpthread.so is : /usr/lib > but this directory is still in LIBS variable of the makefile : LIBS =-L/usr/lib -lm Hmm, '/usr/lib' should be in ld's search patch anyway. I doubt that this is the problem. What happens if you move '-lpthread' in front of -lguile -lguile-ltdl' ? (Load order -does_ matter for 'ld'). > > by the way, I don't know what -lm means. It instructs the linker to add 'libmath' to the created object. > > But it still does not work. > > when I write "ld -lpthread" in the console I get : > ld: warning: cannot find entry symbol_start; not setting start address To be expected. You ask 'ld' to create a plain-ol' binary application. Hence it tries to link the (elf) startup/finishing code to the object (usually from libc.a). The startup code will call _start (that's what 'main(...)' is comiled to). Since non of the objects you hand to 'ld' provides a 'main(...)' the linker will complain. For such tests you can either try: $ ld -r -lpthread or: $ ld -shared -lpthread > > Any idea is welcome. See above HTH Ralf Mattes > Thank you > > A-LIN > > ------- Message > original ------- > De: Bill > Schottstaedt > > Date: Mon, 26 Apr > 2004 03:51:53 -0700 > Sujet: Re: [CM] > sndlib compilation > problem > > > ld: cannot find > -lpthread > > I think it is the > guile-config program > that is adding > -lpthread -- > try: > > guile-config link > > to see if it's the > culprit -- if it is, > it's a guile > problem. > You might be able to > fix it by hand -- > find libpthreads.so > and add its > directory to the > LIBS variable (via > -L). > > Incroyable ! des SMS offerts avec CaraMail Premium - http://www.caramailmax.com > From juanig at ccrma.Stanford.EDU Mon Apr 26 08:14:10 2004 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Mon, 26 Apr 2004 11:14:10 -0400 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> Message-ID: <1082992450.4573.43.camel@strawberri.maginvent.org> Nando, it's great that your are presenting the lisp world and sort of breathing among those [ C, C++] inhabitants. We lispers also like to believe (in some cases) that we like the 'geeky' approach. It would be great to have more information about your paper. --* Juan Reyes PD: Here is the abstract from Nando's presentation which I find ver amusing. > Before rodents ran wild and permanently trained users to track a tiny > cursor in a screen, mere words were the interface and old fashioned > mechanical keys were the input device. From that time in history come > text based sound generation and processing languages like CLM... > > I'll briefly introduce sound synthesis and processing concepts and > theory, and algorithmic composition techniques using Common Lisp based > non-realtime tools (Common Music [CM] / Common Lisp Music [CLM]). > Additive / Subtractive / Modulation synthesis, Granular synthesis, > Digital Filtering, Automata, Fractals, Chaos and much more (especially > chaos :-) From fbar at footils.org Mon Apr 26 09:22:57 2004 From: fbar at footils.org (Frank Barknecht) Date: Mon, 26 Apr 2004 18:22:57 +0200 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <1082992450.4573.43.camel@strawberri.maginvent.org> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> Message-ID: <20040426162256.GE29743@fliwatut.scifi> Hallo, Juan Reyes hat gesagt: // Juan Reyes wrote: > > Nando, it's great that your are presenting the lisp world and sort of > breathing among those [ C, C++] inhabitants. We lispers also like to > believe (in some cases) that we like the 'geeky' approach. It would be > great to have more information about your paper. > There are some more lispish talks at the conference. We talkers had to supply material like slides in advance, they should show up on the ZKM site sooner or later. Also to my knowledge a stream is planned and probably all talks will be archived as ogg or mp3 files like last year as well. I don't know if the concerts or the Linux Sound Night will be stream/archived, though. Another interesting thing: There will be a live IRC chat going on. probably at #lad on Freenode http://www.linuxdj.com/audio/lad/irc.php3 but I don't know the channel for sure. You will be able to ask Fernando questions over IRC, as someone in the audience will follow the chat. Ciao -- Frank Barknecht _ ______footils.org__ From juanig at ccrma.Stanford.EDU Mon Apr 26 08:56:26 2004 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Mon, 26 Apr 2004 11:56:26 -0400 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <20040426162256.GE29743@fliwatut.scifi> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <20040426162256.GE29743@fliwatut.scifi> Message-ID: <1082994985.4573.58.camel@strawberri.maginvent.org> > Another interesting thing: There will be a live IRC chat going on. > probably at #lad on Freenode http://www.linuxdj.com/audio/lad/irc.php3 > but I don't know the channel for sure. You will be able to ask > Fernando questions over IRC, as someone in the audience will follow > the chat. Thanks Frank. Wow this really 'sounds' appealing I am looking forward for the Ogg files but now that you mention, it would be great to have live "audio streaming". Kindly, if you know something, let us know if this will be possible. --* Juan From fbar at footils.org Mon Apr 26 11:45:43 2004 From: fbar at footils.org (Frank Barknecht) Date: Mon, 26 Apr 2004 20:45:43 +0200 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <1082994985.4573.58.camel@strawberri.maginvent.org> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <20040426162256.GE29743@fliwatut.scifi> <1082994985.4573.58.camel@strawberri.maginvent.org> Message-ID: <20040426184543.GA32194@fliwatut.scifi> Hallo, Juan Reyes hat gesagt: // Juan Reyes wrote: > Wow this really 'sounds' appealing I am looking forward for the Ogg > files but now that you mention, it would be great to have live "audio > streaming". Kindly, if you know something, let us know if this will be > possible. I'm sure there will be a stream, but I don't know where. Better watch the website, as I might not be able to write many emails while at the conference. Ciao -- Frank Barknecht _ ______footils.org__ From bil at ccrma.Stanford.EDU Tue Apr 27 03:59:35 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 27 Apr 2004 03:59:35 -0700 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <1082992450.4573.43.camel@strawberri.maginvent.org> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> Message-ID: <408E3D17.5030606@ccrma> I claim that anyone using Snd is using CLM in realtime, all the time. The Common Lisp version could be used in realtime with great difficulty, but that (the difficulty) is not CLM's fault (I've seen this non-realtime bogosity so many times I'm becoming cranky about it). Heck, I was doing real-time algorithmic composition on the Samson box in 1980 -- using the predecessor of CLM, and Pla, one of the predecessors of Common Music. Grumble, mutter.... From bil at ccrma.Stanford.EDU Tue Apr 27 04:15:13 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 27 Apr 2004 04:15:13 -0700 Subject: [CM] sndlib compilation problem In-Reply-To: <1082979367011154@lycos-europe.com> References: <1082979367011154@lycos-europe.com> Message-ID: <408E40C1.2070700@ccrma> > So, I found where libpthread.so is : /usr/lib > but this directory is still in LIBS variable of the makefile : LIBS =-L/usr/lib -lm Put the -L/usr/lib before the -lpthread in the LIBS statement. I think currently you have: ld -r headers.o audio.o io.o sound.o xen.o vct.o clm.o sndlib2xen.o clm2xen.o midi.o -o sndlib.a -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm -L/usr/lib -lm so change it to ld -r headers.o audio.o io.o sound.o xen.o vct.o clm.o sndlib2xen.o clm2xen.o midi.o -o sndlib.a -lguile -lguile-ltdl -lqthreads -L/usr/lib -lpthread -lcrypt -lm From dlphilp at bright.net Tue Apr 27 05:11:47 2004 From: dlphilp at bright.net (Dave Phillips) Date: Tue, 27 Apr 2004 08:11:47 -0400 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <408E3D17.5030606@ccrma> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <408E3D17.5030606@ccrma> Message-ID: <408E4E03.4060202@bright.net> Greetings: Btw, for those who may not know, some of Bill's seminal work is available in reprint in various MIT/Computer Music Journal publications, e.g. "The Music Machine", "Current Directions In Computer Music Resaearch", and "Foundations of Computer Music". I recommend all those MIT/CMJ books to all serious students of electroacoustic music, not only for Bill's articles but for all the great stuff in them. It's still interesting stuff to read, and it gives us dwarves some idea of the work done by those giants upon whose shoulders we stand so elevated. Best, dp Bill Schottstaedt wrote: > I claim that anyone using Snd is using CLM in realtime, > all the time. The Common Lisp version could be used > in realtime with great difficulty, but that (the difficulty) > is not CLM's fault (I've seen this non-realtime bogosity > so many times I'm becoming cranky about it). > > Heck, I was doing real-time algorithmic composition on the > Samson box in 1980 -- using the predecessor of CLM, and Pla, > one of the predecessors of Common Music. Grumble, mutter.... > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From nando at ccrma.Stanford.EDU Wed Apr 28 03:25:59 2004 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: 28 Apr 2004 03:25:59 -0700 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <408E3D17.5030606@ccrma> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <408E3D17.5030606@ccrma> Message-ID: <1083147953.10811.82.camel@cmn37.stanford.edu> > I claim that anyone using Snd is using CLM in realtime, > all the time. The Common Lisp version could be used > in realtime with great difficulty, but that (the difficulty) > is not CLM's fault (I've seen this non-realtime bogosity > so many times I'm becoming cranky about it). Sorry about this... I'll make it clear that it can be used in real time as well. When I have used clm for pieces, I have never used it in its realtime mode because I immediately start creating stuff that cannot be rendered in that mode because the computer is not fast enough (and I think computers will never will be "fast enough" for me, every time a faster computer comes along I manage to start doing more complicated things - the average wait for rendering is probably a constant for me :-) -- Fernando From marco at ccrma.Stanford.EDU Wed Apr 28 07:26:25 2004 From: marco at ccrma.Stanford.EDU (Marco Trevisani) Date: Wed, 28 Apr 2004 10:26:25 -0400 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <1083147953.10811.82.camel@cmn37.stanford.edu> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <408E3D17.5030606@ccrma> <1083147953.10811.82.camel@cmn37.stanford.edu> Message-ID: <20040428142624.GD7253@trevisani.net> I want to take Bill side and clarify something, which should be clear but it is usually not, maybe Fernando could include that in his paper... (i know fernando knows well this distinction i'm talking about a general audience). Most of the computation in CLM is made in real time, often faster than real time, a part for very elaborated instruments, and those cases are the same for any other similar application -csound, nyquist, editors etc. (i think even PD would have hard time to process in real time some complex clm intruments). OK, but one thing is processing in real time, another story is listening a process while is processed (of course those process need to be either in real time or faster than real time). These two features are different and often mixed, uncorrectly, into the same one: real time. Yes indeed listening the result of a process while is computing certainly is not the main feature in CLM (question is that really needed in CLM?). Saying that CLM lack of real time capability, i think i pretty much incorrect. my two puertorican cents (which are the same as US $ btw) marco 28/04/2004 alle 03:25:59, -0700, Fernando Pablo Lopez-Lezcano [AKA nando] ha scritto/escribi?/wrote: > > I claim that anyone using Snd is using CLM in realtime, > > all the time. The Common Lisp version could be used > > in realtime with great difficulty, but that (the difficulty) > > is not CLM's fault (I've seen this non-realtime bogosity > > so many times I'm becoming cranky about it). > > Sorry about this... I'll make it clear that it can be used in real time > as well. > > When I have used clm for pieces, I have never used it in its realtime > mode because I immediately start creating stuff that cannot be rendered > in that mode because the computer is not fast enough (and I think > computers will never will be "fast enough" for me, every time a faster > computer comes along I manage to start doing more complicated things - > the average wait for rendering is probably a constant for me :-) > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist -- ************************************************************************ * marco trevisani * * http://marco.trevisani.net marco at trevisani.net * * Neither MS-Word nor MS-PowerPoint attachments please: * * See http://www.fsf.org/philosophy/no-word-attachments.html * * Gpg Fingerprint = A9CD 12D6 B658 A545 9BD1 77E9 47AD 8753 8110 7070 * ************************************************************************ From juanig at ccrma.Stanford.EDU Wed Apr 28 08:00:51 2004 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Wed, 28 Apr 2004 11:00:51 -0400 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <408E3D17.5030606@ccrma> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <408E3D17.5030606@ccrma> Message-ID: <1083164450.2210.26.camel@strawberri.maginvent.org> Bill, The concept of ' algorithmic composition ' in real-time by itself sounds pretty amazing. I have been toggling my mind about it since yesterday and I still wonder how were you doing that in those days. One can argue that real-time signal processing in programs like Pd or even STK use algorithmic composition but for myself working with them, narrows down to filtering which strictly speaking is not often part of the composition process per se. In some other contexts it might be regarded as interactive composition or even as improvisation. The more I think this approach differs from trying to follow a procedure or an algorithm in a composition to produce a sequence of musical events or even a gesture. -- Juan Reyes > > Heck, I was doing real-time algorithmic composition on the > Samson box in 1980 -- using the predecessor of CLM, and Pla, > one of the predecessors of Common Music. Grumble, mutter.... From andrea.glorioso at agnula.org Wed Apr 28 13:06:15 2004 From: andrea.glorioso at agnula.org (Andrea Glorioso) Date: Wed, 28 Apr 2004 22:06:15 +0200 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> (Marc Riedel's message of "Fri, 23 Apr 2004 17:19:23 +0200") References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> Message-ID: <87zn8vvpe0.fsf@perchetopi.org> [Putting users@ and developers at lists.agnula.org for reference - to the AGNULA people, please don't keep cmdist on Cc:, as I doubt that our discussions are interesting to common musicians (what's the name for CM users?] >>>>> "Marc" == Marc Riedel writes: > Among the speakers are also the team leaders of the two great > Linux audio distributions, PlanetCCRMA and Agnula, ready to > answer questions. Also, for the first time a CD-bootable Live > Linux audio system is being developed which will help newcomers > in evaluating what Linux can do for them. The end of the > conference will be marked by a panel discussion about the future > of free audio software under Linux. As much as being defined the team leader of a great Linux audio distribution can really pump up your ego, I have to correct (slightly) the above: the `live' version of AGNULA/DeMuDi (which, if I understood correctly, will be offered both at the meeting and to Linux Magazin subscribers, thanks to the kind work of Frank Neumann who acted as a glue between AGNULA and the people at Linux Magazin) is not the first live GNU/Linux distribution dedicated to multimedia. Medialinux (http://www.opensourcelabs.it/) and Dyne:Bolic (http://www.dyne.org/) have been developed before AGNULA/DeMUDi, in fact. One could say that AGNULA/DeMuDi is more focused on audio and sound than the above distributions, which are more for "multimedia guys" (whatever than means :). I suggest trying the above mentioned distros - they are really nice. Of course, trying AGNULA/DeMuDi (and reporting all the bugs you can find) would be a plus. > During the conference the brand-new Lionstracs Mediastation can > be seen. This keyboard, targeted towards music production, is > almost completely based on free linux software. I'm quite curious seeing it. I'd love having AGNULA/DeMuDi inside the Mediastation - who knows? :) Feel free to write me for any information on AGNULA and AGNULA/DeMuDi, and pardon me for the off topic message. bye, -- Andrea Glorioso andrea.glorioso at agnula.org AGNULA Technical Manager http://www.agnula.org/ M: +39 333 820 5723 F: +39 (0)51 930 31 133 "Libre Audio, Libre Video, Libre Software: AGNULA" From taube at uiuc.edu Wed Apr 28 11:02:52 2004 From: taube at uiuc.edu (Rick Taube) Date: Wed, 28 Apr 2004 13:02:52 -0500 Subject: [CM] 2nd International Linux Audio Conference Message-ID: <449B7BD4-993E-11D8-9A76-000A95674CE4@uiuc.edu> i think for the term "real-time composition" to mean anything then the composer that follows this model should require exactly 60- minutes to write a 60 minute piece and never go back and change their mind about any note (or whatever) that they claim they are composing durring that time. Not even Hydan did that! And if they are not doing this then there should be another name for what they are doing. I think composition is about makeing something as good as it can be -- and so i dont see how it is possible to remove reflection, interation, revisitation and refinement from what composition is. These all involve going back and changing something such that -- if it ever happens -- it will be better. That is not real time, or if it is then the term means nothing. I think its only random chance when composition is in real time. Sometimes the composition process is "faster than real time", like the sudden moment in which you understand what the next minute of the pieve will be. Usually is slower, like when you actually make that minute be as good as it can be. For me this process is much more likely to involve hours or days than it is to take a minute. It once took me 9 months to write a 22 minute piece, that's a 388800/22 compute ratio! From bil at ccrma.Stanford.EDU Thu Apr 29 04:03:27 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 29 Apr 2004 04:03:27 -0700 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <1083164450.2210.26.camel@strawberri.maginvent.org> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <408E3D17.5030606@ccrma> <1083164450.2210.26.camel@strawberri.maginvent.org> Message-ID: <4090E0FF.70202@ccrma> > Yes indeed listening the result of a process while is computing > certainly is not the main feature in CLM (question is that really > needed in CLM?). Saying that CLM lack of real time capability, i think i > pretty much incorrect. I meant "realtime"! CLM in Scheme, Ruby, or C, for example, has no trouble synthesizing new samples, or processing in-coming samples, while the starry-eyed composer clicks and drags widgets that control those processes, listening to the output as he does so -- I'm not trying to play games with words. Look at the numerous examples in Snd, or try moving the "speed" control while playing a sound in Snd -- you are actually using the CLM src generator. Most of the processing in Snd is based on CLM generators. So it's not just "capable of realtime", it does it constantly and easily -- see the fm-violin dialog in snd-motif for example. > The concept of ' algorithmic composition ' in real-time by itself sounds > pretty amazing. I have been toggling my mind about it since yesterday > and I still wonder how were you doing that in those days. I'll try to dig up the actual sources -- I've kept most of the Samson box files somewhere. Briefly, though, the Samson box was the equivalent of a 200 MHz PC, more or less, so it could do a reasonable number of my fm violins plus reverb in realtime -- and I mean listening to the output as the box calculated it. I can't actually remember now how many violins -- I think it was about 30 at a reasonable sampling rate. We didn't have mice, but we used the keyboard. The input I used was Pla expressions, like typing Scheme to the listener, but that was simply a choice. I had a compositional algorithm running in Pla, generating calls on the violins, (using the Foonly system clock to time them) as I sat there poking the variables that controlled that algorithm -- call it realtime algorithmic "improvisation" if "composition" seems too grand. An example in the CL CLM is bess5.cl, translated by Michael Scholz to Ruby in Snd's bess1.rb. I think I talk about this business in one of the Pla articles. Perhaps the confusion arises because most computer music types say "realtime" when they mean "MIDI" -- "'when I use a word', Humpty Dumpty said..." From nando at ccrma.Stanford.EDU Thu Apr 29 10:36:55 2004 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: 29 Apr 2004 10:36:55 -0700 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <4090E0FF.70202@ccrma> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <408E3D17.5030606@ccrma> <1083164450.2210.26.camel@strawberri.maginvent.org> <4090E0FF.70202@ccrma> Message-ID: <1083260209.15391.16.camel@cmn37.stanford.edu> > > The concept of ' algorithmic composition ' in real-time by itself sounds > > pretty amazing. I have been toggling my mind about it since yesterday > > and I still wonder how were you doing that in those days. > > I'll try to dig up the actual sources -- I've kept most of the Samson > box files somewhere. That would be great..... -- Fernando From juanig at ccrma.Stanford.EDU Thu Apr 29 13:37:20 2004 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Thu, 29 Apr 2004 16:37:20 -0400 Subject: [CM] 2nd International Linux Audio Conference In-Reply-To: <4090E0FF.70202@ccrma> References: <99BBB064-9539-11D8-9664-0050E4E6FC34@zkm.de> <1082992450.4573.43.camel@strawberri.maginvent.org> <408E3D17.5030606@ccrma> <1083164450.2210.26.camel@strawberri.maginvent.org> <4090E0FF.70202@ccrma> Message-ID: <1083271040.8674.25.camel@strawberri.maginvent.org> > while the > starry-eyed composer clicks and drags widgets that control those > processes, listening to the output as he does so -- I still wonder whether the "starry-eyed" composer has real-time (or rather big-time) to **listen** while focusing on where to click next. > as I sat there poking the variables > that controlled that algorithm -- call it realtime algorithmic > "improvisation" if "composition" seems too grand. BTW, your description clearly outlines that aspect of algorithmic composition which indeed I also find it to be in "real-time" in particular the 'search' almost in AI terms, for the ideal sound. This is really algorithmic. From alinweiller at caramail.com Thu Apr 29 19:10:22 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 30 Apr 2004 02:10:22 GMT Subject: [CM] stereo? Message-ID: <1083291022023855@lycos-europe.com> Hi, I try to create a stereo sound but don't succed, I'm suing locsig. The peace of code below should produce a sinusoide on two channels I save it in the file sin.ins (definstrument sinuso (time duration frequency) (let* ((srate *clm-srate* ) (beg (floor (* time srate))) (end (+ beg (floor (* duration srate))) ) (car (make-oscil :frequency frequency)) (loc (make-locsig :degree 60 :distance 1 :reverb 10 :channels 2))) (run (loop for i from beg to end do (locsig loc i (oscil car)))))) then try this (compile-file "/home/a-lin/CMCLM/sin.ins") (load "/home/a-lin/CMCLM/sin") (with-sound () (sinuso 0 1 440)) The result is a sinusoide but on one channel ??????? Please help me, I start to become crazy A-LIN C est le moment de dynamiser votre bo?te mail en d?couvrant les offres CaraMail Premium - http://www.caramailmax.com From alinweiller at caramail.com Thu Apr 29 19:49:13 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 30 Apr 2004 02:49:13 GMT Subject: [CM] stereo? found! Message-ID: <1083293353017883@lycos-europe.com> ok, I found by myself, I guess I start to become autonomous... A-LIN ------- Message original ------- De: alin weiller Date: Fri, 30 Apr 2004 02:10:22 GMT Sujet: [CM] stereo? Hi, I try to create a stereo sound but don't succed, I'm suing locsig. The peace of code below should produce a sinusoide on two channels I save it in the file sin.ins (definstrument sinuso (time duration frequency) (let* ((srate *clm-srate* ) (beg (floor (* time srate))) (end (+ beg (floor (* duration srate))) ) (car (make-oscil :frequency frequency)) (loc (make-locsig :degree 60 :distance 1 :reverb 10 :channels 2))) (run (loop for i from beg to end do (locsig loc i (oscil car)))))) then try this (compile-file "/home/a-lin/CMCLM/sin.ins") (load "/home/a-lin/CMCLM/sin") (with-sound () (sinuso 0 1 440)) The result is a sinusoide but on one channel ??????? Please help me, I start to become crazy A-LIN C est le moment de dynamiser votre bo?te mail en d?couvrant les offres CaraMail Premium - http://www.caramailmax.com Marre des Spams ? - http://www.caramailmax.com