From taube at uiuc.edu Mon May 3 06:38:13 2004 From: taube at uiuc.edu (Rick Taube) Date: Mon, 3 May 2004 08:38:13 -0500 Subject: [CM] plotter? In-Reply-To: References: Message-ID: <1FFEE9E0-9D07-11D8-B349-000A95674CE4@uiuc.edu> Hello, sorry I forgot to reply to your email. THe plotter code will only work 'as is' in MCL (Mac classis and osx) I would like to rewrite the interface so that it can run on both OS X and Linux but I'm still not sure what the best way to accomplish this would be. On Apr 26, 2004, at 5:12 AM, Ville Isomottonen wrote: > > 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. > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Wed May 5 04:30:29 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 05 May 2004 04:30:29 -0700 Subject: [CM] Sourceforge Message-ID: <4098D055.3040903@ccrma> I think I'm going to close the CVS account at sourceforge -- will that severely inconvenience anyone? My impression from the (buggy) statistics they provide is that no-one is using it except to get the tarball, and that's available from ccrma-ftp. (I personally have no use for it). From dlphilp at bright.net Wed May 5 05:26:03 2004 From: dlphilp at bright.net (Dave Phillips) Date: Wed, 05 May 2004 08:26:03 -0400 Subject: [CM] Sourceforge In-Reply-To: <4098D055.3040903@ccrma> References: <4098D055.3040903@ccrma> Message-ID: <4098DD5B.7080405@bright.net> Hi Bill: I didn't even realize there's a SF account for cmdist stuff, so I guess it doesn't make much difference to me... ;) Btw, be sure to ask Fernando about the new "Dance Dance Nando" software from Ivica Ico Bukvic. You may not have been aware of your colleague's advanced terpsichorean abilities... Best, dp Bill Schottstaedt wrote: > I think I'm going to close the CVS account at sourceforge -- > will that severely inconvenience anyone? My impression > from the (buggy) statistics they provide is that no-one > is using it except to get the tarball, and that's available > from ccrma-ftp. (I personally have no use for it). > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From rm at fabula.de Wed May 5 05:03:45 2004 From: rm at fabula.de (rm at fabula.de) Date: Wed, 5 May 2004 14:03:45 +0200 Subject: [CM] Sourceforge In-Reply-To: <4098DD5B.7080405@bright.net> References: <4098D055.3040903@ccrma> <4098DD5B.7080405@bright.net> Message-ID: <20040505120345.GA24758@www> On Wed, May 05, 2004 at 08:26:03AM -0400, Dave Phillips wrote: > Hi Bill: > > I didn't even realize there's a SF account for cmdist stuff, so I > guess it doesn't make much difference to me... ;) Well, even so i mostly used the tarballs i still think a CVS repository is helpfull. It comes pretty handy when hunting version incompatibilies/bugs introduced by recent changes -- looking at CVS diffs to find code that changed since the last working version reduces debugging time. BTW, i'm not too big a fan of SF (their repositories seem to have performance problems and commit delays and their mailing list archives tend to be out of date during the first week of a month). How about migrating to Savannah.gnu.org? > Btw, be sure to ask Fernando about the new "Dance Dance Nando" > software from Ivica Ico Bukvic. You may not have been aware of your > colleague's advanced terpsichorean abilities... Darn! I wish i could've attended the whole conference :-) Ralf Mattes > > Best, > > dp > > > > > > Bill Schottstaedt wrote: > > >I think I'm going to close the CVS account at sourceforge -- > >will that severely inconvenience anyone? My impression > >from the (buggy) statistics they provide is that no-one > >is using it except to get the tarball, and that's available > >from ccrma-ftp. (I personally have no use for it). > > > >_______________________________________________ > >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 alinweiller at caramail.com Wed May 5 13:41:09 2004 From: alinweiller at caramail.com (alin weiller ) Date: Wed, 05 May 2004 20:41:09 GMT Subject: [CM] Stereo and time stretch HQ Message-ID: <1083789669020786@lycos-europe.com> Hello, I have two questions : 1) I want send a sound in strereo when I use the process function in CM, I know how to send a strereo sound with (with-sound ...) but not with (process ... output...) and the doc is not very talketive about that. 2) I'm looking for a good algorithm for time stretching and pitching the sound with a High Quality. Thank you in advance. A-LIN Incroyable ! des SMS offerts avec CaraMail Premium - http://www.caramailmax.com From scholz-micha at gmx.de Wed May 5 22:11:08 2004 From: scholz-micha at gmx.de (Michael Scholz) Date: 06 May 2004 07:11:08 +0200 Subject: [CM] Sourceforge In-Reply-To: <4098D055.3040903@ccrma> References: <4098D055.3040903@ccrma> Message-ID: <8665badtsj.fsf@Lerche.Socrates> > I think I'm going to close the CVS account at sourceforge -- > will that severely inconvenience anyone? I daily update my local Snd-CVS-tree which is much more convenient than downloading 5+MB. Am I the only one using CVS? So it seems I'm out of luck... Mike From rm at fabula.de Thu May 6 02:16:03 2004 From: rm at fabula.de (rm at fabula.de) Date: Thu, 6 May 2004 11:16:03 +0200 Subject: [CM] Sourceforge In-Reply-To: <8665badtsj.fsf@Lerche.Socrates> References: <4098D055.3040903@ccrma> <8665badtsj.fsf@Lerche.Socrates> Message-ID: <20040506091603.GA29631@www> On Thu, May 06, 2004 at 07:11:08AM +0200, Michael Scholz wrote: > > I think I'm going to close the CVS account at sourceforge -- > > will that severely inconvenience anyone? > > I daily update my local Snd-CVS-tree which is much more convenient > than downloading 5+MB. Am I the only one using CVS? So it seems I'm > out of luck... Not daily, but i _do_ use CVS. Not so much to save traffic but to keep a history (admitedly, in the case of CM this is not to important for me since CM is a hobby, but it's very convenient to use the same tools that i use in daily work ;-) RalfD > Mike > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Thu May 6 03:54:19 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 06 May 2004 03:54:19 -0700 Subject: [CM] Sourceforge In-Reply-To: <8665badtsj.fsf@Lerche.Socrates> References: <4098D055.3040903@ccrma> <8665badtsj.fsf@Lerche.Socrates> Message-ID: <409A195B.3000402@ccrma> Oh -- I didn't know you were using it! This came up because I can no longer update files at Sourceforge; I wasted an hour or so digging through their documentation. I guess I'll file a bug report. I have almost zero tolerance for this kind of screw-up (and Fernando says it's their problem which is good enough for me). I would love to move elsewhere! I opened that account primarily to stake a claim to the name "snd", and subsequently it seemed like good advertising. From bil at ccrma.Stanford.EDU Thu May 6 04:06:44 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 06 May 2004 04:06:44 -0700 Subject: [CM] Stereo and time stretch HQ In-Reply-To: <1083789669020786@lycos-europe.com> References: <1083789669020786@lycos-europe.com> Message-ID: <409A1C44.2000203@ccrma> > 2) I'm looking for a good algorithm for time stretching and pitching the sound with a High Quality. There are three, but each has problems. I would try the granular synthesis approach first (the "expand" control); there are functions to separate the pitch shift from the time stretch -- expsrc, expsnd, etc. Then I'd try rubber-sound in rubber.scm -- it looks for stable portions of a sound and tries to add or delete periods until the desired time stretch is reached, but it's not robust (and it's very slow). As a last resort, try the phase vocoder -- some people claim it works. On the pitch shift side -- use src (the sample-rate-change generator), src-sound, etc. From bil at ccrma.Stanford.EDU Thu May 6 04:29:33 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 06 May 2004 04:29:33 -0700 Subject: [CM] Sourceforge In-Reply-To: <409A195B.3000402@ccrma> References: <4098D055.3040903@ccrma> <8665badtsj.fsf@Lerche.Socrates> <409A195B.3000402@ccrma> Message-ID: <409A219D.1060800@ccrma> > This came up because > I can no longer update files at Sourceforge; Heh heh... I said to myself "this thing is so broken, I can't do anything wrong to it", and I started editing the CVS directory entries by hand (this after sourceforge's suggested bugfix failed to have any effect), and by some miracle, a "commit" command just worked, I think -- or maybe I overwrote some NORAD files. From juanig at ccrma.Stanford.EDU Thu May 6 07:21:13 2004 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Thu, 06 May 2004 10:21:13 -0400 Subject: [CM] Sourceforge In-Reply-To: <8665badtsj.fsf@Lerche.Socrates> References: <4098D055.3040903@ccrma> <8665badtsj.fsf@Lerche.Socrates> Message-ID: <1083853273.7232.25.camel@strawberri.maginvent.org> May be is the time for us to start using CVS. I know Rick encourage his users to update through CVS and I blame myself for not doing it because I have not taken time to learn CVS basics. Michael, any chance of a small tutorial on how you "CVS" snd, sndlib or perhaps clm ? --* Juan On Thu, 2004-05-06 at 01:11, Michael Scholz wrote: > > I think I'm going to close the CVS account at sourceforge -- > > will that severely inconvenience anyone? > > I daily update my local Snd-CVS-tree which is much more convenient > than downloading 5+MB. Am I the only one using CVS? So it seems I'm > out of luck... > > Mike > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From scholz-micha at gmx.de Thu May 6 11:32:31 2004 From: scholz-micha at gmx.de (Michael Scholz) Date: 06 May 2004 20:32:31 +0200 Subject: [CM] Sourceforge In-Reply-To: <1083853273.7232.25.camel@strawberri.maginvent.org> References: <4098D055.3040903@ccrma> <1083853273.7232.25.camel@strawberri.maginvent.org> Message-ID: <86hdutieyo.fsf@Lerche.Socrates> > Michael, any chance of a small tutorial on how you "CVS" snd, sndlib or > perhaps clm ? Juan, there is no magic to do CVS. But it works only with Snd, not with sndlib or CLM. The last lines in snd/README.Snd give corresponding advice. For example, if you have a directory ~/src. cd ~/src cvs -d:pserver:anonymous at cvs.snd.sourceforge.net:/cvsroot/snd login # press enter for password cvs -z3 -d:pserver:anonymous at cvs.snd.sourceforge.net:/cvsroot/snd co cvs-snd and after finishing you have a directory ~/src/snd (or ~/src/cvs-snd, I'm not sure; you can rename it like you want). The next day cd ~/src/snd (or even ~/src/cvs-snd) cvs update That's all. The user-side is very easy, unfortunately the maintainer-side obviously not, like Bill said. A circumvent for sndlib may be: untar and configure sndlib.tar.gz and do softlinks of relevant files (snd/*.[ch]) from the cvs-snd tree to sndlib's tree. But from time to time you may download sndlib.tar.gz to update the configure* and config.h.in files too. Mike From scholz-micha at gmx.de Thu May 6 11:10:49 2004 From: scholz-micha at gmx.de (Michael Scholz) Date: 06 May 2004 20:10:49 +0200 Subject: [CM] Sourceforge In-Reply-To: <409A219D.1060800@ccrma> References: <4098D055.3040903@ccrma> <409A195B.3000402@ccrma> <409A219D.1060800@ccrma> Message-ID: <86k6zpifyu.fsf@Lerche.Socrates> > > This came up because > > I can no longer update files at Sourceforge; > > Heh heh... I said to myself "this thing is so broken, I can't > do anything wrong to it", and I started editing the CVS directory > entries by hand (this after sourceforge's suggested bugfix > failed to have any effect), and by some miracle, a "commit" > command just worked, I think -- or maybe I overwrote some > NORAD files. CVS update works again. From time to time I have connect problems with SF, but most time it works (more or less). But it seems to be not much fun to manage your side of CVS-SF. Like Ralf Mattes mentioned Savannah may be a better choice? Mike From alinweiller at caramail.com Thu May 6 13:29:22 2004 From: alinweiller at caramail.com (alin weiller ) Date: Thu, 06 May 2004 20:29:22 GMT Subject: [CM] apply audio effects on processes Message-ID: <1083875362006892@lycos-europe.com> Hi, thank you that you answered me so quickly, it has been very helpfull. Actually I am little in a hurry because I am using CM/CLM for making a soundtrack for an short movie and the deadline is soon! I have again two short questions : 1) Is it possible to send the result of the event function in output stream instead of file? 2) Is it possible to use LADSPA plungins as Lisp function which takes the input stream and give the output treated by the plugin? Thank you A-LIN Incroyable ! des SMS offerts avec CaraMail Premium - http://www.caramailmax.com From alinweiller at caramail.com Thu May 6 15:49:34 2004 From: alinweiller at caramail.com (alin weiller ) Date: Thu, 06 May 2004 22:49:34 GMT Subject: [CM] apply audio effects on processes Message-ID: <1083883774027429@lycos-europe.com> I mean, for instance, I have processes controled by the events function : (events ((proc1 arg1) (proc2 arg2)...) "/sound.aiff") I don't want to write the result directly in the file "sound.aiff", I want fisrt to apply some CLM effects on it directly. Otherwise for LADSPA plugins, since there is in Snd the possibility to use them, I was wondering if it's possible to use LADSPA plugins directly in CM in a simple way. A-LIN >1) Is it possible to send the result of the event function in output stream instead of file? > i dont know what this means. You can make an event stream that writes to standard output, if that is what you want: (setf s (new event-stream :stream *standard-output*)) (events (whatever) s) If you are in clisp on unix then you can the value of :stream to a clisp "pipe stream" that connects to some application. see the clisp manual about that. >2) Is it possible to use LADSPA plungins as Lisp function which takes the input stream and give the output treated >by the plugin? > sorry, i dont understand this. maybe you want a clisp pipe stream as in my first answer? Marre des Spams ? - http://www.caramailmax.com From taube at uiuc.edu Thu May 6 05:39:19 2004 From: taube at uiuc.edu (Rick Taube) Date: Thu, 6 May 2004 07:39:19 -0500 Subject: [CM] Stereo and time stretch HQ In-Reply-To: <1083789669020786@lycos-europe.com> References: <1083789669020786@lycos-europe.com> Message-ID: <64A7A992-9F5A-11D8-B477-000A95674CE4@uiuc.edu> just pass the keyword arguments to withsound to the 'events' function: (events (whatever) "test.aiff" :srate 44100 :channels 2 ...) alternately you can use the 'io' macro to preset the stream: (io "out.aiff" :channels 2 ...) (events (whatever) "out.aiff") On May 5, 2004, at 3:41 PM, alin weiller wrote: > Hello, > > I have two questions : > > 1) I want send a sound in strereo when I use the process function in > CM, > I know how to send a strereo sound with (with-sound ...) but not with > (process ... output...) and the doc is not > very talketive about that. > > 2) I'm looking for a good algorithm for time stretching and pitching > the sound with a High Quality. > > Thank you in advance. > > A-LIN > > Incroyable ! des SMS offerts avec CaraMail Premium - > http://www.caramailmax.com > From taube at uiuc.edu Thu May 6 12:45:19 2004 From: taube at uiuc.edu (Rick Taube) Date: Thu, 6 May 2004 14:45:19 -0500 Subject: [CM] Sourceforge In-Reply-To: <86k6zpifyu.fsf@Lerche.Socrates> References: <4098D055.3040903@ccrma> <409A195B.3000402@ccrma> <409A219D.1060800@ccrma> <86k6zpifyu.fsf@Lerche.Socrates> Message-ID: except for the occasional sf downtime i really havent had many problems with sf, and most of my problems have been due to me not understading some issue with cvs before i issued some command. on the whole cvs has been a huge relief for me and the ability to revert to earlier versions of a file has saved my bacon several times already. in fact, ive even started using cvs for composing. my latest piece is a cvs project so that i can easliy squirrel away versions and drafts of each movement without having to worry about backing things up. plus i cqn get at my work from anywhere on the net, which means i dont have to burn cds etc to take home or on trips. cvs is still a bit cryptic to me but im definately a convert. From taube at uiuc.edu Thu May 6 14:35:56 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Thu, 6 May 2004 16:35:56 -0500 Subject: [CM] apply audio effects on processes Message-ID: <53decb64.3c6ca4a0.81e6c00@expms1.cites.uiuc.edu> >1) Is it possible to send the result of the event function in output stream instead of file? > i dont know what this means. You can make an event stream that writes to standard output, if that is what you want: (setf s (new event-stream :stream *standard-output*)) (events (whatever) s) If you are in clisp on unix then you can the value of :stream to a clisp "pipe stream" that connects to some application. see the clisp manual about that. >2) Is it possible to use LADSPA plungins as Lisp function which takes the input stream and give the output treated >by the plugin? > sorry, i dont understand this. maybe you want a clisp pipe stream as in my first answer? From taube at uiuc.edu Thu May 6 14:45:33 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Thu, 6 May 2004 16:45:33 -0500 Subject: [CM] my replies to cmdist Message-ID: <764cc64d.3c6d8644.8220c00@expms1.cites.uiuc.edu> Since spammers are now using my email address to try to send their nonsense to the recipients of this list, my email posts must now be checked by hand. This means there will likely be a delay of a day or so between my reply to a question from the list and when my message is actually sent out. Sorry! From bil at ccrma.Stanford.EDU Fri May 7 03:37:24 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 07 May 2004 03:37:24 -0700 Subject: [CM] Sourceforge In-Reply-To: <86hdutieyo.fsf@Lerche.Socrates> References: <4098D055.3040903@ccrma> <1083853273.7232.25.camel@strawberri.maginvent.org> <86hdutieyo.fsf@Lerche.Socrates> Message-ID: <409B66E4.8090001@ccrma> The ".snd." business was one of the recent changes at Sourceforge -- the new way to use the Snd CVS repository is: cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/snd login cvs -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/snd co cvs-snd (not "cvs.snd.sourceforge") -- I updated the note in README.Snd. From bil at ccrma.Stanford.EDU Fri May 7 03:49:33 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 07 May 2004 03:49:33 -0700 Subject: [CM] apply audio effects on processes In-Reply-To: <1083883774027429@lycos-europe.com> References: <1083883774027429@lycos-europe.com> Message-ID: <409B69BD.8050202@ccrma> > I was wondering if it's possible to use LADSPA plugins > directly in CM in a simple way. I don't think it is -- they are usable from Snd because Snd has a bunch of code to load them and present them through Scheme/Ruby. A similar interface would have to be written for CM and/or CLM. Or perhaps you could drive Snd as a scripting engine from CM? From rm at fabula.de Fri May 7 04:17:45 2004 From: rm at fabula.de (rm at fabula.de) Date: Fri, 7 May 2004 13:17:45 +0200 Subject: [CM] Sourceforge In-Reply-To: <409B66E4.8090001@ccrma> References: <4098D055.3040903@ccrma> <1083853273.7232.25.camel@strawberri.maginvent.org> <86hdutieyo.fsf@Lerche.Socrates> <409B66E4.8090001@ccrma> Message-ID: <20040507111745.GA2305@www> On Fri, May 07, 2004 at 03:37:24AM -0700, Bill Schottstaedt wrote: > The ".snd." business was one of the recent changes at Sourceforge -- > the new way to use the Snd CVS repository is: > > cvs -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/snd login > cvs -z3 -d:pserver:anonymous at cvs.sourceforge.net:/cvsroot/snd co cvs-snd > > (not "cvs.snd.sourceforge") -- I updated the note in README.Snd. BTW, just as a small tip to make cvs easier to use: instead of giving the repository location to each cvs invocation one can set the CVSROOT environment variable. I usually do: $ export CVSROOT=':pserver:anonymous at cvs.sourceforge.net:/cvsroot/snd' bash $ cvs login $ cvs co cvs-snd Another thing to mention: 'diff'-alikes like 'tkdiff' are cvs-aware. The following: $ tkdiff clm.c will show you any differences between your local copy and the version in the repository. hth RalfD > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Fri May 7 04:41:47 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 07 May 2004 04:41:47 -0700 Subject: [CM] clm changes Message-ID: <409B75FB.3040505@ccrma> > $ tkdiff clm.c > will show you any differences between your local copy and the version in the repository. and there have been several lately -- a new "average" generator, a new argument to make-rand and make-rand-interp to give any desired random number distribution, the old sum-of-sines is now sine-bank, and there's a new sum-of-sines paralleling sum-of-cosines (which itself changed slightly to reduce DC). I'm still trying to decide the "right way" to add all-pass delay line interpolation. These changes are also in the common lisp CLM. I was surprised that the fm violin can sound noticeably different if I use (say) gaussian noise -- something I had never tried before. (This is also the case in the physical modeling instruments like pluck and flute). From alinweiller at caramail.com Fri May 7 07:24:10 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 07 May 2004 14:24:10 GMT Subject: [CM] PLEASE HELP : snd->load ladspa Message-ID: <1083939850009608@lycos-europe.com> Hello, When I try to load the ladspa.scm into snd I get the following message : [16:35:01] primitive-load-path: misc-error: Unable to find file "gui.scm" in load path (while loading "/home/a-lin/sources/snd-7/ladspa.scm") ; (load "/home/a-lin/sources/snd-7/ladspa.scm") And when I try to load the new-effects.scm into snd I get this one : [16:39:19] new-effects.scm needs the xm module: xm.so: cannot open shared object file: No such file or directory [16:39:19] primitive-load-path: misc-error: Unable to find file "xm-enved.scm" in load path (while loading "/home/a-lin/sources/snd-7/new-effects.scm") ; (load "/home/a-lin/sources/snd-7/new-effects.scm") please help me as soon as possible, Thank you in advance A-LIN Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr From alinweiller at caramail.com Fri May 7 08:11:56 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 07 May 2004 15:11:56 GMT Subject: [CM] floor -> r1, r2 Message-ID: <1083942716000930@lycos-europe.com> Hi, I have a problem, I wan t to get the second result of the floor function, since it is not a list, cdr or car doesn't work. How can I do? example (floor 6 4) => 1, 2 How to get the 2? Thank's A-LIN Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr From liston at cc.gatech.edu Fri May 7 12:33:27 2004 From: liston at cc.gatech.edu (Richard Liston) Date: Fri, 7 May 2004 15:33:27 -0400 Subject: [CM] WISL (and Snd) Message-ID: <20040507193327.GA18874@gaia.cc.gatech.edu> Hi all, Folks on this list may be interested in taking a look at a software package we are on the verge of releasing called WISL, for "What the Internet Sounds Like". I used Snd to create some of the sounds that are shipping with one of the demo SoundPalettes. I'd be interested in feedback from you folks. This will help us iron out some of the kinks before we go public with it --- possibly next week. I was to have this ready before the Linux Audio Conference, but c'est la logiciel. The WISL home page is at http://www.wisl.info. Cheers, Richard Liston From wsack at acsu.buffalo.edu Fri May 7 12:58:59 2004 From: wsack at acsu.buffalo.edu (Bill Sack) Date: Fri, 07 May 2004 15:58:59 -0400 Subject: [CM] floor -> r1, r2 References: <1083942716000930@lycos-europe.com> Message-ID: <409BEA83.7050707@acsu.buffalo.edu> CM(1): (rem 6 4) 2 CM(2): alin weiller wrote: > Hi, I have a problem, I wan t to get the second result of the floor function, since it is not a list, cdr or car > doesn't work. > How can I do? > > example > > (floor 6 4) > => > 1, 2 > > How to get the 2? > > Thank's > > A-LIN > > Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr > -- _________ Bill Sack wsack(a)acsu.buffalo.edu ---------------------- From magnus at compusic.se Sat May 8 01:42:44 2004 From: magnus at compusic.se (Magnus Frenning) Date: Sat, 08 May 2004 10:42:44 +0200 Subject: [CM] floor -> r1, r2 In-Reply-To: <409BEA83.7050707@acsu.buffalo.edu> References: <1083942716000930@lycos-europe.com> <409BEA83.7050707@acsu.buffalo.edu> Message-ID: <409C9D84.5010500@compusic.se> This is a typical common lisp problem according to Steel Jr this should be solved with (multiple-value-call #'cons (floor 6 4)) if you want to produce a cons with both results. good luck Bill Sack wrote: > CM(1): (rem 6 4) > 2 > CM(2): > > alin weiller wrote: > >> Hi, I have a problem, I wan t to get the second result of the floor >> function, since it is not a list, cdr or car >> doesn't work. >> How can I do? >> >> example >> >> (floor 6 4) >> => >> 1, 2 >> >> How to get the 2? >> >> Thank's >> >> A-LIN >> >> Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail >> - http://www.caramail.lycos.fr >> > > From taube at uiuc.edu Fri May 7 08:38:18 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 7 May 2004 10:38:18 -0500 Subject: [CM] floor -> r1, r2 In-Reply-To: <1083942716000930@lycos-europe.com> References: <1083942716000930@lycos-europe.com> Message-ID: <8FEA833D-A03C-11D8-9A5C-000A95674CE4@uiuc.edu> if you are in Common Lisp you can use multiple-value-setq or multiple-value-bind (multiple-value-bind (a b) (floor 6 4) b) (let (a b) (multiple-value-setq (a b) (floor 6 4)) b) On May 7, 2004, at 10:11 AM, alin weiller wrote: > Hi, I have a problem, I wan t to get the second result of the floor > function, since it is not a list, cdr or car > doesn't work. > How can I do? > > example > > (floor 6 4) > => > 1, 2 > > How to get the 2? > > Thank's > > A-LIN > > Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail > - http://www.caramail.lycos.fr > From bil at ccrma.Stanford.EDU Sat May 8 03:55:35 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 08 May 2004 03:55:35 -0700 Subject: [CM] PLEASE HELP : snd->load ladspa In-Reply-To: <1083939850009608@lycos-europe.com> References: <1083939850009608@lycos-europe.com> Message-ID: <409CBCA7.1080301@ccrma> > [16:39:19] new-effects.scm needs the xm module: xm.so: cannot open > shared object file: No such file or directory new-effects.scm uses the "xm" module (Motif or Gtk bindings); the simplest way to get this is to build Snd with the configure switch --with-static-xm, which loads the module into Snd when the latter is built. Otherwise, Snd looks for xm.so, which you can build from the same makefile that made Snd via 'make xm'. > [16:35:01] primitive-load-path: misc-error: Unable to find file "gui.scm" in load path I'm not sure why it can't find the file, but the first thing I'd try is include: (set! snd-remember-paths #t) in your ~/.snd file. From alinweiller at caramail.com Sun May 9 03:21:37 2004 From: alinweiller at caramail.com (alin weiller ) Date: Sun, 09 May 2004 10:21:37 GMT Subject: [CM] Sample depth? Message-ID: <1084098097025617@lycos-europe.com> Hi, I would like to get the output sound in 32bit, so I add :data-format in the event function : (events (prorythm 300 15) "/home/a-lin/CMCLM/Boris/accelpiano15.aiff" :srate 44100 :data-format snd-32-float :channels 2 :trace-output t :play nil) but CM/CLM answers me : SND-32-FLOAT is neither declared nor bound, it will be treated as if it were declared SPECIAL. How can I do? Thank you Regards A-LIN Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr From alinweiller at caramail.com Sun May 9 09:59:24 2004 From: alinweiller at caramail.com (alin weiller ) Date: Sun, 09 May 2004 16:59:24 GMT Subject: [CM] Sample depth? Message-ID: <1084121964005955@lycos-europe.com> When I try clm::snd-32-float I get : *** - EVAL: La variable CLM::SND-32-FLOAT n'a pas de valeur. Rentr?es possibles: STORE-VALUE :R1 You may input a new value for CLM::SND-32-FLOAT. USE-VALUE :R2 You may input a value to be used instead of CLM::SND-32-FLOAT. STORE-VALUE :R3 You may input a new value for CLM::SND-32-FLOAT. USE-VALUE :R4 You may input a value to be used instead of CLM::SND-32-FLOAT. I'm using the last version of CM and CLM Thank you for your help A-LIN ------- Message original ------- De: Date: Sun, 9 May 2004 07:21:43 -0500 Sujet: Re: [CM] Sample depth? maybe that symbol is not being imported from the clm package?? try evalling the symbiks with the clm package name to the symbol, ie > clm::snd-32-float if it has a value then you can use it with :data-format ---- Original message ---- >Date: Sun, 09 May 2004 10:21:37 GMT >From: "alin weiller " >Subject: [CM] Sample depth? >To: "list CM" > >Hi, I would like to get the output sound in 32bit, so I add :data-format in the event function : > >(events > (prorythm 300 15) > "/home/a-lin/CMCLM/Boris/accelpiano15.aiff" > :srate 44100 :data-format snd-32-float :channels 2 :trace-output t :play nil) > >but CM/CLM answers me : > >SND-32-FLOAT is neither declared nor bound, >it will be treated as if it were declared SPECIAL. > > >How can I do? > >Thank you > > >Regards > >A-LIN > >Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr > Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). From taube at uiuc.edu Sun May 9 05:21:43 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sun, 9 May 2004 07:21:43 -0500 Subject: [CM] Sample depth? Message-ID: maybe that symbol is not being imported from the clm package?? try evalling the symbiks with the clm package name to the symbol, ie > clm::snd-32-float if it has a value then you can use it with :data-format ---- Original message ---- >Date: Sun, 09 May 2004 10:21:37 GMT >From: "alin weiller " >Subject: [CM] Sample depth? >To: "list CM" > >Hi, I would like to get the output sound in 32bit, so I add :data-format in the event function : > >(events > (prorythm 300 15) > "/home/a-lin/CMCLM/Boris/accelpiano15.aiff" > :srate 44100 :data-format snd-32-float :channels 2 :trace-output t :play nil) > >but CM/CLM answers me : > >SND-32-FLOAT is neither declared nor bound, >it will be treated as if it were declared SPECIAL. > > >How can I do? > >Thank you > > >Regards > >A-LIN > >Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr > From andersvi at ulrik.uio.no Mon May 10 00:41:57 2004 From: andersvi at ulrik.uio.no (Anders Vinjar) Date: Mon, 10 May 2004 09:41:57 +0200 Subject: [CM] Sample depth? In-Reply-To: <1084121964005955@lycos-europe.com> (alin weiller's message of "Sun, 09 May 2004 16:59:24 GMT") References: <1084121964005955@lycos-europe.com> Message-ID: What you're looking for is the name mus-bfloat > (in-package :cm) > (events (someproc) :data-format mus-bfloat) - leaves 32-bit (big-endian) floats in the output. The name snd-32-float was something buried with clm-1 some years ago if im right. -anders >>> " " == alin weiller <" > writes: > When I try clm::snd-32-float I get : > *** - EVAL: La variable CLM::SND-32-FLOAT n'a pas de valeur. Rentr?es > possibles: STORE-VALUE :R1 > You may input a new value for CLM::SND-32-FLOAT. USE-VALUE :R2 > You may input a value to be used instead of CLM::SND-32-FLOAT. > STORE-VALUE :R3 > You may input a new value for CLM::SND-32-FLOAT. USE-VALUE :R4 > You may input a value to be used instead of CLM::SND-32-FLOAT. > I'm using the last version of CM and CLM > Thank you for your help > A-LIN > ------- Message original ------- De: Date: Sun, 9 May > 2004 07:21:43 -0500 Sujet: Re: [CM] Sample depth? > maybe that symbol is not being imported from the clm package?? try > evalling the symbiks with the clm package name to the symbol, ie >> clm::snd-32-float > if it has a value then you can use it with :data-format > ---- Original message ---- >> Date: Sun, 09 May > 2004 10:21:37 GMT >> From: "alin weiller > " >> Subject: [CM] > Sample depth? >> To: "list CM" >> >> Hi, I would like to > get the output sound > in 32bit, so I add > :data-format in the > event function : >> >> (events >> (prorythm 300 15) >> > "/home/a-lin/CMCLM/Boris/accelpiano15.aiff" >> :srate 44100 > :data-format > snd-32-float > :channels 2 > :trace-output t > :play nil) >> >> but CM/CLM answers > me : >> >> SND-32-FLOAT is > neither declared nor > bound, >> it will be treated > as if it were > declared SPECIAL. >> >> >> How can I do? >> >> Thank you >> >> >> Regards >> >> A-LIN >> >> Plus simple, plus > fiable, plus rapide > : d?couvrez le > nouveau > Caramail - > http://www.caramail.lycos.fr >> > Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). From bil at ccrma.Stanford.EDU Mon May 10 04:03:27 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 10 May 2004 04:03:27 -0700 Subject: [CM] Sample depth? In-Reply-To: References: Message-ID: <409F617F.4040802@ccrma> Where did 'snd-32-float' come from? That style of data-format name changed years ago to mus-bfloat or mus-lfloat (the 'b' and 'l' determining whether it's big or little endian). In the clm1 to clm2 translator, I have these correspondences: (list "snd-unsupported" "mus-unsupported") (list "snd-16-linear" "mus-bshort") (list "snd-8-mulaw" "mus-mulaw") (list "snd-8-linear" "mus-byte") (list "snd-32-float" "mus-bfloat") (list "snd-32-linear" "mus-bint") (list "snd-8-alaw" "mus-alaw") (list "snd-8-unsigned" "mus-ubyte") (list "snd-24-linear" "mus-b24int") (list "snd-64-double" "mus-bdouble") (list "snd-16-linear-little-endian" "mus-lshort") (list "snd-32-linear-little-endian" "mus-lint") (list "snd-32-float-little-endian" "mus-lfloat") (list "snd-64-double-little-endian" "mus-ldouble") (list "snd-16-unsigned" "mus-ubshort") (list "snd-16-unsigned-little-endian" "mus-ulshort") (list "snd-24-linear-little-endian" "mus-l24int") (list "snd-32-vax-float" "mus-vaxfloat") (list "snd-12-linear" "mus-l12int") but the snd-12-linear case isn't functional -- a Yamaha (and Samson box?!) format, and I removed Vax float support a long time ago. From alinweiller at caramail.com Mon May 10 12:39:13 2004 From: alinweiller at caramail.com (alin weiller ) Date: Mon, 10 May 2004 19:39:13 GMT Subject: [CM] Sample depth? Message-ID: <1084217953016543@lycos-europe.com> from here http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/MISC/Hightech.Sound/Common.Lisp.Music.html ------- Message original ------- De: Bill Schottstaedt Date: Mon, 10 May 2004 04:03:27 -0700 Sujet: Re: [CM] Sample depth? Where did 'snd-32-float' come from? That style of data-format name changed years ago to mus-bfloat or mus-lfloat (the 'b' and 'l' determining whether it's big or little endian). In the clm1 to clm2 translator, I have these correspondences: (list "snd-unsupported" "mus-unsupported") (list "snd-16-linear" "mus-bshort") (list "snd-8-mulaw" "mus-mulaw") (list "snd-8-linear" "mus-byte") (list "snd-32-float" "mus-bfloat") (list "snd-32-linear" "mus-bint") (list "snd-8-alaw" "mus-alaw") (list "snd-8-unsigned" "mus-ubyte") (list "snd-24-linear" "mus-b24int") (list "snd-64-double" "mus-bdouble") (list "snd-16-linear-little-endian" "mus-lshort") (list "snd-32-linear-little-endian" "mus-lint") (list "snd-32-float-little-endian" "mus-lfloat") (list "snd-64-double-little-endian" "mus-ldouble") (list "snd-16-unsigned" "mus-ubshort") (list "snd-16-unsigned-little-endian" "mus-ulshort") (list "snd-24-linear-little-endian" "mus-l24int") (list "snd-32-vax-float" "mus-vaxfloat") (list "snd-12-linear" "mus-l12int") but the snd-12-linear case isn't functional -- a Yamaha (and Samson box?!) format, and I removed Vax float support a long time ago. _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). From alinweiller at caramail.com Mon May 10 15:53:25 2004 From: alinweiller at caramail.com (alin weiller ) Date: Mon, 10 May 2004 22:53:25 GMT Subject: [CM] duration-time bug? Message-ID: <1084229605001705@lycos-europe.com> Hello, it seem that (duration-time file) give the real duration/2 when the format of the sound file is mus-bfloat. A-LIN Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr From alinweiller at caramail.com Mon May 10 16:06:13 2004 From: alinweiller at caramail.com (alin weiller ) Date: Mon, 10 May 2004 23:06:13 GMT Subject: [CM] duration-time bug? Message-ID: <1084230373022932@lycos-europe.com> I mean sound-duration A-LIN ------- Message original ------- De: alin weiller Date: Mon, 10 May 2004 22:53:25 GMT Sujet: [CM] duration-time bug? Hello, it seem that (duration-time file) give the real duration/2 when the format of the sound file is mus-bfloat. A-LIN Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr From vilisom at cc.jyu.fi Tue May 11 03:14:58 2004 From: vilisom at cc.jyu.fi (Ville Isomottonen) Date: Tue, 11 May 2004 13:14:58 +0300 (EEST) Subject: [CM] about output to cmn file Message-ID: I'm outputing my musical events to cmn-file to display as eps. I learned the way to initialize staffs. (define staffs '((0 :name ...))) and then output events with staff id (new midi ... :channel 0) But, I'd like to output (display) meterchange into certain staff into cmn-file (every time i call my process-function to output events of next phrase) Is there something for this task ?? (set-meter ...)?? I'm using cmucl-cm-clm-cmn combination. Thanks, Ville Isom?tt?nen From bil at ccrma.Stanford.EDU Tue May 11 04:20:30 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 11 May 2004 04:20:30 -0700 Subject: [CM] Sample depth? In-Reply-To: <40A0B3B6.4020507@ccrma> References: <1084217953016543@lycos-europe.com> <40A0B3B6.4020507@ccrma> Message-ID: <40A0B6FE.3050903@ccrma> > http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/MISC/Hightech.Sound/Common.Lisp.Music.html That copy of the clm manual is at least 7 years old! I'll try to contact them and get them to point to the local clm home page or something. From jerry.kahn at db.com Tue May 11 12:42:41 2004 From: jerry.kahn at db.com (Jerry Kahn) Date: Tue, 11 May 2004 15:42:41 -0400 Subject: [CM] nested loop question Message-ID: Hey all: I am trying to do a basic loop within a loop, but using the "process" function instead of "loop" because of all the extra features that "process" has. The only hitch is that I want the "now" and "wait" clauses of the process to apply to the inner loop, not the outer one. I am able to create nested loops but I can only get the "now" and "wait" to apply to the outer one. So if I am outputing midi events in the inner loop they all end up with the same time (i.e. a chord). I suspect that I won't be able to use "process" at all for this and just stick to "loop" constructs Is this true? I tried many configurations: process within process, loop within process, the "each" clause, the "do" clause etc but no luck. Any suggestions? While we're at it, how does recursion work with processes and loops? Are there any samples floating around? Thanks! Jerry -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From jerry.kahn at db.com Tue May 11 13:48:02 2004 From: jerry.kahn at db.com (Jerry Kahn) Date: Tue, 11 May 2004 16:48:02 -0400 Subject: [CM] nested loop question .. an example Message-ID: here is one of my attempts that doesn't work (how exciting!): (new cycle :notes '(c2 d2 ef3) :name 'some-notes) (define (doit num ) (let ((when 0)) (loop repeat num for i = (next #&some-notes #t) collect(loop for j in i do (setf when (+ when .5)) collect (new midi :time when :duration .5 :keynum j))))) (events (doit 60 ) "test.midi") -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From bigswift at ufl.edu Tue May 11 15:19:49 2004 From: bigswift at ufl.edu (Patrick Pagano) Date: Tue, 11 May 2004 18:19:49 -0400 Subject: [CM] moving cursor Message-ID: <5138409C-A399-11D8-B3AC-000393529270@ufl.edu> hi i am using mac OS 10.2.8 on a G4 533 with X11 i have built 7.4. I would like to have a cursor that tracks the play position in the waveform area can someone point me in the right direction. using Kjetil's .scm i get [18:18:33] "no such module" (srfi srfi-1) (while loading "/Users/patrickp/Desktop/snd-7/snd_conffile.scm") ; (load "snd_conffile.scm") help please cheers to all snd rules Patrick -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 501 bytes Desc: not available URL: From bigswift at ufl.edu Tue May 11 15:30:50 2004 From: bigswift at ufl.edu (Patrick Pagano) Date: Tue, 11 May 2004 18:30:50 -0400 Subject: [CM] moving cursor In-Reply-To: <5138409C-A399-11D8-B3AC-000393529270@ufl.edu> Message-ID: also when i load any soundfile after loading snd_conffile.scm it seem to play at twice the speed or more i commented out Kjetils sound aruements but it still plays fast On Tuesday, May 11, 2004, at 06:19 PM, Patrick Pagano wrote: > hi > > i am using mac OS 10.2.8 on a G4 533 with X11 > i have built 7.4. > I would like to have a cursor that tracks the play position in the > waveform area > > can someone point me in the right direction. > > using Kjetil's .scm i get > > [18:18:33] "no such module" (srfi srfi-1) > (while loading "/Users/patrickp/Desktop/snd-7/snd_conffile.scm") > ; (load "snd_conffile.scm") > > help please > > cheers to all > snd rules > > Patrick -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 760 bytes Desc: not available URL: From andersvi at ulrik.uio.no Tue May 11 04:35:15 2004 From: andersvi at ulrik.uio.no (Anders Vinjar) Date: Tue, 11 May 2004 13:35:15 +0200 Subject: [CM] about output to cmn file In-Reply-To: (Ville Isomottonen's message of "Tue, 11 May 2004 13:14:58 +0300 (EEST)") References: Message-ID: The most flexible way, giving you access to whatever cmn-manuscripting you might want from CM, is to define a 'cmn-data object and letting it pass your meter-change to cmn. Fex: (defobject cmn-data () ((time :accessor object-time) (staff :initform 0) (data :initform nil))) (defmethod object->cmn (cmn-data) (list (cmn-data-staff cmn-data) (cmn-data-data cmn-data))) (defmethod object->midi (cmn-data) nil) Giving access to statements like (new cmn-data time (now) data (meter 4 4)) or whatever in a cm-process. This will let you state the following process in CM: (defprocess xy () (process repeat 80 for counter from 0 with notes = (new heap :of '(0 1 2 3 4 5 6 7 8)) and keys = (new heap :of '(c-major cs-major d-major)) do (progn (when (zerop counter) (output (new cmn-data time (now) data (list 'meter 4 4)))) (progn (when (zerop (random 20)) (output (new cmn-data time (now) data (list 'meter (between 1 7) 4)))) (when (zerop (random 20)) (output (new cmn-data time (now) data (next keys)))))) output (new midi time (now) duration .25 keynum (note (+ 55 (next notes)))) wait .25)) -and have everything rendered directly out by cmn: (events (xy) "xy2.cmn" :size 20) -anders > But, I'd like to output (display) meterchange into certain > staff into cmn-file (every time i call my process-function > to output events of next phrase) Is there something for > this task ?? (set-meter ...)?? I'm using cmucl-cm-clm-cmn > combination. > Thanks, Ville Isom?tt?nen > _______________________________________________ Cmdist > mailing list Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Tue May 11 06:31:54 2004 From: taube at uiuc.edu (Rick Taube) Date: Tue, 11 May 2004 08:31:54 -0500 Subject: [CM] about output to cmn file In-Reply-To: References: Message-ID: <918B3F77-A34F-11D8-8DAB-000A95674CE4@uiuc.edu> cmn output has been on my todo list.... maybe i need to resurrect the old 'cmn' object. Ill have some time in the next few days to make sure this is working and will post when I have something to show. On May 11, 2004, at 5:14 AM, Ville Isomottonen wrote: > > I'm outputing my musical events to cmn-file to display as eps. > I learned the way to initialize staffs. > (define staffs '((0 :name ...))) > and then output events with staff id (new midi ... :channel 0) > > But, I'd like to output (display) meterchange into certain staff > into cmn-file (every time i call my process-function to output events > of > next phrase) > Is there something for this task ?? (set-meter ...)?? > I'm using cmucl-cm-clm-cmn combination. > > Thanks, Ville Isom?tt?nen > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Tue May 11 15:04:22 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Tue, 11 May 2004 17:04:22 -0500 Subject: [CM] nested loop question .. an example Message-ID: <4eee963b.3f026e25.8200d00@expms6.cites.uiuc.edu> there are a number of ways to do what you want. but your example fails only because you need to pass a FLAT list of events to the events function. You can do this by changing your outer 'collect' clause into an 'append' clause: (new cycle :notes '(c2 d2 ef3) :name 'some-notes) (define (doit num ) (let ((when 0)) (loop repeat num for i = (next #&some-notes #t) APPEND (loop for j in i do (setf when (+ when .5)) collect (new midi :time when :duration .5 :keynum j))))) (events (doit 60 ) "test.mid") --- ill send a different approach tomorrow. From jerry.kahn at db.com Wed May 12 11:11:28 2004 From: jerry.kahn at db.com (Jerry Kahn) Date: Wed, 12 May 2004 14:11:28 -0400 Subject: [CM] nested loop question Message-ID: Thanks once again, Rick!! ..having a play with this. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From taube at uiuc.edu Wed May 12 07:33:06 2004 From: taube at uiuc.edu (Rick Taube) Date: Wed, 12 May 2004 09:33:06 -0500 Subject: [CM] about output to cmn file In-Reply-To: References: Message-ID: <483F537F-A421-11D8-858D-000A95674CE4@uiuc.edu> with anders' permission ill add his 'cmn-data' class to the system as a replacement for the old 'cmn' object but i think this example statement: (new cmn-data time (now) data (meter 4 4)) should be (new cmn-data time (now) data '(meter 4 4)) that is, the meter expr should be quoted as data so that cm can eval it in the context of the cmn package another approach might be to define object->cmn methods for the common (and new) midi classes that currently exist in the 2.5 cvs branch: midi-time-signature, midi-text-event, midi-key-signature, midi-tempo-change and so on. that way you could also include this data into .midi files for listening or for importing into a notation program. > The most flexible way, giving you access to whatever > cmn-manuscripting you might want from CM, is to define a > 'cmn-data object and letting it pass your meter-change to cmn. > Fex: > > (defobject cmn-data () > ((time :accessor object-time) > (staff :initform 0) > (data :initform nil))) > > (defmethod object->cmn (cmn-data) > (list (cmn-data-staff cmn-data) > (cmn-data-data cmn-data))) > > (defmethod object->midi (cmn-data) nil) > > Giving access to statements like > > (new cmn-data time (now) data (meter 4 4)) > > or whatever in a cm-process. > > This will let you state the following process in CM: > > (defprocess xy () > (process repeat 80 > for counter from 0 > with notes = (new heap :of '(0 1 2 3 4 5 6 7 8)) > and keys = (new heap :of '(c-major cs-major d-major)) > do > (progn (when (zerop counter) > (output > (new cmn-data time (now) data (list 'meter 4 > 4)))) > (progn (when (zerop (random 20)) > (output (new cmn-data time (now) data > (list 'meter (between 1 7) 4)))) > (when (zerop (random 20)) > (output (new cmn-data time (now) data > (next keys)))))) > output (new midi time (now) duration .25 > keynum (note (+ 55 (next notes)))) > > wait .25)) > > -and have everything rendered directly out by cmn: > > (events (xy) "xy2.cmn" :size 20) > > -anders > > > >> But, I'd like to output (display) meterchange into certain >> staff into cmn-file (every time i call my process-function >> to output events of next phrase) Is there something for >> this task ?? (set-meter ...)?? I'm using cmucl-cm-clm-cmn >> combination. > >> Thanks, Ville Isom?tt?nen > > >> _______________________________________________ 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 Wed May 12 07:47:48 2004 From: taube at uiuc.edu (Rick Taube) Date: Wed, 12 May 2004 09:47:48 -0500 Subject: [CM] nested loop question In-Reply-To: References: Message-ID: <5642C96C-A423-11D8-858D-000A95674CE4@uiuc.edu> > The only hitch is that I want the "now" and "wait" clauses of the > process to apply to the inner loop, not the outer one. you can use 'output' and 'wait' as function calls in an inner loop. (process ... do (loop ... do ... (output (whatever)) (wait (whatever))) but note that a wait should apply directly to the process. another way to do this is to recast your nexted loops as an inner processes sprrouted by an outer processes. (new cycle :notes '(c2 d2 ef3) :name 'some-notes) (define (doinner i r) (process for j in i output (new midi :time (now) :duration r :keynum j) wait r)) (define (doit num) (process with r = .5 repeat num for i = (next #&some-notes #t) sprout (doinner i r) wait (* r (length i)))) (doit 60 "test.mid") From bil at ccrma.Stanford.EDU Thu May 13 04:38:08 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 13 May 2004 04:38:08 -0700 Subject: [CM] duration-time bug? In-Reply-To: <1084229605001705@lycos-europe.com> References: <1084229605001705@lycos-europe.com> Message-ID: <40A35E20.5070904@ccrma> > it seem that (duration-time file) give the real duration/2 > when the format of the sound file is mus-bfloat. I can't get this to happen -- I tried CLM and Snd with AIFC, NeXT, and "wave" files -- if possible, please send me the file that hits the error. If the file is too large, the header portion is all I need (the first 1000 bytes should do it). From bil at ccrma.Stanford.EDU Thu May 13 04:39:02 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 13 May 2004 04:39:02 -0700 Subject: [CM] moving cursor In-Reply-To: <5138409C-A399-11D8-B3AC-000393529270@ufl.edu> References: <5138409C-A399-11D8-B3AC-000393529270@ufl.edu> Message-ID: <40A35E56.10909@ccrma> > I would like to have a cursor that tracks the play position in the waveform area Either control-click 'play' or (assuming you're running the current Snd): (set! (cursor-follows-play) #t) If that doesn't work, it's a bug! (I just tried it in OSX 10.3, and it seemed to work fine). > when i load any soundfile after loading snd_conffile.scm it seem to > play at twice the speed or more There's a bunch of code setting the speed-control in that file -- is it at 1.0 when this happens? From k.s.matheussen at notam02.no Thu May 13 13:57:14 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Thu, 13 May 2004 22:57:14 +0200 (CEST) Subject: [CM] moving cursor In-Reply-To: <20040512190002.8726.906.Mailman@cm-mail.stanford.edu> References: <20040512190002.8726.906.Mailman@cm-mail.stanford.edu> Message-ID: Patrick Pagano: > > i am using mac OS 10.2.8 on a G4 533 with X11 > i have built 7.4. > I would like to have a cursor that tracks the play position in the > waveform area > > can someone point me in the right direction. > Put this one into your $HOME/.snd file: (add-hook! after-open-hook (lambda (snd) (set! (cursor-follows-play snd) #t) #f)) > using Kjetil's .scm i get > > [18:18:33] "no such module" (srfi srfi-1) > (while loading "/Users/patrickp/Desktop/snd-7/snd_conffile.scm") > ; (load "snd_conffile.scm") > > help please > Which version of guile? guile --version Does anyone successfully run snd_conffile.scm under macosX btw.? -- From alinweiller at caramail.com Fri May 14 05:57:51 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 14 May 2004 12:57:51 GMT Subject: [CM] duration-time bug? Message-ID: <1084539471004468@lycos-europe.com> Here it is. It has been generated with CM/CLM then cut with Snd to make it shorter. A-LIN ------- Message original ------- De: Bill Schottstaedt Date: Thu, 13 May 2004 04:38:08 -0700 Sujet: Re: [CM] duration-time bug? > it seem that (duration-time file) give the real duration/2 > when the format of the sound file is mus-bfloat. I can't get this to happen -- I tried CLM and Snd with AIFC, NeXT, and "wave" files -- if possible, please send me the file that hits the error. If the file is too large, the header portion is all I need (the first 1000 bytes should do it). _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). -------------- next part -------------- A non-text attachment was scrubbed... Name: percu.aiff Type: application/octet-stream Size: 70922 bytes Desc: not available URL: From alinweiller at caramail.com Fri May 14 07:08:57 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 14 May 2004 14:08:57 GMT Subject: [CM] comments CLISP Message-ID: <1084543737009227@lycos-europe.com> Hi, is there any way to comment a whole section (like /* blabla */ in C) instead of a line with ; Thank you A-LIN Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). From nando at ccrma.Stanford.EDU Fri May 14 10:00:30 2004 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: 14 May 2004 10:00:30 -0700 Subject: [CM] comments CLISP In-Reply-To: <1084543737009227@lycos-europe.com> References: <1084543737009227@lycos-europe.com> Message-ID: <1084554030.22192.1.camel@cmn49.stanford.edu> > Hi, is there any way to comment a whole section (like /* blabla */ in C) > instead of a line with ; #| (...) |# -- Fernando From alinweiller at caramail.com Fri May 14 10:34:05 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 14 May 2004 17:34:05 GMT Subject: [CM] proba Gauss? Message-ID: <1084556045030270@lycos-europe.com> Hi, I'm looking for a lisp function allowing to pick a random number following a gaussian law. random_gaussian(meanvalue, variance, mixvalue, maxvalue) Thank you for your help A-LIN Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). From alinweiller at caramail.com Fri May 14 11:49:34 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 14 May 2004 18:49:34 GMT Subject: [CM] locsig with stereo sound Message-ID: <1084560574007055@lycos-europe.com> Hi, is it possible to apply locsig on a stereo source sound? Thank you A-LIN Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr From alinweiller at caramail.com Fri May 14 12:42:08 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 14 May 2004 19:42:08 GMT Subject: [CM] filter radius? Message-ID: <1084563728030914@lycos-europe.com> Hi, what does radius mean in the filter parameters? and is it possible to give directly a stereo sound in input of a filter? Thank's A-LIN Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr From juanig at ccrma.Stanford.EDU Fri May 14 12:50:26 2004 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Fri, 14 May 2004 15:50:26 -0400 Subject: [CM] locsig with stereo sound In-Reply-To: <1084560574007055@lycos-europe.com> References: <1084560574007055@lycos-europe.com> Message-ID: <1084564226.27462.15.camel@strawberri.maginvent.org> AFAIK, neither dlocsig or locsig work with stereo soundfiles because you need to mix the signal somewhere before doing a locsig i What I would do is split the stereo soundfile into two different mono soundfiles and then locsig (or dlocsig) each soundfile separately. You will have two stereo soundfiles which can be further mixed into one stereo soundfile. A lot of steps but I believe is quite flexible from the locsig degree-envelope standpoint. --* Juan Reyes On Fri, 2004-05-14 at 14:49, alin weiller wrote: > Hi, is it possible to apply locsig on a stereo source sound? > > Thank you > > A-LIN > > Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr > From alinweiller at caramail.com Fri May 14 16:33:55 2004 From: alinweiller at caramail.com (alin weiller ) Date: Fri, 14 May 2004 23:33:55 GMT Subject: [CM] proba Gauss? Message-ID: <1084577635008344@lycos-europe.com> I found it. http://cse.unl.edu/~emoss/cse996/stats.lisp ------- Message original ------- De: alin weiller Date: Fri, 14 May 2004 17:34:05 GMT Sujet: [CM] proba Gauss? Hi, I'm looking for a lisp function allowing to pick a random number following a gaussian law. random_gaussian(meanvalue, variance, mixvalue, maxvalue) Thank you for your help A-LIN Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). From taube at uiuc.edu Fri May 14 08:13:22 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 14 May 2004 10:13:22 -0500 Subject: [CM] comments CLISP In-Reply-To: <1084543737009227@lycos-europe.com> References: <1084543737009227@lycos-europe.com> Message-ID: <3D8EFC15-A5B9-11D8-AB19-000A95674CE4@uiuc.edu> #| |# == /* */ > Hi, is there any way to comment a whole section (like /* blabla */ in > C) instead of a line with ; > > Thank you > > A-LIN > > Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 > (0,35 euro hors co?t du SMS). > From marco at trevisani.net Fri May 14 09:42:21 2004 From: marco at trevisani.net (Marco Trevisani) Date: Fri, 14 May 2004 12:42:21 -0400 Subject: [CM] comments CLISP In-Reply-To: <1084543737009227@lycos-europe.com> References: <1084543737009227@lycos-europe.com> Message-ID: <20040514164221.GE6083@trevisani.net> 14/05/2004 alle 14:08:57, +0000, alin weiller [AKA alinweiller] ha scritto/escribi?/wrote: > Hi, is there any way to comment a whole section (like /* blabla */ in C) instead of a line with ; #| blah blah blah more blah blah etc. |# From taube at uiuc.edu Fri May 14 18:19:29 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Fri, 14 May 2004 20:19:29 -0500 Subject: [CM] proba Gauss? Message-ID: <623b2054.409fcd15.8239200@expms6.cites.uiuc.edu> the 'ran' function in cm can produce gaussian distributions. see the dictionary entry for more info. ---- Original message ---- >Date: Fri, 14 May 2004 17:34:05 GMT >From: "alin weiller " >Subject: [CM] proba Gauss? >To: "list CM" > >Hi, I'm looking for a lisp function allowing to pick a random number following a gaussian law. > >random_gaussian(meanvalue, variance, mixvalue, maxvalue) > >Thank you for your help > >A-LIN > >Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). > From bil at ccrma.Stanford.EDU Sat May 15 04:14:57 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 15 May 2004 04:14:57 -0700 Subject: [CM] moving cursor In-Reply-To: References: Message-ID: <40A5FBB1.7000600@ccrma> > when i load any soundfile after loading snd_conffile.scm it seem to > play at twice the speed or more This is caused by complete stupidity in my Mac/OSX audio code, but it's too hard to fix, so I've limited the dac-size in that case to 256 or less. (The bug is tickled by the line (set! (dac-size) 2048)). As audio hardware has changed over the years, audio.c has slowly become detached from reality; its model of what's out there no longer fits what is actually out there. But a fix is a huge job, and 5 years down the road it will probably need to be done all over again. Job security? From bil at ccrma.Stanford.EDU Sat May 15 04:15:30 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 15 May 2004 04:15:30 -0700 Subject: [CM] moving cursor In-Reply-To: References: <20040512190002.8726.906.Mailman@cm-mail.stanford.edu> Message-ID: <40A5FBD2.3060100@ccrma> > Does anyone successfully run snd_conffile.scm under macosX btw.? I think I got it working, given a few minor changes (checking for ladspa etc). From bil at ccrma.Stanford.EDU Sat May 15 04:37:59 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 15 May 2004 04:37:59 -0700 Subject: [CM] filter radius? In-Reply-To: <1084563728030914@lycos-europe.com> References: <1084563728030914@lycos-europe.com> Message-ID: <40A60117.1030308@ccrma> > Hi, what does radius mean in the filter parameters? It refers to the position of the pole or zero in terms of the unit circle -- this is one of the standard ways (an "Argand diagram" I think is the name) of describing these things. There's a very brief discussion of this in the "formant" entry in clm.html, but you're better off with any intro to filters. From bil at ccrma.Stanford.EDU Sat May 15 04:40:10 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 15 May 2004 04:40:10 -0700 Subject: [CM] locsig with stereo sound In-Reply-To: <1084564226.27462.15.camel@strawberri.maginvent.org> References: <1084560574007055@lycos-europe.com> <1084564226.27462.15.camel@strawberri.maginvent.org> Message-ID: <40A6019A.7050302@ccrma> > What I would do is split the stereo soundfile into two different mono > soundfiles and then locsig (or dlocsig) each soundfile separately. You > will have two stereo soundfiles which can be further mixed into one > stereo soundfile. You can have two or more locsigs running, so you could also do the separation/remix in the run loop (rather than writing mono files out). From bil at ccrma.Stanford.EDU Mon May 17 03:40:44 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 17 May 2004 03:40:44 -0700 Subject: [CM] snd 7.4 etc Message-ID: <40A896AC.2020502@ccrma> Snd 7.4. new sndins/gfm/ws.rb from Michael Scholz snd-gtkrc picture from Frank Barknecht new Snd/Scheme functions: dither-channel (dithering as a virtual op) goertzel in dsp.scm (much faster version of find-sine) complexify in snd-gl.scm (a different kind of 3D fft display) rotate-channel, reverse-channels, scramble-channels, scramble-channel. mono->stereo, mono-files->stereo, stereo->mono channel-variance etc in dsp.scm, taken from Julius Smith "Mathematics of the DFT" Snd/CLM additions: added -start and -end args to sndplay, tied to dac function in CLM, added wait arg to dac new generator: average, make-average, average? ("moving window average") envelope arg to make-rand and make-rand-interp to give any arbitrary random number distribution the run time cost is an array-interp and a rand (via the "transformation method") the default is '(-1 1 1 1) which is uniform distribution between -1.0 and 1.0. the function used to integrate/invert the distribution is inverse-integrate in dsp.scm dsp.scm also has a gaussian distribution example mus-linear renamed mus-interp-linear, mus-sinusoidal -> mus-interp-sinusoidal added mus-interp-all-pass|none|lagrange|hermite|bezier delay and its friends (comb etc) now have a 'type' arg to set the interpolation type also type arg to mus_make_table_lookup|wave_train (not sure the latter makes sense) delay-tick added to make it easier to match physical modelling diagrams added Connes and Hann-Poisson windows some names changed (in C) from "2" to "_to_" to conform to modern practice changed sum-of-sines to sine-bank new sum-of-sines generator parallels sum-of-cosines removed forward|backward-graph|mix|mark -- see snd7.scm for Scheme versions. add-to-menu now returns the new menu label widget Checked: Motif 2.2.4, Gtk+-2.4.1, Sbcl 0.8.10 (Linux), ACL 7.0 (Linux 7.3, Sun, OSX). With much help from: Rick Taube, Michael Scholz, Dave Phillips, Frank Barknecht, Kjetil S. Matheussen, Stanko Juzbasic, Juan Reyes, Fernando Lopez-Lezcano, Matt Wright, Pat Pagano (...the usual suspects...) From heinrich.gudenus at fh-sbg.ac.at Mon May 17 08:06:21 2004 From: heinrich.gudenus at fh-sbg.ac.at (Heinrich Gudenus) Date: Mon, 17 May 2004 17:06:21 +0200 Subject: [CM] sound-duration, convolve-files, sound-maxamp (newbie) Message-ID: <001801c43c20$83d8cca0$1c00a8c0@LAPHENNE> hi, the first problem: sound-maxamp and convolve-files always produce an error.. convolve-files: *** - COERCE: NIL is not REAL [...] sound-maxamp is not defined the second problem: when I destructivly cut out a piece of an audio file and want to set a variable which contains the new duration of that file, the value that sound-duration produces is Zero e.g. (... (let ((x (sound-duration file-1))) (with-sound (:output file-1 ...) ( file-1 ...)) (setf x (sound-duration file-1)) ...) thank you h:g p.s.: (system is mandrake 9.0; and I am using clisp (cm clm and cmn are installed properly (hopefully))) -------------- next part -------------- An HTML attachment was scrubbed... URL: From alinweiller at caramail.com Mon May 17 09:10:05 2004 From: alinweiller at caramail.com (alin weiller ) Date: Mon, 17 May 2004 16:10:05 GMT Subject: [CM] src in strereo Message-ID: <1084810205022340@lycos-europe.com> Hi, is there any to use src with a stereo file? Thanks A-LIN Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail - http://www.caramail.lycos.fr From bbattey at u.washington.edu Mon May 17 14:19:35 2004 From: bbattey at u.washington.edu (Bret Battey) Date: Mon, 17 May 2004 14:19:35 -0700 Subject: [CM] src in strereo In-Reply-To: <1084810205022340@lycos-europe.com> References: <1084810205022340@lycos-europe.com> Message-ID: Alin, When I first started using CLM, I was frustrated at not having stereo generators or many stereo instruments available. I put in a lot of time designing stereo instruments. But after spending more time with CLM, my thinking changed. I've changed most of my soundfile processing instruments back to being mono, but always with a parameter that can be passed to indicate which channel of the soundfile I wish to process. This simplifies instrument design greatly, and leaves me a lot more flexibility as I then use external processing (dlocsig via its move-sound wrapper, usually) to position the file. That means I have two instrument calls if I do want to process a stereo sound -- one for the left channel and one for the right -- so it could be seen as less efficient in that sense. But it keeps me from having to continually go inside and redesign stereo instruments to provide a specific stereo effect I didn't visualize when I first designed the instrument. So the key is to designate what channel you want to read from in your open-input call: (definstrument resamp (beg dur file &key channel) (let* (... (f-a (open-input file :channel channel)) ... (rdA (make-src :input f-a)) etc. If you really want a stereo instrument, define two open-inputs: (f-a (open-input file :channel 0)) (f-b (open-input file :channel 1)) and two src's: (rdA (make-src :input f-a)) (rdB (make-src :input f-b)) Bret Battey http://BatHatMedia.com ---------------------------------------------------------------------- Research Associate Center for Digital Arts and Experimental Media University of Washington, Seattle http://www.washington.edu/dxarts/ On May 17, 2004, at 9:10 AM, alin weiller wrote: > Hi, is there any to use src with a stereo file? > > Thanks > > A-LIN > > Plus simple, plus fiable, plus rapide : d?couvrez le nouveau Caramail > - http://www.caramail.lycos.fr > > From heinrich at gudenus.com Mon May 17 07:10:26 2004 From: heinrich at gudenus.com (Heinrich Gudenus) Date: Mon, 17 May 2004 16:10:26 +0200 Subject: [CLM] [CM] sound-duration, sound-maxamp, convolve-files (newbie) Message-ID: <002101c43c18$b3fd2550$1c00a8c0@LAPHENNE> hi, the first problem: sound-maxamp and convolve-files always produce an error.. convolve-files: *** - COERCE: NIL is not REAL [...] sound-maxamp is not defined the second problem: when I destructivly cut out a piece of an audio file and want to set a variable which contains the new duration of that file, the value that sound-duration produces is Zero e.g. (... (let ((x (sound-duration file-1))) (with-sound (:output file-1 ...) ( file-1 ...)) (setf x (sound-duration file-1)) ...) thank you h:g p.s.: (system is mandrake 9.0; and I am using clisp (cm clm and cmn are installed properly (hopefully))) From taube at uiuc.edu Mon May 17 11:01:26 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Mon, 17 May 2004 13:01:26 -0500 Subject: [CM] new cmn improvements in cvs Message-ID: <9d2c5d22.42033455.825ff00@expms6.cites.uiuc.edu> cvs contains a new 'cmn' object for generating data to cmn scores. the new cmn object can be used to output note information as well as to add random cmn variable and funcall expressions. the cmn object is handier to use than midis because you can programmaticall attach CMN note markups such as stacatto etc to each oject that you generate. the cmn object also has methods that allow it to generate output to .midi files; these midi file will automcatcally receive any cmn meter, timesig or keysig expressions you generate. the doc tree in cvs has new documentation that covers the object: doc/dict/cmn-cls.html. I'm makeing a real effor in the 2.5.0 branch to upgrade the dictionary and the new cmn entry as well as some of the midi classes now include sets of examples that I hope are useful. I also updated the cmn-stream documentatino to cover :staffing lists and so on. And check out the new css doc styling of dictionary examples with active links of cm functions/classes to their own docs. i stole this idea from bill's examples in his clm2 manual. for information on how to download cm using cvs see: http://commonmusic.sourceforge.net/doc/install.html#restore_cvs From alinweiller at caramail.com Tue May 18 04:41:21 2004 From: alinweiller at caramail.com (alin weiller ) Date: Tue, 18 May 2004 11:41:21 GMT Subject: [CLM] [CM] sound-duration, sound-maxamp, convolve-files (newbie) Message-ID: <1084880481000373@lycos-europe.com> maybe you can try to insert (sleep 1) to let the time to the OS to write the file completly. Otherwise this kind of things work for me (linux mandrake 10) A-LIN ------- Message original ------- De: Heinrich Gudenus Date: Mon, 17 May 2004 16:10:26 +0200 Sujet: [CLM] [CM] sound-duration, sound-maxamp, convolve-files (newbie) hi, the first problem: sound-maxamp and convolve-files always produce an error.. convolve-files: *** - COERCE: NIL is not REAL [...] sound-maxamp is not defined the second problem: when I destructivly cut out a piece of an audio file and want to set a variable which contains the new duration of that file, the value that sound-duration produces is Zero e.g. (... (let ((x (sound-duration file-1))) (with-sound (:output file-1 ...) ( file-1 ...)) (setf x (sound-duration file-1)) ...) thank you h:g p.s.: (system is mandrake 9.0; and I am using clisp (cm clm and cmn are installed properly (hopefully))) _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). From heinrich.gudenus at fh-sbg.ac.at Tue May 18 10:46:30 2004 From: heinrich.gudenus at fh-sbg.ac.at (Heinrich Gudenus) Date: Tue, 18 May 2004 19:46:30 +0200 Subject: [CM] [CLM] sndlib? installing difficulties / Message-ID: <001a01c43d00$0d3e7d70$1c00a8c0@LAPHENNE> hi, again (sorry for writing two times the same message (wrote the second one first, tought it didnt work) I didnt install sndlib (because of not having any other idea, i thought this might be the reason for the non-existence of the sound-maxamp function (?, maybe not, but still --> now i tried to install sndlib --> after ./configure, make produces an error (gcc: ... : -lm unknown : error 1) maybe somebody knows what might be the problem here? and how it is possible to solve it. the second problem seemed to be "solved" (sound-duration problem) .. cutting out a piece of the original file (by using a tmp file (copy of the original)) and then overwriting the tmp-file again -> same procedure over and over again.. that worked. ::the problem is now, that the samples, which have been produced in this way, get noisier and noisier (after about 5 loops there is not much left of the original sound) (envelopes, etc. didnt make any difference .. (didnt scale the samples or anything, srate is the same, ... ))... thx . mfg h.g. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Wed May 19 03:24:46 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 19 May 2004 03:24:46 -0700 Subject: [CLM] [CM] sound-duration, sound-maxamp, convolve-files (newbie) In-Reply-To: <002101c43c18$b3fd2550$1c00a8c0@LAPHENNE> References: <002101c43c18$b3fd2550$1c00a8c0@LAPHENNE> Message-ID: <40AB35EE.5090107@ccrma> > convolve-files: *** - COERCE: NIL is not REAL [...] I can't get this particular error, but there were certainly plenty of others that I hit while trying. If the new version still hits the error, please send me a backtrace (:bt to the clisp prompt), and the expression that triggered it. > sound-maxamp is not defined But it is! See (in this case) noffi.lisp. Here I'm running clisp: [3]> (sound-maxamp "oboe.snd" hi) #(24971 4825.0d0) Do you have an old version of CLM? > (setf x (sound-duration file-1)) I think this bug is fixed. Thanks for the bug reports! From andersvi at ulrik.uio.no Wed May 19 08:11:58 2004 From: andersvi at ulrik.uio.no (Anders Vinjar) Date: Wed, 19 May 2004 17:11:58 +0200 Subject: [CM] circular-scanned.clm In-Reply-To: <9d2c5d22.42033455.825ff00@expms6.cites.uiuc.edu> (taube@uiuc.edu's message of "Mon, 17 May 2004 13:01:26 -0500") References: <9d2c5d22.42033455.825ff00@expms6.cites.uiuc.edu> Message-ID: Im starting to look a bit at scanned synthesis, and have had a quick glance at the circular-scanned instrument in the file circular-scanned.clm. It seems to be missing a few bits to be working properly. Ive done some obvious fixes to it, but there seems to be quite much work left. Now i wonder whether anyone has a working version of this or similar instruments lying around anywhere before i start getting dirty in fields i have very little understanding of myself. Or maybe other versions of scanned synthesis instruments - Paris Smaragdis Csound version - implemented in CLM. -anders From fbar at footils.org Wed May 19 13:14:49 2004 From: fbar at footils.org (Frank Barknecht) Date: Wed, 19 May 2004 22:14:49 +0200 Subject: [CM] [spam] German article on Snd and other Linux editors in print Message-ID: <20040519201449.GD14309@fliwatut.scifi> Hallo, my article on Snd and the competitors Rezound, Audacity, Kwave and Sweep was published in the german computer magazine c't: http://www.heise.de/ct/ issue 11/2004 Unfortunatly it is not a free (speech) text and also not available online. Plus my scanner is broken, otherwise I would mail a scan to you, Bill. Maybe I can organize something later. All I can present is the issue's TOC in Pdf format here: http://www.heise.de/abo/ct/pdfs/04/inhalt-ct0411.pdf The article is on page 182 titled "Linux-Soundeditoren" Of course, Snd is the winner. ;) My favorite quote in the article: Snd is a mighty dinosaur, where the young mammals still can't even reach up to the hollow of its knee. (I hope this resembles the correct english translation of the original sentence.) Ciao -- Frank Barknecht _ ______footils.org__ From ljure at multitel.com.uy Wed May 19 13:48:39 2004 From: ljure at multitel.com.uy (luis jure) Date: Wed, 19 May 2004 17:48:39 -0300 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <20040519201449.GD14309@fliwatut.scifi> References: <20040519201449.GD14309@fliwatut.scifi> Message-ID: <20040519174839.582b994f.ljure@multitel.com.uy> el Wed, 19 May 2004 22:14:49 +0200 Frank Barknecht escribi?: > Snd is a mighty dinosaur, where the young mammals still can't even > reach up to the hollow of its knee. should we understand by this that snd is too big and heavy, and doomed to extinction ? ;-) -- From dlphilp at bright.net Wed May 19 14:35:36 2004 From: dlphilp at bright.net (Dave Phillips) Date: Wed, 19 May 2004 17:35:36 -0400 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <20040519174839.582b994f.ljure@multitel.com.uy> References: <20040519201449.GD14309@fliwatut.scifi> <20040519174839.582b994f.ljure@multitel.com.uy> Message-ID: <40ABD328.7010607@bright.net> luis jure wrote: >el Wed, 19 May 2004 22:14:49 +0200 >Frank Barknecht escribi?: > > > > >> Snd is a mighty dinosaur, where the young mammals still can't even >> reach up to the hollow of its knee. >> >> > > >should we understand by this that snd is too big and heavy, and doomed to >extinction ? > >;-) > > No, we should adopt the modern view that it's a mighty predator, capable of devouring anything else within sight. No accounting for stray asteroids of course... :) Best, dp From Meino.Cramer at gmx.de Wed May 19 19:07:42 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Thu, 20 May 2004 04:07:42 +0200 (CEST) Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <20040519201449.GD14309@fliwatut.scifi> References: <20040519201449.GD14309@fliwatut.scifi> Message-ID: <20040520.040742.74753724.Meino.Cramer@gmx.de> From: Frank Barknecht Subject: [CM] [spam] German article on Snd and other Linux editors in print Date: Wed, 19 May 2004 22:14:49 +0200 Hi, mine favourite is: "Snd in itsself may the reason for changing to an operating system, on which Snd runs." Keep Snd-ing! ;) Meino > Hallo, > > my article on Snd and the competitors Rezound, Audacity, Kwave and > Sweep was published in the german computer magazine c't: > http://www.heise.de/ct/ issue 11/2004 > > Unfortunatly it is not a free (speech) text and also not available > online. Plus my scanner is broken, otherwise I would mail a scan to > you, Bill. Maybe I can organize something later. > > All I can present is the issue's TOC in Pdf format here: > http://www.heise.de/abo/ct/pdfs/04/inhalt-ct0411.pdf > > The article is on page 182 titled "Linux-Soundeditoren" > > Of course, Snd is the winner. ;) > > My favorite quote in the article: > > Snd is a mighty dinosaur, where the young mammals still can't even > reach up to the hollow of its knee. > > (I hope this resembles the correct english translation of the original > sentence.) > > Ciao > -- > Frank Barknecht _ ______footils.org__ > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From fbar at footils.org Thu May 20 01:19:32 2004 From: fbar at footils.org (Frank Barknecht) Date: Thu, 20 May 2004 10:19:32 +0200 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <20040519174839.582b994f.ljure@multitel.com.uy> References: <20040519201449.GD14309@fliwatut.scifi> <20040519174839.582b994f.ljure@multitel.com.uy> Message-ID: <20040520081932.GB2163@fliwatut.scifi> Hallo, luis jure hat gesagt: // luis jure wrote: > el Wed, 19 May 2004 22:14:49 +0200 > Frank Barknecht escribi?: > > > Snd is a mighty dinosaur, where the young mammals still can't even > > reach up to the hollow of its knee. > > should we understand by this that snd is too big and heavy, and doomed to > extinction ? Minus the extinction part. ;) c't is the biggest "serious" computer magazine in Germany (one of the biggest even in Europe). *Everyone* reads it, and that includes lots of non-audio users and "consumers". (Btw: when Fernando and I did our rainy Black Forest tour de force the day before Linux Audio Conference, I could show him one c't reader in the train to the forest. They are everwhere in Germany. ;) I had to and did warn users of that level, that Snd almost for sure is not what they are used to and that they *will* have to do lots of documentation reading and even learn at least some Scheme/Lisp/Ruby. Dave's or Kjetil's configurations are invaluable for those users. Still Snd feels and probably is very fast compared to the others. So if dinosaur, then it surely is one of the predators as Dave remarked. Remember, that the first mammals were very small. Ciao -- Frank Barknecht _ ______footils.org__ From marco at trevisani.net Wed May 19 19:03:36 2004 From: marco at trevisani.net (Marco Trevisani) Date: Wed, 19 May 2004 22:03:36 -0400 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <40ABD328.7010607@bright.net> References: <20040519201449.GD14309@fliwatut.scifi> <20040519174839.582b994f.ljure@multitel.com.uy> <40ABD328.7010607@bright.net> Message-ID: <20040520020336.GA5993@trevisani.net> 19/05/2004 alle 17:35:36, -0400, Dave Phillips [AKA dlphilp] ha scritto/escribi?/wrote: > No, we should adopt the modern view that it's a mighty predator, capable > of devouring anything else within sight. > therfore a terrorist (as "W" would call it...) :-) ciao marco -- ************************************************************************ * 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 bil at ccrma.Stanford.EDU Thu May 20 03:37:05 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 20 May 2004 03:37:05 -0700 Subject: [CLM] [CM] sound-duration, sound-maxamp, convolve-files (newbie) In-Reply-To: <000901c43d9a$113c5100$1c00a8c0@LAPHENNE> References: <002101c43c18$b3fd2550$1c00a8c0@LAPHENNE> <40AB35EE.5090107@ccrma> <000901c43d9a$113c5100$1c00a8c0@LAPHENNE> Message-ID: <40AC8A51.9080901@ccrma> > I didnt install sndlib You don't need to install it as a separate library unless there's some other program (outside the Common Music group) that uses it. So, it will have no effect on the sound-maxamp problem. > now i tried to install sndlib --> after ./configure, make > produces an error (gcc: ... : -lm unknown : error 1) I'd have to see more info, but it's probable that you've got a problem with your environment variables. Try printenv and look for LD_LIBRARY_PATH; it should include the directory that has libm.a (probably /usr/lib). If you don't want to set that, add -L/usr/lib to the makefile LIBS variable. > cutting out a piece of the original file (by using a tmp file > (copy of the original)) and then overwriting > the tmp-file again -> same procedure over and over again.. > that worked. ::the problem is now, that the samples, > which have been produced in this way, get noisier and noisier Could you send me enough context to replicate this? By the way, I think if you want to use CLM in any complex or serious way, you'll be much happier using any lisp other than clisp. Or Scheme, Ruby, Forth, C. (I just noticed that the no-ffi float sample writer doesn't match the float sample reader -- perhaps that's where the problem is -- the no-ffi version of CLM was a "quick temporary hack" to get it working in clisp until clisp provided a reasonable foreign function interface -- that was many years ago...) From bil at ccrma.Stanford.EDU Thu May 20 03:47:43 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 20 May 2004 03:47:43 -0700 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <20040519201449.GD14309@fliwatut.scifi> References: <20040519201449.GD14309@fliwatut.scifi> Message-ID: <40AC8CCF.20009@ccrma> > Snd is a mighty dinosaur, where the young mammals still can't even > reach up to the hollow of its knee. I'm all smiles -- thanks! And I'm a big fan of dinosaurs -- I even devour the kids' books, mainly for the pictures of course. And SAIL is still the greatest computer language ever. From dlphilp at bright.net Thu May 20 05:47:13 2004 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 20 May 2004 08:47:13 -0400 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <40AC8CCF.20009@ccrma> References: <20040519201449.GD14309@fliwatut.scifi> <40AC8CCF.20009@ccrma> Message-ID: <40ACA8D1.40206@bright.net> Bill Schottstaedt wrote: > > Snd is a mighty dinosaur, where the young mammals still can't even > > reach up to the hollow of its knee. > > I'm all smiles -- thanks! And I'm a big fan of dinosaurs -- > I even devour the kids' books, mainly for the pictures of course. More dinosaur fans... Oyvind Hammer (author of some cool sound & music software from NoTAM) is a paleontologist by profession... I was just re-reading Robert Bakker's "Dinosaur Heresies" the other day... makes me wonder how sounded the song of the archaeopteryx... hmm, perhaps it's already in birds.clm ? > And SAIL is still the greatest computer language ever. Were Snd's progenitors written in SAIL ? Btw, here's another article like Frank's : http://www.linuxjournal.com/article.php?sid=7274 Snd is featured, along with other Linux soundfile editors I've known and enjoyed. Best, dp From dlphilp at bright.net Thu May 20 05:48:09 2004 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 20 May 2004 08:48:09 -0400 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <20040520020336.GA5993@trevisani.net> References: <20040519201449.GD14309@fliwatut.scifi> <20040519174839.582b994f.ljure@multitel.com.uy> <40ABD328.7010607@bright.net> <20040520020336.GA5993@trevisani.net> Message-ID: <40ACA909.7090700@bright.net> Marco Trevisani wrote: > 19/05/2004 alle 17:35:36, -0400, Dave Phillips [AKA dlphilp] ha scritto/escribi?/wrote: > > > >>No, we should adopt the modern view that it's a mighty predator, capable >>of devouring anything else within sight. >> >> >> > >therfore a terrorist (as "W" would call it...) :-) > > Actually more like an unrestrained capitalist... I guess at that point there's not much difference... ;) dp From taube at uiuc.edu Thu May 20 05:27:25 2004 From: taube at uiuc.edu (Rick Taube) Date: Thu, 20 May 2004 07:27:25 -0500 Subject: [CM] FYI: Notes from the Metalevel available Message-ID: <0D0DE833-AA59-11D8-8214-000A95674CE4@uiuc.edu> FYI: Finally! Both hard and soft-cover versions of Notes From the Metalevel are available from Taylor and Francis. The glowing lambda on the black cover looks pretty slick too. Price Paperback EUR 39.00 / US$ 45.00 Price Hardback EUR 120.00 / US$ 139.00 Do your part for the world economy! Order Form: -------------- next part -------------- A non-text attachment was scrubbed... Name: nm-order.pdf Type: application/pdf Size: 84047 bytes Desc: not available URL: -------------- next part -------------- From bil at ccrma.Stanford.EDU Thu May 20 10:07:30 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 20 May 2004 10:07:30 -0700 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <40ACA8D1.40206@bright.net> References: <20040519201449.GD14309@fliwatut.scifi> <40AC8CCF.20009@ccrma> <40ACA8D1.40206@bright.net> Message-ID: <40ACE5D2.7060100@ccrma> > Were Snd's progenitors written in SAIL ? Yes: "DpySnd". > archaeopteryx... hmm, perhaps it's already in birds.clm ? I bet a blue-jay or something similar -- as I understand it, that's the sound used by Godzilla, and he was from that era. From bil at ccrma.Stanford.EDU Thu May 20 10:14:20 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 20 May 2004 10:14:20 -0700 Subject: [CM] FYI: Notes from the Metalevel available In-Reply-To: <0D0DE833-AA59-11D8-8214-000A95674CE4@uiuc.edu> References: <0D0DE833-AA59-11D8-8214-000A95674CE4@uiuc.edu> Message-ID: <40ACE76C.7020708@ccrma> > Price Paperback EUR 39.00 / US$ 45.00 It says $99.00 at Amazon. From dlphilp at bright.net Thu May 20 11:35:33 2004 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 20 May 2004 14:35:33 -0400 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <40ACE5D2.7060100@ccrma> References: <20040519201449.GD14309@fliwatut.scifi> <40AC8CCF.20009@ccrma> <40ACA8D1.40206@bright.net> <40ACE5D2.7060100@ccrma> Message-ID: <40ACFA75.5010906@bright.net> Bill Schottstaedt wrote: > > Were Snd's progenitors written in SAIL ? > > Yes: "DpySnd". > > > archaeopteryx... hmm, perhaps it's already in birds.clm ? > > I bet a blue-jay or something similar -- as I understand > it, that's the sound used by Godzilla, and he was from that > era. Well, that about makes my day. Now why would they have considered using a bird call ? Godzilla was filmed 'way before Bakker and Assoc. theorized re: the similarities between birds and dinosaurs. And G-zilla is certainly far from being a "correct" dino, by current standards anyway. Keeping somewhat on Snd-related topics: Have you ever heard the sound of a hadrosaur ? Apparently some clever fellows cast a hadrosaur's skull, complete with sound chambers (? if that's what they were), and have made some recordings of what may have been a hadrosaur's call. Kind of a big-voice hooting... Best, dp From baker at charlieb.com Thu May 20 11:12:59 2004 From: baker at charlieb.com (Charlieb) Date: Thu, 20 May 2004 18:12:59 +0000 (GMT) Subject: [CM] FYI: Notes from the Metalevel available In-Reply-To: <40ACE76C.7020708@ccrma> Message-ID: I just ordered online from Swets & Zeitlinger http://www.szp.swets.nl/szp/frameset.htm They charged the $45 US, but it was not a online store: my card number was sent in mail, it appears. Sigh. I trust I will receive a book eventually. cb ********************************************* Charlie Baker baker at charlieb.com "when everything isn't roses, you don't get any headroom" - Thomas Dolby "New Toy" ********************************************* On Thu, 20 May 2004, Bill Schottstaedt wrote: > > Price Paperback EUR 39.00 / US$ 45.00 > > It says $99.00 at Amazon. > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From Meino.Cramer at gmx.de Thu May 20 18:10:08 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Fri, 21 May 2004 03:10:08 +0200 (CEST) Subject: [CM] Building snd from source Message-ID: <20040521.031008.74750437.Meino.Cramer@gmx.de> Hi, I tried to build snd from source, which I freshly downloaded. I entered different problems. My question is: Is it recommended (for a building-snd-from-source-newbie) to build it with the motif or the gtk interface? ;) Do both interfaces provide the same functionality? My resulting snd does soemtimes enter an endless loop when first pressing "play in loop" and then "stop" -- I was bombed with "Too many files open" messages and had to reboot, since the computer was so busy in looping that it does not to respond to key input anymore. Another thing while playing in loop: Sometimes the volume steadily increases with every loop until it was totally distorted. What did I so wrong here ? Thank you very much in advance for any help! Kind regards, Meino From fbar at footils.org Thu May 20 22:09:25 2004 From: fbar at footils.org (Frank Barknecht) Date: Fri, 21 May 2004 07:09:25 +0200 Subject: [CM] Building snd from source In-Reply-To: <20040521.031008.74750437.Meino.Cramer@gmx.de> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> Message-ID: <20040521050924.GB3050@fliwatut.scifi> Hallo, Meino Christian Cramer hat gesagt: // Meino Christian Cramer wrote: > I tried to build snd from source, which I freshly downloaded. > > I entered different problems. > > My question is: > Is it recommended (for a building-snd-from-source-newbie) to build > it with the motif or the gtk interface? ;) > Do both interfaces provide the same functionality? I don't know, but if you build with Motif, you can run with those buttons, Dave Phillips made. They can be useful for a start and later. Personally I do prefer the Gtk version now and include Kjetil's snd_conffile.scm into ~/.snd instead, slightly adapted. With gtk-themes it just looks much better. Maybe it's possible to add a toolbar to the Gtk-version, as well. I'll need to explore that some time. > My resulting snd does soemtimes enter an endless loop when first > pressing "play in loop" and then "stop" -- I was bombed with "Too > many files open" messages and had to reboot, since the computer > was so busy in looping that it does not to respond to key input > anymore. This happend to me as well, but it has snothing to do with the toolkit. It happens, when you have a small selection active, that you might not be able to see. Looping this will make Snd act like an oscillator. Try "Ctl-g" several times in that case. I did unset looping in ~/.snd because of this: ;; Unset looping again here: (define islooping #f) > Another thing while playing in loop: > Sometimes the volume steadily increases with every loop until it was > totally distorted. ??? Ciao -- Frank Barknecht _ ______footils.org__ From andersvi at ulrik.uio.no Fri May 21 02:12:21 2004 From: andersvi at ulrik.uio.no (Anders Vinjar) Date: Fri, 21 May 2004 11:12:21 +0200 Subject: [CM] Re: circular-scanned.clm In-Reply-To: (Anders Vinjar's message of "Wed, 19 May 2004 17:11:58 +0200") References: <9d2c5d22.42033455.825ff00@expms6.cites.uiuc.edu> Message-ID: (I tried sending this some days ago, but havent seen it appear in the list. I'm not sure if it came through, so trying once more. -anders) >>> " " == Anders Vinjar writes: > Im starting to look a bit at scanned synthesis, and have > had a quick glance at the circular-scanned instrument in > the file circular-scanned.clm. > It seems to be missing a few bits to be working properly. > Ive done some attempts at some fixes to it, but there > seems to be work left. Now i wonder whether anyone has a > working version of this or similar instruments lying > around anywhere before i start getting dirty in fields i > have very little understanding of myself. > Or maybe other versions of scanned synthesis instruments - > Paris Smaragdis Csound version - implemented in CLM. > -anders From taube at uiuc.edu Thu May 20 11:48:57 2004 From: taube at uiuc.edu (Rick Taube) Date: Thu, 20 May 2004 13:48:57 -0500 Subject: [CM] FYI: Notes from the Metalevel available In-Reply-To: <40ACE76C.7020708@ccrma> References: <0D0DE833-AA59-11D8-8214-000A95674CE4@uiuc.edu> <40ACE76C.7020708@ccrma> Message-ID: <59893D1C-AA8E-11D8-8214-000A95674CE4@uiuc.edu> On May 20, 2004, at 12:14 PM, Bill Schottstaedt wrote: > > Price Paperback EUR 39.00 / US$ 45.00 > > It says $99.00 at Amazon. 8O Ill call up Taylor and Francis and try to find out whats going on. The PDF order form I sent out was the last official word I had from them at its $45.00 on that. Also the ordering form lists Taylor and Francis as the address to send the order to: Taylor & Francis Customer Services c/o Thomson Publishing Services Cheriton House North Way ANDOVER - Hants SP10 5 BE UNITED KINGDOM But its confusing now that Swetz Zeitlinger was purchased by F.T., its hard to know who is in charge of what right now! I know the paperback was supposed to be under US 50 -- that was the whole point, at least as it was explained to me. But who knows with textbook pricing! From bil at ccrma.Stanford.EDU Fri May 21 03:12:19 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 21 May 2004 03:12:19 -0700 Subject: [CM] Re: circular-scanned.clm In-Reply-To: References: <9d2c5d22.42033455.825ff00@expms6.cites.uiuc.edu> Message-ID: <40ADD603.3000806@ccrma> > (I tried sending this some days ago, but havent seen it appear in > the list. I'm not sure if it came through, so trying once more. I think it did get through -- the previous version is in the cmdist archives. On the code question, I think it's based on the Scheme version in dsp.scm and I test that every now and then. I meant to check the CLM code, but got side-tracked. From bil at ccrma.Stanford.EDU Fri May 21 03:36:16 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 21 May 2004 03:36:16 -0700 Subject: [CM] Re: Building snd from source In-Reply-To: <20040521.031008.74750437.Meino.Cramer@gmx.de> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> Message-ID: <40ADDBA0.3010803@ccrma> > Do both interfaces provide the same functionality? That takes a long answer, but the short one is that they are essentially the same. I like Motif's paned windows, but others find them awkward. The Motif text widget is still better than Gtk's, so the listener window works better in Motif; but you can use emacs instead. The Gtk "footprint" is about 11 MBytes, whereas Motif is about 3 MBytes, so the gtk-snd is much larger. The Motif side of the extension code (Dave Phillips tutorial code, and so on) is more highly developed -- I use Motif, and add the corresponding gtk code later, so there are lacunae in the gtk support; and the gtk version of the recorder dialog is a mess. > Sometimes the volume steadily increases with every loop until it was > totally distorted. I'll look into the looping problem, but I think what is happening is that many separate "plays" are piling up. I assume you're using snd_conffile.scm here? Or perhaps the tutorial? From Meino.Cramer at gmx.de Fri May 21 03:51:23 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Fri, 21 May 2004 12:51:23 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: <20040521050924.GB3050@fliwatut.scifi> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> <20040521050924.GB3050@fliwatut.scifi> Message-ID: <20040521.125123.74754936.Meino.Cramer@gmx.de> From: Frank Barknecht Subject: Re: [CM] Building snd from source Date: Fri, 21 May 2004 07:09:25 +0200 Hello Frank ! Moin moin ! Thanks for your fast reply ! Could you please so kind to mail me your .snd and /etc/snd.conf. Then I will try to use the gtk-gui and haveing two configurations files, which I know to work, make my life much more easier ;) I have to adopt the paths, though...but this should not be a problem. It alsp would help me a lot, if you could send me the output of your snd if starting it with snd --help Will using gtk limit the features of the so built snd binary or does it "only" mean I have to use menus instead of buttoms? I want the complete dinosaure ! The T.REX...you know ? :O) Other questions: Are there any plugins or such to create sounds out of the nothing or do I have an "original" in any case? When trying to load ogg'ed files, (I have inserted examp.scm...) they will loaded, I see a converting process on the shell's output from where I have started snd and then mpg123 will be called (which I do not have...). What's this? I thought the ogg'ed file will be converted to something "native" (au, raw, wav or such), which snd directly supports. And: After all, the "data" snd is trying to use then, are something but definetly no sound.... ;) (please also see below. Frank!) > Hallo, > Meino Christian Cramer hat gesagt: // Meino Christian Cramer wrote: > > > I tried to build snd from source, which I freshly downloaded. > > > > I entered different problems. > > > > My question is: > > Is it recommended (for a building-snd-from-source-newbie) to build > > it with the motif or the gtk interface? ;) > > Do both interfaces provide the same functionality? > > I don't know, but if you build with Motif, you can run with those > buttons, Dave Phillips made. They can be useful for a start and later. > Personally I do prefer the Gtk version now and include Kjetil's > snd_conffile.scm into ~/.snd instead, slightly adapted. With > gtk-themes it just looks much better. Maybe it's possible to add a > toolbar to the Gtk-version, as well. I'll need to explore that some > time. > > > My resulting snd does soemtimes enter an endless loop when first > > pressing "play in loop" and then "stop" -- I was bombed with "Too > > many files open" messages and had to reboot, since the computer > > was so busy in looping that it does not to respond to key input > > anymore. > > This happend to me as well, but it has snothing to do with the > toolkit. It happens, when you have a small selection active, that you > might not be able to see. Looping this will make Snd act like an > oscillator. Try "Ctl-g" several times in that case. I did unset > looping in ~/.snd because of this: > > ;; Unset looping again here: > (define islooping #f) > > > Another thing while playing in loop: > > Sometimes the volume steadily increases with every loop until it was > > totally distorted. > > ??? I mean sometimes a loop sounds it would like do as follows: While (StopBottom not pressed) { Volume=(a value above 1.0) * Voulme; Play(sound); } This happens like the initial value of Volume is already > 1, regardless of what the slider is set to. Hmmmmm.... Unitialized variables deep inside the core of snd ???????? Thank you very much for your help in advance, Frank! Keep snd'ing! ;) Meino > Ciao > -- > Frank Barknecht _ ______footils.org__ > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bil at ccrma.Stanford.EDU Fri May 21 04:02:10 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 21 May 2004 04:02:10 -0700 Subject: [CM] Building snd from source In-Reply-To: <20040521.125123.74754936.Meino.Cramer@gmx.de> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> <20040521050924.GB3050@fliwatut.scifi> <20040521.125123.74754936.Meino.Cramer@gmx.de> Message-ID: <40ADE1B2.3010908@ccrma> > Are there any plugins or such to create sounds out of the nothing or > do I have an "original" in any case? The CLM generators are built into Snd, so you should be able to make any sounds you like from scratch. Probably the easiest way is to use with-sound in ws.scm -- for example, (load "v.scm") ; the fm-violin (load "ws.scm") ; with-sound (with-sound () (fm-violin 0 1 440 .1)) and a window opens in Snd named "test.snd" (the default name) with a one second fm-violin note. Call it again and the new output replaces the old. In a sense, this was the original goal of Snd, but then it took on a life of its own. There are also LADSPA plugins, but (I'm about to step on toes here...) I have never seen any point to them -- you can do everything in Scheme using "native" Snd stuff, and I bet there's little or no speed penalty if optimization is turned on. From Meino.Cramer at gmx.de Fri May 21 04:10:26 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Fri, 21 May 2004 13:10:26 +0200 (CEST) Subject: [CM] Re: Building snd from source In-Reply-To: <40ADDBA0.3010803@ccrma> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> <40ADDBA0.3010803@ccrma> Message-ID: <20040521.131026.41627103.Meino.Cramer@gmx.de> From: Bill Schottstaedt Subject: Re: Building snd from source Date: Fri, 21 May 2004 03:36:16 -0700 Hi Bill, Oh YEAH! This mailinglist seems to be VERY quick! THANK YOU for your lightspeeded answer, Bill... !!!! :) Seconds before I received your mail I sent one to Frank, which marks the below question of mine with "???" -- so I thought I had spoken "german English" again... Currently I also compiled a motified snd -- I havent got the gtked snd to work for me in a reasonable way -- which is definetly *MY*problem and not a problem of snd! I am at the very very very beginning of using and understanding snd ;) The one thing I """hate""" (sorry for that strong word) with the motified snd is, that the strings of the buttons, menus and such are so tiny (my screen is 1600x1200 pixies) and the file selector box has a not so useable retro design compared with things seen while using gimp (for example) -- but this is not meant as a complaint or critic...! Yes, you are right, Bill! I copied snd_conffile.scm to .snd and changed some paths and commented out a few load's, because they gave warning and error messages...I think I haven't installed something not completly right.... I didn't use a rpm or deb archive. I downloaded the snd-7.tar.gz (by the way: compressing it to bz2 instead, while save a lot of bytes and makes my modem not glowing red while downloading ;)))))) and compiled the stuff myself. Thank you very much again for your anser, Bill! Keep snd'ing! ;) Meino > > Do both interfaces provide the same functionality? > > That takes a long answer, but the short one is that they are > essentially the same. I like Motif's paned windows, but others > find them awkward. The Motif text widget is still better > than Gtk's, so the listener window works better in Motif; > but you can use emacs instead. The Gtk "footprint" is about > 11 MBytes, whereas Motif is about 3 MBytes, so the gtk-snd > is much larger. The Motif side of the extension code (Dave > Phillips tutorial code, and so on) is more highly developed -- > I use Motif, and add the corresponding gtk code later, so > there are lacunae in the gtk support; and the gtk version > of the recorder dialog is a mess. > > > Sometimes the volume steadily increases with every loop until it was > > totally distorted. > > I'll look into the looping problem, but I think what is > happening is that many separate "plays" are piling up. > I assume you're using snd_conffile.scm here? Or perhaps > the tutorial? > > From bil at ccrma.Stanford.EDU Fri May 21 04:18:12 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 21 May 2004 04:18:12 -0700 Subject: [CM] Re: Building snd from source In-Reply-To: <20040521.131026.41627103.Meino.Cramer@gmx.de> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> <40ADDBA0.3010803@ccrma> <20040521.131026.41627103.Meino.Cramer@gmx.de> Message-ID: <40ADE574.8000601@ccrma> > The one thing I """hate""" (sorry for that strong word) with the > motified snd is, that the strings of the buttons, menus and such are > so tiny (my screen is 1600x1200 pixies) and the file selector box has > a not so useable retro design compared with things seen while using > gimp (for example) -- but this is not meant as a complaint or critic...! The default font sizes date back to the days when 780x1024 was considered huge -- I use larger fonts in my ~/.snd, but perhaps it's time to change the defaults? The Motif file selector dialog is indeed a pain; the gtk file chooser dialog is fancier, and changing daily, so it might be an improvement. The SGI version of the Motif dialog was better, and the rumor on the Motif mailing lists is that they've offered to make it freely available, so perhaps in the next version of Motif I will be able to add support for it. > (by the way: compressing it to bz2 instead, while save a lot of bytes I'll check out bunzip2 -- I could easily provide both formats. From Meino.Cramer at gmx.de Fri May 21 04:25:35 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Fri, 21 May 2004 13:25:35 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: <40ADE1B2.3010908@ccrma> References: <20040521050924.GB3050@fliwatut.scifi> <20040521.125123.74754936.Meino.Cramer@gmx.de> <40ADE1B2.3010908@ccrma> Message-ID: <20040521.132535.74747368.Meino.Cramer@gmx.de> From: Bill Schottstaedt Subject: Re: [CM] Building snd from source Date: Fri, 21 May 2004 04:02:10 -0700 Hi Bill, me again....the snd-newbie.... :) Great to read, that there is a way to synthesize sounds! I like it! But.... On my linux-box doing a "locate v.scm" gave me: /usr/snd/snd-7/v.scm /usr/snd/snd-7/env.scm /usr/snd/snd-7/fmv.scm /usr/snd/snd-7/jcrev.scm /usr/snd/snd-7/peak-env.scm . In the beginning of my $HOME/.snd there are two commands given: (set! %load-path (cons "/usr/snd/snd-7" %load-path)) (set! snd-remember-paths #t) Then I start snd and in the listener's command line I gave (load "v.scm") And the result is: open-file: system-error: "No such file or directory": "v.scm" (2) In unknown file: ?: 0* [primitive-load "v.scm"] >system-error ls -l /usr/snd/snd-7/v.scm gives me: -rw-r--r-- 1 root root 5716 May 17 21:27 /usr/snd/snd-7/v.scm and ls -ld /usr/snd/snd-7 gives me: drwxr-xr-x 3 root root 2672 May 21 08:24 /usr/snd/snd-7 ..... but v.scm could not be found by snd. What am I doing so damned wrong here ;) It seems I haven't understood seom basic things, have I? ;) Keep snd'ing! Meino > > Are there any plugins or such to create sounds out of the nothing or > > do I have an "original" in any case? > > The CLM generators are built into Snd, so you should be > able to make any sounds you like from scratch. Probably > the easiest way is to use with-sound in ws.scm -- for > example, > > (load "v.scm") ; the fm-violin > (load "ws.scm") ; with-sound > (with-sound () (fm-violin 0 1 440 .1)) > > and a window opens in Snd named "test.snd" (the default name) > with a one second fm-violin note. Call it again and the > new output replaces the old. In a sense, this was the > original goal of Snd, but then it took on a life of its own. > > There are also LADSPA plugins, but (I'm about to step on > toes here...) I have never seen any point to them -- you > can do everything in Scheme using "native" Snd stuff, > and I bet there's little or no speed penalty if optimization > is turned on. > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bil at ccrma.Stanford.EDU Fri May 21 04:34:31 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 21 May 2004 04:34:31 -0700 Subject: [CM] [spam] German article on Snd and other Linux editors in print In-Reply-To: <40ACFA75.5010906@bright.net> References: <20040519201449.GD14309@fliwatut.scifi> <40AC8CCF.20009@ccrma> <40ACA8D1.40206@bright.net> <40ACE5D2.7060100@ccrma> <40ACFA75.5010906@bright.net> Message-ID: <40ADE947.5010509@ccrma> > Have you ever heard the sound of a hadrosaur ? No, but I'd be very interested -- we need a physical model instrument for it in CLM! From andersvi at ulrik.uio.no Fri May 21 05:17:22 2004 From: andersvi at ulrik.uio.no (Anders Vinjar) Date: Fri, 21 May 2004 14:17:22 +0200 Subject: [CM] Building snd from source In-Reply-To: <20040521.132535.74747368.Meino.Cramer@gmx.de> (Meino Christian Cramer's message of "Fri, 21 May 2004 13:25:35 +0200 (CEST)") References: <20040521050924.GB3050@fliwatut.scifi> <20040521.125123.74754936.Meino.Cramer@gmx.de> <40ADE1B2.3010908@ccrma> <20040521.132535.74747368.Meino.Cramer@gmx.de> Message-ID: The 'load-from-path function will look in the directories included in %load-path: (load-from-path "v.scm") (load-from-path "ws.scm") (with-sound () (fm-violin 0 1 440 .1)) ... > Then I start snd and in the listener's command line I gave > (load "v.scm") > And the result is: > open-file: system-error: "No such file or directory": "v.scm" (2) > In unknown file: > ?: 0* [primitive-load "v.scm"] >> system-error From Meino.Cramer at gmx.de Fri May 21 09:15:11 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Fri, 21 May 2004 18:15:11 +0200 (CEST) Subject: [CM] The eternal violine Message-ID: <20040521.181511.104036079.Meino.Cramer@gmx.de> Hi, with the help of v.scm and ws.scm I created the sound of a violine. (NICE!:) I pressed the GO button (dlp!) and the violine plays once. I pressed the LOOP button, which becomes crossed then and the violine starts playing in a loop. Now I pressed the LOOP button again to get rid of the looping -- the button becomes un-crossed and the violine stops its looping. Now I pressed the GO button again. The violine plays again in a loop. I found no way to stop the loop-behaviour. Either the violine plays in a loop or not at all. The LOOP button seems to set a status, which I cannot reset again. Even closing and reopening the file does not help. And closing the violine file and opening another one also will play this other sound in a loop. Only exiting snd and restarting will help. Any idea what I am doing wrong here ? Keep snd'ing! :) Meino From fbar at footils.org Fri May 21 10:09:40 2004 From: fbar at footils.org (Frank Barknecht) Date: Fri, 21 May 2004 19:09:40 +0200 Subject: [CM] Re: Building snd from source In-Reply-To: <20040521.131026.41627103.Meino.Cramer@gmx.de> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> <40ADDBA0.3010803@ccrma> <20040521.131026.41627103.Meino.Cramer@gmx.de> Message-ID: <20040521170939.GC7366@fliwatut.scifi> Hallo, Meino Christian Cramer hat gesagt: // Meino Christian Cramer wrote: > Seconds before I received your mail I sent one to Frank, which > marks the below question of mine with "???" -- so I thought I had > spoken "german English" again... I actually intended to express, that I didn't know the answer. Lazy me... > The one thing I """hate""" (sorry for that strong word) with the > motified snd is, that the strings of the buttons, menus and such are > so tiny (my screen is 1600x1200 pixies) and the file selector box has > a not so useable retro design compared with things seen while using > gimp (for example) -- but this is not meant as a complaint or critic...! This really is better with the Gtk version, which has the modern look you are (at least I am) probably used to. > Yes, you are right, Bill! > I copied snd_conffile.scm to .snd and changed some paths and > commented out a few load's, because they gave warning and error > messages...I think I haven't installed something not completly > right.... Could be. Actually I am using the upstream snd_conffile.scm and overwrote what I didn't like in ~/.snd like the looping. That way I can profit from changes/bug fixes immediatly. > I didn't use a rpm or deb archive. I downloaded the snd-7.tar.gz (by > the way: compressing it to bz2 instead, while save a lot of bytes and > makes my modem not glowing red while downloading ;)))))) and compiled > the stuff myself. You could also start using CVS to check out snd from Sourceforge. This will save a lot of bandwidth, because as you (will) see, things can get fixed or updated really fast with Bill. ;) Here's my snd: $ snd --help Snd is a sound editor; see http://ccrma.stanford.edu/software/snd/.This is Snd version 7.4 of 17-May-04: Xen: 1.11, Guile: 1.6.3 ALSA 1.0.4 Sndlib 19.1 (27-Apr-04, int24 samples, with modules) CLM 2.48 (11-May-04) fftw-3.0.1-sse2 Gtk+ 2.2.4, Glib 2.2.3 LADSPA 1.1 with large file support with gettext: LC_CTYPE=de_DE at euro;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C Compiled May 17 2004 12:56:42 C: 3.3.3 (Debian 20040321) Libc: 2.3.2.stable configured via: ./configure --with-jack --with-alsa --with-esd=no --with-ladspa --without-ruby --with-guile --with-modules --with-editres --with-static-xm --with-gtk and my ~/.snd: ;; /home/freak/snd was filled by copying all *.scm files to home: (set! %load-path (cons "/home/freak/snd" %load-path)) (set! %load-path (cons "/home/freak/snd/dlp" %load-path)) ;;(set! %load-path (cons "/dos/ibm/hdc10/f/src/audio/snd-7/dlp" %load-path)) (set! snd-remember-paths #t) ;;(load-from-path "misc.scm") (load-from-path "snd_conffile.scm") ;; Bind Pos1/Home and End to something more common ;; /usr/X11R6/include/X11/keysymdef.h ;; XK_Home 0xFF50 ;; XK_End 0xFF57 /* EOL */ (bind-key #xFF50 0 (lambda () (set! (cursor) 0))) (bind-key #xFF57 0 (lambda () (set! (cursor) (1- (frames))))) ;; bind "update-sound from disk" to Ctl-Home instead: (bind-key #xFF50 4 update-sound) ;; Unset looping again here: (define islooping #f) ;; EOF Ciao -- Frank Barknecht _ ______footils.org__ From k.s.matheussen at notam02.no Fri May 21 11:51:28 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Fri, 21 May 2004 20:51:28 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> References: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> Message-ID: Meino Christian Cramer: > > I tried to build snd from source, which I freshly downloaded. > > I entered different problems. > > My question is: > Is it recommended (for a building-snd-from-source-newbie) to build > it with the motif or the gtk interface? ;) I use gtk, but only because it looks better and feels much faster. There are less audio-dropouts using motif. > Do both interfaces provide the same functionality? > Very much, seems to be. > My resulting snd does soemtimes enter an endless loop when first > pressing "play in loop" and then "stop" -- I was bombed with "Too > many files open" messages and had to reboot, since the computer > was so busy in looping that it does not to respond to key input > anymore. > Hmm, hopefully related to the next one: > Another thing while playing in loop: > Sometimes the volume steadily increases with every loop until it was > totally distorted. > I have to confess I have known about this for a long time without reporting it (so much things to do). To Bill: My guess is that when the player reach the end of the selection, the stop-playing-hook is called before actually stopping the playing. What happens is that the stop-playing-hook code (the function "c-play-selection2" in snd_conffile.scm) starts playing another time before the other one was stopped. And then I have a feeling that for some reason "c-play-selection2" is called yet another time when the first playing really stops, which it shouldn't. If that makes sense... At least I certainly think theres something different with the stop-playing-hook handling thats causing this. -- From Meino.Cramer at gmx.de Fri May 21 16:48:40 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Sat, 22 May 2004 01:48:40 +0200 (CEST) Subject: [CM] Re: Building snd from source In-Reply-To: <20040521170939.GC7366@fliwatut.scifi> References: <40ADDBA0.3010803@ccrma> <20040521.131026.41627103.Meino.Cramer@gmx.de> <20040521170939.GC7366@fliwatut.scifi> Message-ID: <20040522.014840.41628359.Meino.Cramer@gmx.de> From: Frank Barknecht Subject: Re: [CM] Re: Building snd from source Date: Fri, 21 May 2004 19:09:40 +0200 Hi Frank, > Hallo, > Meino Christian Cramer hat gesagt: // Meino Christian Cramer wrote: > > > Seconds before I received your mail I sent one to Frank, which > > marks the below question of mine with "???" -- so I thought I had > > spoken "german English" again... > > I actually intended to express, that I didn't know the answer. Lazy > me... No problem... :) > > The one thing I """hate""" (sorry for that strong word) with the > > motified snd is, that the strings of the buttons, menus and such are > > so tiny (my screen is 1600x1200 pixies) and the file selector box has > > a not so useable retro design compared with things seen while using > > gimp (for example) -- but this is not meant as a complaint or critic...! > > This really is better with the Gtk version, which has the modern look > you are (at least I am) probably used to. I didn't got the gtk'ed version to work for me...but I am sure, I am the problem here ;-] > > Yes, you are right, Bill! > > I copied snd_conffile.scm to .snd and changed some paths and > > commented out a few load's, because they gave warning and error > > messages...I think I haven't installed something not completly > > right.... > > Could be. ...better would be an complete thesis about what I was doing wrong, hahahahaha (just kidding!) > Actually I am using the upstream snd_conffile.scm and (sorry..."upstream" ??? what do you mean...my English fails here...) > overwrote what I didn't like in ~/.snd like the looping. That way I > can profit from changes/bug fixes immediatly. > > > I didn't use a rpm or deb archive. I downloaded the snd-7.tar.gz (by > > the way: compressing it to bz2 instead, while save a lot of bytes and > > makes my modem not glowing red while downloading ;)))))) and compiled > > the stuff myself. > > You could also start using CVS to check out snd from Sourceforge. This > will save a lot of bandwidth, because as you (will) see, things can > get fixed or updated really fast with Bill. ;) Oh yeah!...Currently doing the co! Thanks for your help, Frank! > Here's my snd: "Hear my sound" Hahahahahahhahaha! That will help me A LOT! > $ snd --help > Snd is a sound editor; see http://ccrma.stanford.edu/software/snd/.This is Snd version 7.4 of 17-May-04: > Xen: 1.11, Guile: 1.6.3 > ALSA 1.0.4 > Sndlib 19.1 (27-Apr-04, int24 samples, with modules) > CLM 2.48 (11-May-04) > fftw-3.0.1-sse2 > Gtk+ 2.2.4, Glib 2.2.3 > LADSPA 1.1 > with large file support > with gettext: LC_CTYPE=de_DE at euro;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C > Compiled May 17 2004 12:56:42 > C: 3.3.3 (Debian 20040321) > Libc: 2.3.2.stable > > configured via: ./configure --with-jack --with-alsa --with-esd=no --with-ladspa --without-ruby --with-guile --with-modules --with-editres --with-static-xm --with-gtk mine looks like this (currently): Snd is a sound editor; see http://ccrma.stanford.edu/software/snd/.This is Snd version 7.5 of 18-May-04: Xen: 1.11, Guile: 1.6.4 ALSA 1.0.4 Sndlib 19.1 (27-Apr-04, int24 samples) CLM 2.48 (11-May-04) fftw-3.0.1 Motif 2.1.30 X11R6 Xpm 3.4.11 LADSPA 1.1 with large file support with gettext: C Compiled May 19 2004 15:59:17 C: 3.3.3 Libc: 2.3.2.stable configured via: ./configure --prefix=/usr --with-alsa --with-motif --with-ladspa --with-static-xm > and my ~/.snd: Again, this will help me a lot! Especially because it is not only "pure lisp" but with comments! Thank you very much, Frank! Keep snd'ing! Meino > ;; /home/freak/snd was filled by copying all *.scm files to home: > (set! %load-path (cons "/home/freak/snd" %load-path)) > (set! %load-path (cons "/home/freak/snd/dlp" %load-path)) > ;;(set! %load-path (cons "/dos/ibm/hdc10/f/src/audio/snd-7/dlp" %load-path)) > > (set! snd-remember-paths #t) > ;;(load-from-path "misc.scm") > (load-from-path "snd_conffile.scm") > > ;; Bind Pos1/Home and End to something more common > ;; /usr/X11R6/include/X11/keysymdef.h > ;; XK_Home 0xFF50 > ;; XK_End 0xFF57 /* EOL */ > (bind-key #xFF50 0 (lambda () (set! (cursor) 0))) > (bind-key #xFF57 0 (lambda () (set! (cursor) (1- (frames))))) > > ;; bind "update-sound from disk" to Ctl-Home instead: > (bind-key #xFF50 4 update-sound) > > ;; Unset looping again here: > (define islooping #f) > ;; EOF > > Ciao > -- > Frank Barknecht _ ______footils.org__ > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From Meino.Cramer at gmx.de Fri May 21 17:04:08 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Sat, 22 May 2004 02:04:08 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: References: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> Message-ID: <20040522.020408.71086314.Meino.Cramer@gmx.de> From: Kjetil Svalastog Matheussen Subject: Re: [CM] Building snd from source Date: Fri, 21 May 2004 20:51:28 +0200 (CEST) Hi Kjetil, some additional comments about the "getting louder and louder"-bug, which may have to do with it. I recorded a "snip" with my fingers with snd. I cut off the silence in front of the file. I pressed GO, which changed its face to "STOP" The "I am currently here"-bar moves from the start till the end (the whole file was visible. You do not need the slider to get to its end). But: As the bar reaches the end and the sound has defintely ended, the button does *not* change to "GO" again at once. After two seconds of "doing nothing" the button changes its face. Now: One can force the "increasing volume" bug by enabling looping and hitting GO while the first loop is still running. There is some misunderstanding between the "loop" """button""" at the very right side just below the sound graphs and the LOOP button which comes with dlp. If the right loop button is pressed, and you start looping with the LOOP button of dlp, you cannot get out of the mode of looped playing anymore without restarting snd, regardless what is pressed, depressed or so... Sometimes snd loops so heavy, that only a reboot (reset button of the PC must be used or the SYSREQ-key-sequence of Linux) revives the PC, since all CPU power is eaten up and no keyboard input is recognized by X11 anymore... In this case, snd (or someone else) prints "Too many open files" into its debug dialog. Hope it helps a little to catch the bug. Kind regards and keep snd'ing! Meino PS: Is "no" of your email address for "norway", Kjetil ? > Meino Christian Cramer: > > > > I tried to build snd from source, which I freshly downloaded. > > > > I entered different problems. > > > > My question is: > > Is it recommended (for a building-snd-from-source-newbie) to build > > it with the motif or the gtk interface? ;) > > I use gtk, but only because it looks better and feels much faster. There > are less audio-dropouts using motif. > > > > Do both interfaces provide the same functionality? > > > Very much, seems to be. > > > > My resulting snd does soemtimes enter an endless loop when first > > pressing "play in loop" and then "stop" -- I was bombed with "Too > > many files open" messages and had to reboot, since the computer > > was so busy in looping that it does not to respond to key input > > anymore. > > > > Hmm, hopefully related to the next one: > > > > Another thing while playing in loop: > > Sometimes the volume steadily increases with every loop until it was > > totally distorted. > > > > I have to confess I have known about this for a long time without > reporting it (so much things to do). > > To Bill: > My guess is that when the player reach the end of the selection, > the stop-playing-hook is called before actually stopping > the playing. What happens is that the stop-playing-hook > code (the function "c-play-selection2" in snd_conffile.scm) > starts playing another time before the other one was > stopped. And then I have a feeling that for some reason > "c-play-selection2" is called yet another time when the > first playing really stops, which it shouldn't. If that > makes sense... At least I certainly think theres something > different with the stop-playing-hook handling thats causing > this. > > > -- > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From Meino.Cramer at gmx.de Fri May 21 21:05:46 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Sat, 22 May 2004 06:05:46 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: <20040522.020408.71086314.Meino.Cramer@gmx.de> References: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> <20040522.020408.71086314.Meino.Cramer@gmx.de> Message-ID: <20040522.060546.41634805.Meino.Cramer@gmx.de> From: Meino Christian Cramer Subject: Re: [CM] Building snd from source Date: Sat, 22 May 2004 02:04:08 +0200 (CEST) ...I have to add the following: The no-ending-loop-problem seems to be indepedantly from the status of the loop "button" to the very right of the window... Have a nice weekend ! Meino > From: Kjetil Svalastog Matheussen > Subject: Re: [CM] Building snd from source > Date: Fri, 21 May 2004 20:51:28 +0200 (CEST) > > > Hi Kjetil, > > some additional comments about the "getting louder and louder"-bug, > which may have to do with it. > > I recorded a "snip" with my fingers with snd. > > I cut off the silence in front of the file. > > I pressed GO, which changed its face to "STOP" > > The "I am currently here"-bar moves from the start till the end (the > whole file was visible. You do not need the slider to get to its > end). > > But: As the bar reaches the end and the sound has defintely ended, > the button does *not* change to "GO" again at once. > > After two seconds of "doing nothing" the button changes its face. > > Now: > > One can force the "increasing volume" bug by enabling looping and > hitting GO while the first loop is still running. > > There is some misunderstanding between the "loop" """button""" at the > very right side just below the sound graphs and the LOOP button which > comes with dlp. > > If the right loop button is pressed, and you start looping with the > LOOP button of dlp, you cannot get out of the mode of looped playing > anymore without restarting snd, regardless what is pressed, depressed > or so... > > Sometimes snd loops so heavy, that only a reboot (reset button of the > PC must be used or the SYSREQ-key-sequence of Linux) revives the PC, > since all CPU power is eaten up and no keyboard input is recognized > by X11 anymore... > > In this case, snd (or someone else) prints "Too many open files" into > its debug dialog. > > Hope it helps a little to catch the bug. > > Kind regards and keep snd'ing! > Meino > > PS: Is "no" of your email address for "norway", Kjetil ? > > > > Meino Christian Cramer: > > > > > > I tried to build snd from source, which I freshly downloaded. > > > > > > I entered different problems. > > > > > > My question is: > > > Is it recommended (for a building-snd-from-source-newbie) to build > > > it with the motif or the gtk interface? ;) > > > > I use gtk, but only because it looks better and feels much faster. There > > are less audio-dropouts using motif. > > > > > > > Do both interfaces provide the same functionality? > > > > > Very much, seems to be. > > > > > > > My resulting snd does soemtimes enter an endless loop when first > > > pressing "play in loop" and then "stop" -- I was bombed with "Too > > > many files open" messages and had to reboot, since the computer > > > was so busy in looping that it does not to respond to key input > > > anymore. > > > > > > > Hmm, hopefully related to the next one: > > > > > > > Another thing while playing in loop: > > > Sometimes the volume steadily increases with every loop until it was > > > totally distorted. > > > > > > > I have to confess I have known about this for a long time without > > reporting it (so much things to do). > > > > To Bill: > > My guess is that when the player reach the end of the selection, > > the stop-playing-hook is called before actually stopping > > the playing. What happens is that the stop-playing-hook > > code (the function "c-play-selection2" in snd_conffile.scm) > > starts playing another time before the other one was > > stopped. And then I have a feeling that for some reason > > "c-play-selection2" is called yet another time when the > > first playing really stops, which it shouldn't. If that > > makes sense... At least I certainly think theres something > > different with the stop-playing-hook handling thats causing > > this. > > > > > > -- > > > > _______________________________________________ > > 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 Fri May 21 08:01:52 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 21 May 2004 10:01:52 -0500 Subject: [CM] Re: Notes from the metalevel In-Reply-To: References: Message-ID: Thank you very much for your info. I received my copies directly from Swets and so assumed that Taylor and Francis had them in hand as well. 26 pounds seems a reasonable price for a 332 page textbook and a cd (= (pounds 26) (euros 38) (dollars 46)) On May 21, 2004, at 9:24 AM, Philip Lewis wrote: > I hesitated to send this to the list in case your contact yielded > something > more authoritative. Thomson Publishing Services told me today that > they were > not expecting books from Holland till the end of the month, and put me > into > their system as a back-order, credit card not to be charged till the > book > was shipped; the book, for them, is "not yet published". They quoted > ?26 for > the paperback, which seems a fairish rate of exchange. The web-site > gives > Tel: +44 (0) 1264 342 926 > Fax: +44 (0) 1264 343005 > Email: salesorder at ThomsonPublishingServices.co.uk > and I got through on that telephone number. > > Best wishes > > Philip Lewis > From bil at ccrma.Stanford.EDU Sat May 22 03:52:56 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 22 May 2004 03:52:56 -0700 Subject: [CM] Building snd from source In-Reply-To: <20040521.125123.74754936.Meino.Cramer@gmx.de> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> <20040521050924.GB3050@fliwatut.scifi> <20040521.125123.74754936.Meino.Cramer@gmx.de> Message-ID: <40AF3108.8050308@ccrma> > The one thing I """hate""" (sorry for that strong word) with the > motified snd is, that the strings of the buttons, menus and such are > so tiny I think Snd was simply using the Motif default font in this case, which appears to be "fixed 7x13". I changed it to default to 9x15, which still has an old-fashioned look, but at least it's readable. > When trying to load ogg'ed files, (I have inserted examp.scm...) they > will loaded, I see a converting process on the shell's output from > where I have started snd and then mpg123 will be called (which I do > not have...). > > What's this? I thought the ogg'ed file will be converted to something > "native" (au, raw, wav or such), which snd directly supports. It's supposed to call ogg123 -- I can't see any way it would call mpg123. Then you can either set up the open-hook to call ogg123 automatically (see examp.scm), or do something like: (open-sound (read-ogg "/home/bil/sf1/oboe.ogg")) I don't really want to add built-in support for all these compressed formats via their libraries -- there are at least a half dozen now, and more seem to pop up constantly > open-file: system-error: "No such file or directory": "v.scm" (2) As Anders mentioned, try load-from-path rather than load. From Meino.Cramer at gmx.de Sat May 22 04:20:46 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Sat, 22 May 2004 13:20:46 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: <40AF3108.8050308@ccrma> References: <20040521050924.GB3050@fliwatut.scifi> <20040521.125123.74754936.Meino.Cramer@gmx.de> <40AF3108.8050308@ccrma> Message-ID: <20040522.132046.78722542.Meino.Cramer@gmx.de> From: Bill Schottstaedt Subject: Re: [CM] Building snd from source Date: Sat, 22 May 2004 03:52:56 -0700 Hi Bill, > > The one thing I """hate""" (sorry for that strong word) with the > > motified snd is, that the strings of the buttons, menus and such are > > so tiny > > I think Snd was simply using the Motif default font in this case, > which appears to be "fixed 7x13". I changed it to default to 9x15, > which still has an old-fashioned look, but at least it's readable. Yes, me too :) Finally I find the switch to change this ;) First I thought it is hardcoded in OpenMotif... > > > When trying to load ogg'ed files, (I have inserted examp.scm...) they > > will loaded, I see a converting process on the shell's output from > > where I have started snd and then mpg123 will be called (which I do > > not have...). > > > > What's this? I thought the ogg'ed file will be converted to something > > "native" (au, raw, wav or such), which snd directly supports. > > It's supposed to call ogg123 -- I can't see any way it would call > mpg123. When I look to the output of snd written to the shell from where I started snd it looks like, that ogg123 is called, the file is converted to something like "raw" and this fact calls mpg123 in turn. A "hooked hook" so to say.... ;) > Then you can either set up the open-hook to call ogg123 > automatically (see examp.scm), or do something like: > > (open-sound (read-ogg "/home/bil/sf1/oboe.ogg")) ...ok... I will try this! > I don't really want to add built-in support for all these compressed > formats via their libraries -- there are at least a half dozen now, > and more seem to pop up constantly ...and this way (as it is currently implemented) everything remains up to date and other formats can easily be added... ! :) > > > > open-file: system-error: "No such file or directory": "v.scm" (2) > > As Anders mentioned, try load-from-path rather than load. I did it and it works like a charm! :) Is "load" the same as "load-from-path" with the difference, that load needs a full path specification and load-from-path does not ? Keep snd'ing! Meino From bil at ccrma.Stanford.EDU Sat May 22 04:24:08 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 22 May 2004 04:24:08 -0700 Subject: [CM] Re: Building snd from source In-Reply-To: <20040521.131026.41627103.Meino.Cramer@gmx.de> References: <20040521.031008.74750437.Meino.Cramer@gmx.de> <40ADDBA0.3010803@ccrma> <20040521.131026.41627103.Meino.Cramer@gmx.de> Message-ID: <40AF3858.9070001@ccrma> > I downloaded the snd-7.tar.gz (by > the way: compressing it to bz2 instead, while save a lot of bytes and > makes my modem not glowing red while downloading The script I use to update the Snd tarball now creates snd-7.tar.bz2 as well as snd-7.tar.gz -- let me know of any problems. From bil at ccrma.Stanford.EDU Sat May 22 04:32:35 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 22 May 2004 04:32:35 -0700 Subject: [CM] Building snd from source In-Reply-To: <20040522.132046.78722542.Meino.Cramer@gmx.de> References: <20040521050924.GB3050@fliwatut.scifi> <20040521.125123.74754936.Meino.Cramer@gmx.de> <40AF3108.8050308@ccrma> <20040522.132046.78722542.Meino.Cramer@gmx.de> Message-ID: <40AF3A53.8020202@ccrma> > Is "load" the same as "load-from-path" with the difference, that > load needs a full path specification and load-from-path does not ? Yes -- "load-from-path" is a Guile function that uses %load-path to search for a file, whereas "load" looks only for the filename passed to it (I think!). In Snd, if snd-remember-paths is set, the %load-hook is extended to add new paths to that list as they are encountered (the actual code is in snd-xen.c). The one complication is that both Snd and Guile have a file named "debug.scm" (groan). I sort of wish "load" did the search, since I never remember this distinction until I hit an error. From k.s.matheussen at notam02.no Sat May 22 08:02:03 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Sat, 22 May 2004 17:02:03 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: References: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> Message-ID: On Fri, 21 May 2004, Kjetil Svalastog Matheussen wrote: > > To Bill: > My guess is that when the player reach the end of the selection, > the stop-playing-hook is called before actually stopping > the playing. What happens is that the stop-playing-hook > code (the function "c-play-selection2" in snd_conffile.scm) > starts playing another time before the other one was > stopped. And then I have a feeling that for some reason > "c-play-selection2" is called yet another time when the > first playing really stops, which it shouldn't. If that > makes sense... At least I certainly think theres something > different with the stop-playing-hook handling thats causing > this. > Got a bit closer. The reason for the overlooping thing is that stop-playing-hook is called the same number of times as there are channels in the soundfile, instead of just once as before. I guess this behaviour could makes sense in some way, but there wasn't any info about it in the manual. Is this a feature or a bug? -- From k.s.matheussen at notam02.no Sat May 22 08:35:24 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Sat, 22 May 2004 17:35:24 +0200 (CEST) Subject: [CM] Building snd from source Message-ID: Meino Christian Cramer: > some additional comments about the "getting louder and louder"-bug, > which may have to do with it. > > I recorded a "snip" with my fingers with snd. > > I cut off the silence in front of the file. > > I pressed GO, which changed its face to "STOP" > > The "I am currently here"-bar moves from the start till the end (the > whole file was visible. You do not need the slider to get to its > end). > > But: As the bar reaches the end and the sound has defintely ended, > the button does *not* change to "GO" again at once. > > After two seconds of "doing nothing" the button changes its face. > > Now: > > One can force the "increasing volume" bug by enabling looping and > hitting GO while the first loop is still running. > > There is some misunderstanding between the "loop" """button""" at the > very right side just below the sound graphs and the LOOP button which > comes with dlp. I don't think you should mix the loop-functionality in snd_conffile.scm and the one in Dave Phillips code. Use just one of them. > If the right loop button is pressed, and you start looping with the > LOOP button of dlp, you cannot get out of the mode of looped playing > anymore without restarting snd, regardless what is pressed, depressed > or so... Thats expected I guess. Sorry, I don't use the button-panel and didn't think about this. > PS: Is "no" of your email address for "norway", Kjetil ? Yes. -- From Meino.Cramer at gmx.de Sun May 23 05:39:45 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Sun, 23 May 2004 14:39:45 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: References: Message-ID: <20040523.143945.41641507.Meino.Cramer@gmx.de> From: Kjetil Svalastog Matheussen Subject: Re: [CM] Building snd from source Date: Sat, 22 May 2004 17:35:24 +0200 (CEST) > > > > There is some misunderstanding between the "loop" """button""" at the > > very right side just below the sound graphs and the LOOP button which > > comes with dlp. > > I don't think you should mix the loop-functionality in snd_conffile.scm > and the one in Dave Phillips code. Use just one of them. Yes...I see... but as a newbie I didn't see the incompabilities before...sorry... > > > If the right loop button is pressed, and you start looping with the > > LOOP button of dlp, you cannot get out of the mode of looped playing > > anymore without restarting snd, regardless what is pressed, depressed > > or so... > > Thats expected I guess. Sorry, I don't use the button-panel and didn't > think about this. ..but at least for a newbie it is a little confusing that provided functionality which comes with the archive should better not touched -- otherwise you cannot get out of the program other than to reboot... May be the program should be a little more "newbie safe" ? ;) > > > PS: Is "no" of your email address for "norway", Kjetil ? > > Yes. :) thx ! > > -- > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bil at ccrma.Stanford.EDU Mon May 24 03:44:00 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 May 2004 03:44:00 -0700 Subject: [CM] stop-playing-hook problem In-Reply-To: References: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> Message-ID: <40B1D1F0.3050005@ccrma> > Now I pressed the GO button again. > The violine plays again in a loop. There are two related problems here. In several files, add-hook! is called whenever that file is loaded, so if the file is loaded twice, the hook gets two copies of the added hook function. This can be avoided by adding (if (not (defined...))) around the load-from-path calls (for example, in snd_conffile, many of the dlp files are loaded, but they may already have been loaded). Or we could use hook-member (hooks.scm). But currently there's little attempt to protect against redundant functions on the hook list. If one such hook is stop-playing-hook and it's getting a function that calls (play) to loop, you get an explosion of plays (each time one stops, it fires up two more). This works anyway if you just load the dlp stuff, but once snd_conffile.scm is also involved, several separate stop-hooks start stepping on each other (play.scm's play-until-c-g assumes it will be cancelled either via C-g or a function simulating that, but other loopers aren't aware that something like that is sitting on the hook). So we shouldn't be using play-until-c-g in dlp/new-buttons.scm, but that's just a bandaid. I need to think of some way to make it safe to load these files any number of times. But, the harder problem is that a function that wants to add a hook function has no way of knowing (in general) what else is already on that hook's function list -- whether for example a looping play is already queued up. I think the whole start|stop-play|dac-hook business needs to be redone. So, I propose to add an argument to the various play functions to associate a (stop-)function with that particular "play" call, calling that function when that play finishes. This way the various additions to the user interface can avoid accidental "cross-talk", and there's no problem of "dangling" stop-hook entries. I first thought it would be nice to accept a continuation in this context, but I can't get it to work in Guile. Then, eventually, remove stop-playing-channel|region|selection(?)-hook, and start-playing-selection-hook(?) (since they can only cause confusion, I think). Stop-dac-hook is still needed for handling level meters. Start|stop-playing-hook is needed for global GUI responses to reflect whether something is playing. play-hook might be handled as another of the process-local or player-local functions. It seems that a similar problem could afflict the various open-sound hooks, and the apply-control hooks, but in those cases, I think you could use a sound-property to protect against this kind of error. From bil at ccrma.Stanford.EDU Mon May 24 04:06:49 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 May 2004 04:06:49 -0700 Subject: [CM] Building snd from source In-Reply-To: <20040523.143945.41641507.Meino.Cramer@gmx.de> References: <20040523.143945.41641507.Meino.Cramer@gmx.de> Message-ID: <40B1D749.4040803@ccrma> > ..but at least for a newbie it is a little confusing that provided > functionality which comes with the archive should better not touched The original idea was that snd_conffile.scm and Dave Phillips' contributions were "suggestions" or examples of ways to do things, and users would set up their own customizations, taking what they liked from the examples. But, these files aren't being used that way, so at least the tutorial files need to be made more robust. I'll do that over the next few days. (Actually all the Scheme/Ruby files started out in that spirit -- only the C side is intended to be bullet-proof). From bil at ccrma.Stanford.EDU Mon May 24 04:19:55 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 May 2004 04:19:55 -0700 Subject: [CM] Building snd from source In-Reply-To: <20040523.143945.41641507.Meino.Cramer@gmx.de> References: <20040523.143945.41641507.Meino.Cramer@gmx.de> Message-ID: <40B1DA5B.7010705@ccrma> > otherwise you cannot get out of the program other than to > reboot... > May be the program should be a little more "newbie safe" ? ;) This error is on my list -- the lowest level of the problem does signal an error -- I'm not yet sure why Snd plows ahead anyway. From bil at ccrma.Stanford.EDU Mon May 24 04:22:30 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 24 May 2004 04:22:30 -0700 Subject: [CM] Building snd from source In-Reply-To: References: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> Message-ID: <40B1DAF6.40409@ccrma> > I use gtk, but only because it looks better and feels much faster. There > are less audio-dropouts using motif. I'll try to track down the drop-outs -- I can't immediately think of any reason for this difference (gtk hasn't struck me as noticeably slower than motif). From dlphilp at bright.net Mon May 24 05:18:20 2004 From: dlphilp at bright.net (Dave Phillips) Date: Mon, 24 May 2004 08:18:20 -0400 Subject: [CM] Building snd from source In-Reply-To: <40B1D749.4040803@ccrma> References: <20040523.143945.41641507.Meino.Cramer@gmx.de> <40B1D749.4040803@ccrma> Message-ID: <40B1E80C.8050406@bright.net> Bill Schottstaedt wrote: > > ..but at least for a newbie it is a little confusing that provided > > functionality which comes with the archive should better not touched > > The original idea was that snd_conffile.scm and Dave Phillips' > contributions were "suggestions" or examples of ways to do things, > and users would set up their own customizations, taking what > they liked from the examples. But, these files aren't being used > that way, so at least the tutorial files need to be made more > robust. Hi everyone: Bill's right about my configuration files, they were written for personal use and as suggestions towards "doing it yourself". I hoped that someone else would take them as examples and improve them, just as Kjetil did (though I don't really know if he was at all inspired by my files). Snd is so deep, there's so much more that could be added to those menus... Best, dp From k.s.matheussen at notam02.no Mon May 24 05:27:59 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Mon, 24 May 2004 14:27:59 +0200 (CEST) Subject: [CM] stop-playing-hook problem In-Reply-To: <40B1D1F0.3050005@ccrma> References: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> <40B1D1F0.3050005@ccrma> Message-ID: On Mon, 24 May 2004, Bill Schottstaedt wrote: > > Now I pressed the GO button again. > > The violine plays again in a loop. > > There are two related problems here. In several files, add-hook! > is called whenever that file is loaded, so if the file is loaded > twice, the hook gets two copies of the added hook function. This can > be avoided by adding (if (not (defined...))) around the > load-from-path calls (for example, in snd_conffile, many of the dlp > files are loaded, but they may already have been loaded). Or we > could use hook-member (hooks.scm). But currently there's little attempt to > protect against redundant functions on the hook list. If one such Okey, I'll remember to add checks in snd_conffile.scm when loading files. > hook is stop-playing-hook and it's getting a function that calls > (play) to loop, you get an explosion of plays (each time one stops, it > fires up two more). This works anyway if you just load the dlp stuff, > but once snd_conffile.scm is also involved, several separate > stop-hooks start stepping on each other (play.scm's play-until-c-g > assumes it will be cancelled either via C-g or a function simulating that, > but other loopers aren't aware that something like that is sitting > on the hook). So we shouldn't be using play-until-c-g in dlp/new-buttons.scm, > but that's just a bandaid. > That is actually not all of the reason. The recent problem with the looping is, as I wrote earlier, that the stop-hook has suddenly started to be called the same number of times as there are channels in the sound-file. I have started snd with -noinit, just added one stop-hook, and it gets called 1 time for mono files, 2 times for stereo-files, etc. > I need to think of some way to make it safe to load these files any > number of times. But, the harder problem is that a function that wants > to add a hook function has no way of knowing (in general) what else is > already on that hook's function list -- whether for example a looping > play is already queued up. I think the whole start|stop-play|dac-hook > business needs to be redone. So, I propose to add an argument to the > various play functions to associate a (stop-)function with that > particular "play" call, calling that function when that play finishes. > This way the various additions to the user interface can avoid accidental > "cross-talk", and there's no problem of "dangling" stop-hook entries. Yes, this sounds like a very good idea. -- From k.s.matheussen at notam02.no Mon May 24 05:30:35 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Mon, 24 May 2004 14:30:35 +0200 (CEST) Subject: [CM] Building snd from source In-Reply-To: <40B1DAF6.40409@ccrma> References: <20040521121901.3786.67941.Mailman@cm-mail.stanford.edu> <40B1DAF6.40409@ccrma> Message-ID: On Mon, 24 May 2004, Bill Schottstaedt wrote: > > I use gtk, but only because it looks better and feels much faster. There > > are less audio-dropouts using motif. > > I'll try to track down the drop-outs -- I can't immediately think > of any reason for this difference (gtk hasn't struck me as noticeably > slower than motif). > It seems like gtk sometimes stalls the program when moving windows, resizing and open new widgets (especially the control-panel). Perhaps there is an option or something to avoid this? -- From k.s.matheussen at notam02.no Mon May 24 13:10:13 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Mon, 24 May 2004 22:10:13 +0200 (CEST) Subject: [CM] Re: Building snd from source In-Reply-To: <20040524190002.12866.88579.Mailman@cm-mail.stanford.edu> References: <20040524190002.12866.88579.Mailman@cm-mail.stanford.edu> Message-ID: Bill Schottstaedt: > > > ..but at least for a newbie it is a little confusing that provided > > functionality which comes with the archive should better not touched > > The original idea was that snd_conffile.scm and Dave Phillips' > contributions were "suggestions" or examples of ways to do things, > and users would set up their own customizations, taking what > they liked from the examples. But, these files aren't being used > that way, so at least the tutorial files need to be made more > robust. I'll do that over the next few days. > snd_conffile.scm was actually written for being the standard configuration at notam. A very short manual for SND that assumes this configuration-file is used can be downloaded from here: http://www.notam02.no/arkiv/kurs/sndinnforing.ps (norwegian language unfortunately) -- From bil at ccrma.Stanford.EDU Wed May 26 03:20:51 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Wed, 26 May 2004 03:20:51 -0700 Subject: [CM] Re: gtk audio dropouts In-Reply-To: References: <20040524190002.12866.88579.Mailman@cm-mail.stanford.edu> Message-ID: <40B46F83.6030303@ccrma> On the gtk audio dropouts, I spent some time watching the X traffic, and the gtk stream has about 10 times as much data as the Motif case. I'm not aware of doing anything fancy in gtk that would require such an enormous amount of stuff from X -- I need fancier X tracing tools... From Meino.Cramer at gmx.de Thu May 27 07:57:08 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Thu, 27 May 2004 16:57:08 +0200 (CEST) Subject: [CM] RFT:Request for a trick ;) Message-ID: <20040527.165708.41184516.Meino.Cramer@gmx.de> Hi, is there any way to achieve the following effect: I want to "fill" a sound -- for example a human voice -- with another frequency. Sometime in TV-movies one can hear such effect for example in the TV-series "Stargate" if a symbiont speaks. But I dont want to make the voice to speak ssssslllllloooooooowwwwwweerrrrr ;) Another example how to use this would be to tune music an octave lower without changing its speed. Is there a way to achieve this ? Thank you very much for any help in advance ! Kind regards, Meino Cramer From dlphilp at bright.net Thu May 27 09:23:00 2004 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 27 May 2004 12:23:00 -0400 Subject: [CM] dinosaur sounds In-Reply-To: <40ADE947.5010509@ccrma> References: <20040519201449.GD14309@fliwatut.scifi> <40AC8CCF.20009@ccrma> <40ACA8D1.40206@bright.net> <40ACE5D2.7060100@ccrma> <40ACFA75.5010906@bright.net> <40ADE947.5010509@ccrma> Message-ID: <40B615E4.8040609@bright.net> Hi Bill: > > Have you ever heard the sound of a hadrosaur ? > > No, but I'd be very interested -- we need a physical model > instrument for it in CLM! Check out this site: http://museums.state.nm.us/nmmnh/p3_staff_res_parasaur.html It links to a QT sound clip. Btw, I Google'd for "dinosaur sounds", there's more activity in that research than I expected. And authentic or not, I loved that T. Rex sound in the original Jurassic Park... :) Best, dp From juanig at ccrma.Stanford.EDU Thu May 27 09:27:58 2004 From: juanig at ccrma.Stanford.EDU (Juan Reyes) Date: Thu, 27 May 2004 09:27:58 -0700 Subject: [CM] circular-scanned.clm In-Reply-To: References: <9d2c5d22.42033455.825ff00@expms6.cites.uiuc.edu> Message-ID: <1085675277.2684.104.camel@coconut.maginvent.org> Sorry for the delay to this posting but in fact I was presenting my CLM Scanned synthesis piece in a concert in Peru. The Scanned synthesis algorithm is based on Bill's Scheme version but I added different waveforms to comply with Bill Verplank's and Max Mathews algorithm. Also this algorithm is based on their paper on Scanned which doesn't portrait details on how Scanned synthesis is handled with the radio baton. There is a Csound opcode for scanned synthesis which I tried but the sound itself was not much different as per Bill's Scheme algorithm. I'll be interested to find out about the obvious changes you have made to it. I think what makes a real difference are the modeled haptics Max and Bill Verplank used with the radio baton interface. The clm instrument lacks wack effects produced by hitting the right hand baton with the antena surface. For sometime I thought this could be modeled with a sort of 2D waveguide mesh filter approach. The radio-baton program also has a way of stretching or expanding the spring by applying horizontal force in addition to its weights and therefore creating an impressive Scanned synthesis effect. I believe this can also be done with a time changing bi-quad filter and an envelope for controlling it. All and all I think scanned synthesis shares the paradigm of physical modeling on which you need to have precise initial conditions for the model to work good in some frequencies otherwise it might not seem to have musical qualities. --* Juan On Wed, 2004-05-19 at 08:11, Anders Vinjar wrote: > Im starting to look a bit at scanned synthesis, and have had a > quick glance at the circular-scanned instrument in the file > circular-scanned.clm. > > It seems to be missing a few bits to be working properly. Ive > done some obvious fixes to it, but there seems to be quite much > work left. Now i wonder whether anyone has a working version of > this or similar instruments lying around anywhere before i start > getting dirty in fields i have very little understanding of > myself. > > Or maybe other versions of scanned synthesis instruments - Paris > Smaragdis Csound version - implemented in CLM. > > -anders > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From Meino.Cramer at gmx.de Fri May 28 18:16:26 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Sat, 29 May 2004 03:16:26 +0200 (CEST) Subject: [CM] Re: Building snd from source In-Reply-To: References: <20040524190002.12866.88579.Mailman@cm-mail.stanford.edu> Message-ID: <20040529.031626.74750175.Meino.Cramer@gmx.de> From: Kjetil Svalastog Matheussen Subject: [CM] Re: Building snd from source Date: Mon, 24 May 2004 22:10:13 +0200 (CEST) I think, there is a little bug... I moved my .snd out of the way and copied the snd_conffile.scm of the CVS tree to $HOME/.snd Starting snd then gaves me: [03:13:10] skip_scsh_block_comment: misc-error: unterminated `#! ... !#' comment () #f (while loading "/home/mccramer/.snd") ; (load ~/.snd) No other dotfiles or such are active. Keep snding! Meino > snd_conffile.scm was actually written for being the standard configuration > at notam. A very short manual for SND that assumes this configuration-file > is used can be downloaded from here: > http://www.notam02.no/arkiv/kurs/sndinnforing.ps > (norwegian language unfortunately) > > > -- > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From Meino.Cramer at gmx.de Fri May 28 18:31:16 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Sat, 29 May 2004 03:31:16 +0200 (CEST) Subject: [CM] Keyshortcuts Message-ID: <20040529.033116.41629259.Meino.Cramer@gmx.de> Hi, ...do I have to switch on something to activate the key shortcuts? I tried C-x C-f but it dies nothing on my box... I am using XFree 4.4.0 and Icewm 1.2.14. C-x C-f is not bound by the wm. (C-x C-f on my emacs do work.) I am using a current cvs-snapshot. What did I wrong ? Thank you very much for any help in advance ! Keep snding! Meino From bil at ccrma.Stanford.EDU Sun May 30 03:08:57 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 30 May 2004 03:08:57 -0700 Subject: [CM] Re: unterminated comment In-Reply-To: <20040529.031626.74750175.Meino.Cramer@gmx.de> References: <20040524190002.12866.88579.Mailman@cm-mail.stanford.edu> <20040529.031626.74750175.Meino.Cramer@gmx.de> Message-ID: <40B9B2B9.7000609@ccrma> > [03:13:10] skip_scsh_block_comment: misc-error: unterminated `#! ... !#' comment () #f > (while loading "/home/mccramer/.snd") > ; (load ~/.snd) This is a Guile bug, fixed in the CVS version. I have a script that changes \r\n to \n, but it's at home -- I'll bring it in Tuesday. In the meantime, you can just delete everything between (and including) #! and !#. From k.s.matheussen at notam02.no Sun May 30 03:47:11 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Sun, 30 May 2004 12:47:11 +0200 (CEST) Subject: [CM] Re: Building snd from source In-Reply-To: <20040529190003.15254.29026.Mailman@cm-mail.stanford.edu> References: <20040529190003.15254.29026.Mailman@cm-mail.stanford.edu> Message-ID: Meino Christian Cramer: > > I think, there is a little bug... > > I moved my .snd out of the way and copied the snd_conffile.scm of the > CVS tree to $HOME/.snd > > Starting snd then gaves me: > > [03:13:10] skip_scsh_block_comment: misc-error: unterminated `#! ... !#' comment () #f > (while loading "/home/mccramer/.snd") > ; (load ~/.snd) > > No other dotfiles or such are active. > Thats strange. I thought this bug was fixed for about a month ago. When did you update your CVS tree? -- From Meino.Cramer at gmx.de Sun May 30 18:28:44 2004 From: Meino.Cramer at gmx.de (Meino Christian Cramer) Date: Mon, 31 May 2004 03:28:44 +0200 (CEST) Subject: [CM] Re: Building snd from source In-Reply-To: References: <20040529190003.15254.29026.Mailman@cm-mail.stanford.edu> Message-ID: <20040531.032844.25908577.Meino.Cramer@gmx.de> From: Kjetil Svalastog Matheussen Subject: Re: [CM] Re: Building snd from source Date: Sun, 30 May 2004 12:47:11 +0200 (CEST) > > Meino Christian Cramer: > > > > I think, there is a little bug... > > > > I moved my .snd out of the way and copied the snd_conffile.scm of the > > CVS tree to $HOME/.snd > > > > Starting snd then gaves me: > > > > [03:13:10] skip_scsh_block_comment: misc-error: unterminated `#! ... !#' comment () #f > > (while loading "/home/mccramer/.snd") > > ; (load ~/.snd) > > > > No other dotfiles or such are active. > > > > Thats strange. I thought this bug was fixed for about a month ago. > When did you update your CVS tree? > On the day I wrote my mail, Kjetil... From bil at ccrma.Stanford.EDU Mon May 31 04:02:27 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 31 May 2004 04:02:27 -0700 Subject: [CM] Keyshortcuts In-Reply-To: <20040529.033116.41629259.Meino.Cramer@gmx.de> References: <20040529.033116.41629259.Meino.Cramer@gmx.de> Message-ID: <40BB10C3.6050008@ccrma> > I tried C-x C-f but it does nothing on my box... If there's no open sound, or the mouse is in the listener, C-x C-f isn't bound to anything. The main reason is that the listener is considered a text widget and uses its key bindings. As far as I know, neither Motif (via Xt) nor Gtk support directly Emacs' notion of an extended command (the C-x prefix). To get C-x C-f to start the Open File dialog in the listener: ;;; -------- ;;; Motif version: (define extended #f) ; our extended mode flag (XtAddEventHandler (list-ref (main-widgets) 4) KeyPressMask #f (lambda (w context event go) (let* ((bits (.state event)) (keysym (XKeycodeToKeysym (XtDisplay w) (.keycode event) (if (not (= (logand bits ShiftMask) 0)) 1 0)))) (if (= (logand bits ControlMask) 0) (set! extended #f) ;; got C- (if (= (cadr keysym) 120) ; C-x (set! extended #t) (begin (if (and extended (= (cadr keysym) 102)) ; C-x C-f (open-file-dialog)) (set! extended #f))))))) ;;; -------- ;;; Gtk version: (define extended #f) ; our extended mode flag (let ((listener (list-ref (main-widgets) 4))) (g_signal_connect_closure_by_id (GPOINTER listener) (g_signal_lookup "key_press_event" (G_OBJECT_TYPE (GTK_OBJECT listener))) 0 (g_cclosure_new (lambda (w event data) (let ((bits (.state (GDK_EVENT_KEY event))) (key (.keyval (GDK_EVENT_KEY event)))) (if (= (logand bits GDK_CONTROL_MASK) 0) (set! extended #f) ;; got C- (if (= key 120) ; C-x (set! extended #t) (begin (if (and extended (= key 102)) (open-file-dialog)) (set! extended #f)))) #f)) #f #f) #f)) ;;; -------- ;;; You could also use "actions" in Xt/Motif: (define extended #f) ; our extended mode flag (XtAppAddActions ; add an action for C-x (to enter extended mode) (car (main-widgets)) (list (list "Cx" (lambda args (set! extended #t))))) (XtOverrideTranslations (list-ref (main-widgets) 4) (XtParseTranslationTable "Ctrl x: Cx()\n")) (XtAppAddActions ; add an "action" for C-x C-f (car (main-widgets)) (list (list "CxCf" (lambda args (let ((listener (list-ref (main-widgets) 4))) (if (not extended) ; if no preceding C-x, C-f moves cursor ahead one position (XmTextSetCursorPosition listener (1+ (XmTextGetCursorPosition listener))) (begin ; else start the "Open File" dialog (set! extended #f) (open-file-dialog)))))))) (XtOverrideTranslations (list-ref (main-widgets) 4) (XtParseTranslationTable "Ctrl f: CxCf()\n")) ;;; but now C-x followed by anything other than C-f leaves extended = #t -------------------------------------------------------------------------------- > I want to "fill" a sound -- for example a human voice -- with another > frequency. Sometime in TV-movies one can hear such effect for example > in the TV-series "Stargate" if a symbiont speaks. I haven't heard this effect, but it might be cross synthesis? There's a function that does this in examp.scm. > Another example how to use this would be to tune music an octave > lower without changing its speed. Try granular synthesis (the "expand" control, or the granulate CLM generator), or the phas-vocoder, then perhaps ATSH?