From mis at artengine.ca Fri Oct 1 15:14:38 2004 From: mis at artengine.ca (Michal Seta) Date: Fri, 01 Oct 2004 18:14:38 -0400 Subject: [CM] CM->CMN note attributes etc... Message-ID: Hello, I was wandering in there is way to specify various notes (and other objects) attributes (such as :note-head etc...) in CM code, so that it will be reflected when export my processes to cmn. I assume that this is not something that one is expected to do by hand in the .cmn file... Be gentle on me, I'm no lisp guru. Thnx. ./MiS From metaperl at urth.org Sat Oct 2 01:33:02 2004 From: metaperl at urth.org (Terrence Brannon) Date: Sat, 02 Oct 2004 04:33:02 -0400 Subject: [CM] determining existence of function Message-ID: <415E67BE.1070903@urth.org> I defined the function row->matrix via C-x C-e and then went to the Listener and attempted to verify that I did by typing row->matrix into the Listener window. With most Schemes I have used, I get something like: #matrix> But with guile-scheme I got this: CM[1]> CM[2]> CM[3]> row->matrix *** - EVAL: variable ROW->MATRIX has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for ROW->MATRIX. USE-VALUE :R2 You may input a value to be used instead of ROW->MATRIX. *** - UNIX error 13 (EACCES): Permission denied The following restarts are available: STORE-VALUE :R1 You may input a new value for ROW->MATRIX. USE-VALUE :R2 You may input a value to be used instead of ROW->MATRIX. Break 1 CM[4]> (pprint (row->matrix albans-row)) ((0 3 7 11 2 5 9 1 4 6 8 10) (9 0 4 8 11 2 6 10 1 3 5 7) (5 8 0 4 7 10 2 6 9 11 1 3) (1 4 8 0 3 6 10 2 5 7 9 11) (10 1 5 9 0 3 7 11 2 4 6 8) (7 10 2 6 9 0 4 8 11 1 3 5) (3 6 10 2 5 8 0 4 7 9 11 1) (11 2 6 10 1 4 8 0 3 5 7 9) (8 11 3 7 10 1 5 9 0 2 4 6) (6 9 1 5 8 11 3 7 10 0 2 4) (4 7 11 3 6 9 1 5 8 10 0 2) (2 5 9 1 4 7 11 3 6 8 10 0)) Break 1 CM[4]> ==== the fact that I can run the function implies that the C-x C-e on the function definition did in fact define it. However, I do not understand why I could test for the existence of the function by typing it into the REPL. From metaperl at urth.org Sat Oct 2 01:56:52 2004 From: metaperl at urth.org (Terrence Brannon) Date: Sat, 02 Oct 2004 04:56:52 -0400 Subject: [CM] Xemacs and Listener response Message-ID: <415E6D54.4050704@urth.org> After I send an expression to the Listener via C-x C-e, it seems that I have to move my mouse or do something before a response will show up in the Listener - it just seems to stay frozen until then. Also, double-clicking on an expression and choosing Eval Selection seems to lock up the Listener completely. I have to type C-c and then abort to return things back to normal. There was no cm.bat with my distribution of Commonmusic. Here is what I do to get cm going: (defvar cm-directory (expand-file-name "~/mydocs/Scheme/cm-2.4.1/")) (defvar cm-startfile "cm.sh") (let* ((els (concat cm-directory "/etc/xemacs")) (bin (concat cm-directory "/bin/" cm-startfile)) (load-path (cons els load-path))) (load "listener") (load "cm") (setq inferior-lisp-program bin)) From bil at ccrma.Stanford.EDU Sat Oct 2 03:36:24 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 02 Oct 2004 03:36:24 -0700 Subject: [CM] New CLM instruments Message-ID: <415E84A8.80700@ccrma> I've added 4 new instruments written by Bret Battey to the clm-3 tarball: autoc, scentroid, rmsenv, and sndwarp. Thanks Bret!! From terry at hcoop.net Sat Oct 2 00:20:48 2004 From: terry at hcoop.net (Terrence Brannon) Date: Sat, 02 Oct 2004 03:20:48 -0400 Subject: [CM] determining existence of function Message-ID: <415E56D0.6090506@hcoop.net> I defined the function row->matrix via C-x C-e and then went to the Listener and attempted to verify that I did by typing row->matrix into the Listener window. With most Schemes I have used, I get something like: #matrix> But with guile-scheme I got this: CM[1]> CM[2]> CM[3]> row->matrix *** - EVAL: variable ROW->MATRIX has no value The following restarts are available: STORE-VALUE :R1 You may input a new value for ROW->MATRIX. USE-VALUE :R2 You may input a value to be used instead of ROW->MATRIX. *** - UNIX error 13 (EACCES): Permission denied The following restarts are available: STORE-VALUE :R1 You may input a new value for ROW->MATRIX. USE-VALUE :R2 You may input a value to be used instead of ROW->MATRIX. Break 1 CM[4]> (pprint (row->matrix albans-row)) ((0 3 7 11 2 5 9 1 4 6 8 10) (9 0 4 8 11 2 6 10 1 3 5 7) (5 8 0 4 7 10 2 6 9 11 1 3) (1 4 8 0 3 6 10 2 5 7 9 11) (10 1 5 9 0 3 7 11 2 4 6 8) (7 10 2 6 9 0 4 8 11 1 3 5) (3 6 10 2 5 8 0 4 7 9 11 1) (11 2 6 10 1 4 8 0 3 5 7 9) (8 11 3 7 10 1 5 9 0 2 4 6) (6 9 1 5 8 11 3 7 10 0 2 4) (4 7 11 3 6 9 1 5 8 10 0 2) (2 5 9 1 4 7 11 3 6 8 10 0)) Break 1 CM[4]> ==== the fact that I can run the function implies that the C-x C-e on the function definition did in fact define it. However, I do not understand why I could test for the existence of the function by typing it into the REPL. -- Terrence Brannon, terry at hcoop.net From terry at hcoop.net Sat Oct 2 00:27:46 2004 From: terry at hcoop.net (Terrence Brannon) Date: Sat, 02 Oct 2004 03:27:46 -0400 Subject: [CM] Xemacs and Listener response Message-ID: <415E5872.4070705@hcoop.net> After I send an expression to the Listener via C-x C-e, it seems that I have to move my mouse or do something before a response will show up in the Listener - it just seems to stay frozen until then. Also, double-clicking on an expression and choosing Eval Selection seems to lock up the Listener completely. I have to type C-c and then abort to return things back to normal. There was no cm.bat with my distribution of Commonmusic. Here is what I do to get cm going: (defvar cm-directory (expand-file-name "~/mydocs/Scheme/cm-2.4.1/")) (defvar cm-startfile "cm.sh") (let* ((els (concat cm-directory "/etc/xemacs")) (bin (concat cm-directory "/bin/" cm-startfile)) (load-path (cons els load-path))) (load "listener") (load "cm") (setq inferior-lisp-program bin)) -- Terrence Brannon, terry at hcoop.net From metaperl at urth.org Sat Oct 2 05:51:14 2004 From: metaperl at urth.org (Terrence Brannon) Date: Sat, 02 Oct 2004 08:51:14 -0400 Subject: [CM] determining existence of function In-Reply-To: <415E67BE.1070903@urth.org> References: <415E67BE.1070903@urth.org> Message-ID: <415EA442.3040404@urth.org> Terrence Brannon wrote: > I defined the function row->matrix via C-x C-e and then went to the Listener and > attempted to verify that I did by typing row->matrix into the Listener window. > With most Schemes I have used, I get something like: > #matrix> > > But with guile-scheme I got this: > oops! cm.sh had clisp before guile and my version of Cygwin had clisp installed. works as expected when guile is loaded. From taube at uiuc.edu Sat Oct 2 07:14:03 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 2 Oct 2004 09:14:03 -0500 Subject: [CM] determining existence of function Message-ID: <7fea0a25.88ff9694.81b3100@expms6.cites.uiuc.edu> Hmm, it looks to me that you are using CLISP (Common Lisp) not Guile (Scheme). CM does provide some "syntactic sugar" that lets you work with Scheme style expressions so you can keep code portable accross CM ports but it does not turn Common LIsp (CLISP, SBCL, CMUCL, OPenMCL, etc) int Scheme! In particular, scheme's function-in-a-variable is scheme, not CL. In CL, to get a function from its name do #'row->matrix I hope this helps. ---- Original message ---- >Date: Sat, 02 Oct 2004 04:33:02 -0400 >From: Terrence Brannon >Subject: [CM] determining existence of function >To: cmdist at ccrma.Stanford.EDU > >I defined the function row->matrix via C-x C-e and then went to the Listener and >attempted to verify that I did by typing row->matrix into the Listener window. >With most Schemes I have used, I get something like: >#matrix> > >But with guile-scheme I got this: > >CM[1]> >CM[2]> >CM[3]> row->matrix > >*** - EVAL: variable ROW->MATRIX has no value >The following restarts are available: >STORE-VALUE :R1 You may input a new value for ROW->MATRIX. >USE-VALUE :R2 You may input a value to be used instead of ROW->MATRIX. > >*** - UNIX error 13 (EACCES): Permission denied >The following restarts are available: >STORE-VALUE :R1 You may input a new value for ROW->MATRIX. >USE-VALUE :R2 You may input a value to be used instead of ROW->MATRIX. > >Break 1 CM[4]> (pprint (row->matrix albans-row)) > >((0 3 7 11 2 5 9 1 4 6 8 10) (9 0 4 8 11 2 6 10 1 3 5 7) > (5 8 0 4 7 10 2 6 9 11 1 3) (1 4 8 0 3 6 10 2 5 7 9 11) > (10 1 5 9 0 3 7 11 2 4 6 8) (7 10 2 6 9 0 4 8 11 1 3 5) > (3 6 10 2 5 8 0 4 7 9 11 1) (11 2 6 10 1 4 8 0 3 5 7 9) > (8 11 3 7 10 1 5 9 0 2 4 6) (6 9 1 5 8 11 3 7 10 0 2 4) > (4 7 11 3 6 9 1 5 8 10 0 2) (2 5 9 1 4 7 11 3 6 8 10 0)) > >Break 1 CM[4]> > >==== >the fact that I can run the function implies that the C-x C-e on the function >definition did in fact define it. However, I do not understand why I could test >for the existence of the function by typing it into the REPL. > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sat Oct 2 07:16:49 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 2 Oct 2004 09:16:49 -0500 Subject: [CM] Xemacs and Listener response Message-ID: <89d22f96.88ffd781.81b3100@expms6.cites.uiuc.edu> I cant imagine what is causing this! what OS are you on and what versino of Xemacs are you using? Ive testend listener.el in emacs and xemacs on many machines and os'es and ive never encountered what you describe so any addition info would be helpful. best, Rick ---- Original message ---- >Date: Sat, 02 Oct 2004 04:56:52 -0400 >From: Terrence Brannon >Subject: [CM] Xemacs and Listener response >To: cmdist at ccrma.Stanford.EDU > >After I send an expression to the Listener via C-x C-e, it seems that I have to >move my mouse or do something before a response will show up in the Listener - >it just seems to stay frozen until then. > >Also, double-clicking on an expression and choosing Eval Selection seems to lock >up the Listener completely. I have to type C-c and then abort to return things >back to normal. > >There was no cm.bat with my distribution of Commonmusic. Here is what I do to >get cm going: > >(defvar cm-directory (expand-file-name "~/mydocs/Scheme/cm-2.4.1/")) > >(defvar cm-startfile "cm.sh") > >(let* ((els (concat cm-directory "/etc/xemacs")) > (bin (concat cm-directory "/bin/" > cm-startfile)) > (load-path (cons els load-path))) > (load "listener") > (load "cm") > (setq inferior-lisp-program bin)) > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From taube at uiuc.edu Sat Oct 2 07:24:08 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 2 Oct 2004 09:24:08 -0500 Subject: [CM] CM->CMN note attributes etc... Message-ID: cm 2.5.0 (CVShead) implements a 'cmn' event class that makes it easy to compute cmn data and attach things to cmn objects. it also does midi output. documetation is in /cm/doc/dict/cmn-cls.html the documentation contains several examples of its use. see /cm/doc/install.html for how to get cm via cvs. ---- Original message ---- >Date: Fri, 01 Oct 2004 18:14:38 -0400 >From: Michal Seta >Subject: [CM] CM->CMN note attributes etc... >To: cmdist at ccrma.Stanford.EDU > > >Hello, > >I was wandering in there is way to specify various notes (and other >objects) attributes (such as :note-head etc...) in CM code, so that it >will be reflected when export my processes to cmn. I assume that this >is not something that one is expected to do by hand in the .cmn >file... Be gentle on me, I'm no lisp guru. > >Thnx. > >./MiS > >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From rm at fabula.de Sat Oct 2 08:14:33 2004 From: rm at fabula.de (rm at fabula.de) Date: Sat, 2 Oct 2004 17:14:33 +0200 Subject: [CM] determining existence of function In-Reply-To: <415E56D0.6090506@hcoop.net> References: <415E56D0.6090506@hcoop.net> Message-ID: <20041002151433.GA8009@www> On Sat, Oct 02, 2004 at 03:20:48AM -0400, Terrence Brannon wrote: > I defined the function row->matrix via C-x C-e and then went to the > Listener and attempted to verify that I did by typing row->matrix into the > Listener window. With most Schemes I have used, I get something like: > #matrix> > > But with guile-scheme I got this: > > CM[1]> > CM[2]> > CM[3]> row->matrix > > *** - EVAL: variable ROW->MATRIX has no value ??? That doesn't look like Guile at all! That looks like some sort of LISP. > The following restarts are available: > STORE-VALUE :R1 You may input a new value for ROW->MATRIX. > USE-VALUE :R2 You may input a value to be used instead of > ROW->MATRIX. > > *** - UNIX error 13 (EACCES): Permission denied > The following restarts are available: > STORE-VALUE :R1 You may input a new value for ROW->MATRIX. > USE-VALUE :R2 You may input a value to be used instead of > ROW->MATRIX. Bo, that's a condition system unheard of in Guile - CLISP maybe? > > Break 1 CM[4]> (pprint (row->matrix albans-row)) > > ((0 3 7 11 2 5 9 1 4 6 8 10) (9 0 4 8 11 2 6 10 1 3 5 7) > (5 8 0 4 7 10 2 6 9 11 1 3) (1 4 8 0 3 6 10 2 5 7 9 11) > (10 1 5 9 0 3 7 11 2 4 6 8) (7 10 2 6 9 0 4 8 11 1 3 5) > (3 6 10 2 5 8 0 4 7 9 11 1) (11 2 6 10 1 4 8 0 3 5 7 9) > (8 11 3 7 10 1 5 9 0 2 4 6) (6 9 1 5 8 11 3 7 10 0 2 4) > (4 7 11 3 6 9 1 5 8 10 0 2) (2 5 9 1 4 7 11 3 6 8 10 0)) > > Break 1 CM[4]> > > ==== > the fact that I can run the function implies that the C-x C-e on the > function definition did in fact define it. However, I do not understand why > I could test for the existence of the function by typing it into the REPL. Iff this is in fact a LISP you are working with you can try: CM[1]> #'row->matrix which is just a convenient reader macro for CM[2]> (symbol-function 'row->matrix) HTH Ralf Mattes From taube at uiuc.edu Sat Oct 2 08:26:24 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sat, 2 Oct 2004 10:26:24 -0500 Subject: [CM] Xemacs and Listener response Message-ID: <82aa7c3e.89063655.81b3100@expms6.cites.uiuc.edu> You might try switching to the Win xemacs which seems to work better, at least in my experience. I think cm.sh even supports launching a Win Xemacs under cygwin but I cant rememeber offhand how to do this, ill have to look at the code when i have a bit of time. ---- Original message ---- >Date: Sat, 02 Oct 2004 10:48:38 -0400 >From: Terrence Brannon >Subject: Re: [CM] Xemacs and Listener response >To: taube at uiuc.edu >Cc: Terrence Brannon , cmdist at ccrma.Stanford.EDU > >taube at uiuc.edu wrote: > >> I cant imagine what is causing this! what OS are you on and what versino of >> Xemacs are you using? > >I am using Cygwin 1.5.11. I am using cm-2.4.1. I am using Xemacs 21.4 downloaded >from xemacs.org. When using the Xemacs netinstall, I opted for the Cygwin >installation over Native installation. > > > >> machines and os'es and ive never encountered what you describe so any addition >> info would be helpful. > >I don't think this is a Commonmusic problem in particular. When I open a shell >in Xemacs, I often have to hit return to get Xemacs to give me output from the >shell command... I was asking here, but I should have indicated that this >problem is not peculiar to the Commonmusic listener, but just to my Xemacs and >subprocess interaction. > >> >> best, >> Rick >> >> >> >> >> ---- Original message ---- >> >>>Date: Sat, 02 Oct 2004 04:56:52 -0400 >>>From: Terrence Brannon >>>Subject: [CM] Xemacs and Listener response >>>To: cmdist at ccrma.Stanford.EDU >>> >>>After I send an expression to the Listener via C-x C-e, it seems that I have to >>>move my mouse or do something before a response will show up in the Listener - >>>it just seems to stay frozen until then. >>> >>>Also, double-clicking on an expression and choosing Eval Selection seems to lock >>>up the Listener completely. I have to type C-c and then abort to return things >>>back to normal. >>> >>>There was no cm.bat with my distribution of Commonmusic. Here is what I do to >>>get cm going: >>> >>>(defvar cm-directory (expand-file-name "~/mydocs/Scheme/cm-2.4.1/")) >>> >>>(defvar cm-startfile "cm.sh") >>> >>>(let* ((els (concat cm-directory "/etc/xemacs")) >>> (bin (concat cm-directory "/bin/" >>> cm-startfile)) >>> (load-path (cons els load-path))) >>> (load "listener") >>> (load "cm") >>> (setq inferior-lisp-program bin)) >>> >>>_______________________________________________ >>>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 > > >-- >Terrence Brannon, terry at hcoop.net From taube at uiuc.edu Sun Oct 3 07:56:55 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sun, 3 Oct 2004 09:56:55 -0500 Subject: [CM] Plotter in GTK2 available Message-ID: <36f15cb7.89875882.81e3000@expms6.cites.uiuc.edu> Well maybe the wait wont be so long -- a few hours ago i was able to open my first Gtk window in CMU19e AND SBCL-0.14 on a debian box. I also got a Gtk "destroy" callback to work and not crash the lisp. so im hopefull! ---- Original message ---- >Date: Sun, 03 Oct 2004 10:57:39 -0400 >From: Dave Phillips >Subject: Re: [CM] Plotter in GTK2 available >To: Rick Taube > >Greetings: > > OSX only ?? Ach, so close, yet so far away.... :( > > And it's even done with GTK2... ... But at least there's a >shimmering possibility on the far horizon... "Could it be ?! Is that the >Plotter for Linux ??!!"... ;-) > > We continue to await the day... and damn, I wish I had some GTK coding >skills... > >Best regards, > >dp > > > > >Rick Taube wrote: > >> There was an old program named Plotter >> With source code so hacked it did totter. >> But in GTK2 >> Its now spanking brand new, >> And Zoom even works like it oughter. >> --- >> Screenshots, documentation, examples, install instructions, and bug >> list are available at: >> http://pinhead.music.uiuc.edu/~hkt/plotter/doc/dict/plotter-topic.html >> >> Tarball download at: >> http://pinhead.music.uiuc.edu/~hkt/plotter.tar.gz >> >> Perversly enough (and despite the fact that I'm using X/GTK2) this >> first version is for OSX/OpenMCL only because it turned out that >> OpenMCL is the only CLtL that makes it easly to interface to such a >> huge library. My goal is to have Plotter (and whatever other GUI stuff >> is developed for CM) working in three environments: Darwin/OpenMCL, >> Linux/SBCL Linux/Guile. The next step is to try to get it working in >> SBCL (partially done), then Guile, and finally to integrate the code >> into cm's 2.5.0 cvs tree. If anyone wants to help out with this gui >> coding please let me know. > > > From terry at hcoop.net Sat Oct 2 07:48:38 2004 From: terry at hcoop.net (Terrence Brannon) Date: Sat, 02 Oct 2004 10:48:38 -0400 Subject: [CM] Xemacs and Listener response In-Reply-To: <89d22f96.88ffd781.81b3100@expms6.cites.uiuc.edu> References: <89d22f96.88ffd781.81b3100@expms6.cites.uiuc.edu> Message-ID: <415EBFC6.9030009@hcoop.net> taube at uiuc.edu wrote: > I cant imagine what is causing this! what OS are you on and what versino of > Xemacs are you using? I am using Cygwin 1.5.11. I am using cm-2.4.1. I am using Xemacs 21.4 downloaded from xemacs.org. When using the Xemacs netinstall, I opted for the Cygwin installation over Native installation. > machines and os'es and ive never encountered what you describe so any addition > info would be helpful. I don't think this is a Commonmusic problem in particular. When I open a shell in Xemacs, I often have to hit return to get Xemacs to give me output from the shell command... I was asking here, but I should have indicated that this problem is not peculiar to the Commonmusic listener, but just to my Xemacs and subprocess interaction. > > best, > Rick > > > > > ---- Original message ---- > >>Date: Sat, 02 Oct 2004 04:56:52 -0400 >>From: Terrence Brannon >>Subject: [CM] Xemacs and Listener response >>To: cmdist at ccrma.Stanford.EDU >> >>After I send an expression to the Listener via C-x C-e, it seems that I have to >>move my mouse or do something before a response will show up in the Listener - >>it just seems to stay frozen until then. >> >>Also, double-clicking on an expression and choosing Eval Selection seems to lock >>up the Listener completely. I have to type C-c and then abort to return things >>back to normal. >> >>There was no cm.bat with my distribution of Commonmusic. Here is what I do to >>get cm going: >> >>(defvar cm-directory (expand-file-name "~/mydocs/Scheme/cm-2.4.1/")) >> >>(defvar cm-startfile "cm.sh") >> >>(let* ((els (concat cm-directory "/etc/xemacs")) >> (bin (concat cm-directory "/bin/" >> cm-startfile)) >> (load-path (cons els load-path))) >> (load "listener") >> (load "cm") >> (setq inferior-lisp-program bin)) >> >>_______________________________________________ >>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 -- Terrence Brannon, terry at hcoop.net From bil at ccrma.Stanford.EDU Tue Oct 5 04:04:54 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 05 Oct 2004 04:04:54 -0700 Subject: [CM] snd 7.7 Message-ID: <41627FD6.3060208@ccrma> Snd 7.7 new version of sndins and other bugfixes thanks to Mike Scholz in clm: autoc.ins, scentroid.ins, rmsenv.ins, and sndwarp.ins thanks to Bret Battey clm: configuration bugfixes thanks to Anders Vinjar added: smart-line-cursor in draw.scm (a line cursor that ducks under the top right thumbnail graph) vct|channel|spectral-polynomial (dsp.scm) create-ssb-dialog in snd-motif.scm vct-reverse! (mostly to experiment with fancy granulate edit funcs) log-freq-start (with more transform dialog widgetry and axis improvements) show-sonogram-cursor (tracking cursor in sonogram) do? (examp.scm -- 'do' that can be interrupted and continued) grid-density (controls axis tick spacing) edit-list->function (1st step toward a "sound spreadsheet") removed: mus-inspect, buffer generator. (mus-inspect duplicates the functionality of mus-describe, and given a decent debbuger, the extra info it provides is unneeded). vct-convolve! (see snd7.scm -- was same as convolution function) vct->samples and samples->vct (see snd7.scm) (These were redundant given vct->channel->vct and inconsistent with others) list and vector return value choices from map-chan and map-channel (see snd7.scm). float vector as possible arg to formant-bank, fft, or scale-* (use vct) (see snd7.scm). list of vectors as possible arg to graph (use list of vcts) mus-audio-mixer-read|write vector arg is now a vct (I'm trying to reduce the use of vectors as much as possible) oscil-bank, mus-bank (see snd7.scm) support for gtkglext 0.1 through 0.4 changed: transform-samples->vct to transform->vct, region-samples->vct to region->vct, transform-samples-size to transform-frames. (Old forms are in snd7.scm). checked: gtk 2.5.2|3, Mesa 6.1, sbcl 0.8.14|5 with much help from: Michael Klingbeil, Anthony Kozar, Bret Battey, Anders Vinjar, Mike Scholz, Paul Winkler, Marv Smoak (Snd has lumbered past the 400,000 line mark -- 250000 C, 110000 Scheme, 30000 Ruby, and a few thousand of m4, lisp, emacs-lisp etc) From rsegnini at ccrma.Stanford.EDU Tue Oct 5 11:57:42 2004 From: rsegnini at ccrma.Stanford.EDU (Rodrigo Segnini) Date: Tue, 5 Oct 2004 11:57:42 -0700 (PDT) Subject: [CM] cygwin+snd blues Message-ID: Hi list I was able to compile--with no special configuration flags--snd on cygwin_nt-5.1 1.5.11(0.116/4/2) i 686 and it works nicely, except when trying to play a sound file: can't play : reason not known or trying to record something: no audio input devices available Another issue is that you can write in the listener, but the 'Enter' key is the only key in the keyboard that does not produce its intended effect: a line-feed and/or evaluation. Any hints or alternatives to run snd on winxp? Thanks, Rodrigo From rsegnini at ccrma.Stanford.EDU Tue Oct 5 12:22:19 2004 From: rsegnini at ccrma.Stanford.EDU (Rodrigo Segnini) Date: Tue, 5 Oct 2004 12:22:19 -0700 (PDT) Subject: [CM] clm+{clisp/acl-lite} blues Message-ID: Hi list. I succesfully compiled cm on cygwin + clisp. I can't do the same with clm because of the function compile-and-load which is undefined in clisp--at least in mine. I tried the acl-lite way, but since memory is limited, compilation stops. Any hints, or alternatives to run clm on winxp? Thanks, Rodrigo From epsobolik at rcn.com Tue Oct 5 15:47:05 2004 From: epsobolik at rcn.com (Phil Sobolik) Date: Tue, 05 Oct 2004 18:47:05 -0400 Subject: [CM] Notes form the Meta Level Message-ID: <5.2.1.1.2.20041005184523.02c429c8@pop.rcn.com> I just received my copy of Notes From the Meta Level today. So, it's out there! I ordered it from the UK. They sent it DHL and I had it a week after I ordered it. A few dollars more than mail, but not much. Phil Sobolik From terry at hcoop.net Wed Oct 6 00:58:57 2004 From: terry at hcoop.net (Terrence Brannon) Date: Wed, 06 Oct 2004 03:58:57 -0400 Subject: [CM] nm-finalfinal - grammatical error Message-ID: <4163A5C1.5020500@hcoop.net> Op. 2, No. 1: Transposing Hertz Frequency In this next exercise ... expressed as a power of 2: ... 2-4=1/16. The the Lisp function expt can be used to calculate exponential progressions in either ascending or descending order, as shown in Interaction 7-2. ===== the very last sentence starts with a repeat of the word "the", which is grammatically incorrect. i obtained this file from: pinhead.music.uiuc.edu\~hkt -- Terrence Brannon, terry at hcoop.net From terry at hcoop.net Wed Oct 6 01:54:08 2004 From: terry at hcoop.net (Terrence Brannon) Date: Wed, 06 Oct 2004 04:54:08 -0400 Subject: [CM] small contribution to Op.2, No. 5: Chance and Probability Message-ID: <4163B2B0.3010009@hcoop.net> When I saw this expression: (chance? .75) I got very curious and decided to see how close the percentage of true values would be to 75% based on the number of trials I ran, so I wrote this Scheme-specific code to check it out: (use-modules (srfi srfi-1)) (define (percent success trials) (* 100 (/ success trials))) (define *chance* 0.75) (define (try-chance trials chance) (let* ((dummy-list (make-list trials)) (trial-result (loop for tmp in dummy-list collect (chance? chance)))) (percent (count (lambda (x) x) trial-result) trials))) (define (trial-stats) (let* ((powers-of-2 (iota 16 0 1))) (loop for power in powers-of-2 collect (try-chance (expt 2 power) *chance*)))) (trial-stats) == some of the early experimental results are right on the theoretical, but some are way off. only after many trials do we consistently get the experimental and theoretical close, as we expected. well, I had some fun with this :) -- Terrence Brannon, terry at hcoop.net From rsegnini at ccrma.Stanford.EDU Wed Oct 6 10:33:41 2004 From: rsegnini at ccrma.Stanford.EDU (Rodrigo Segnini) Date: Wed, 6 Oct 2004 10:33:41 -0700 Subject: [CM] cygwin+snd blues...2 Message-ID: <004101c4abca$a0187f40$6400a8c0@ccswin> Update: After compiling --with-esd (which plays and records audio files normally from the cygwinshell), snd's responses to my play or record requests are: [10:08:12] Sonorus device 0 (mus-audio-default) not available [audio.c[8572] mus_audio_open_output] [10:08:12] can't play : Sonorus device 0 (mus-audio-default) not available [audio.c[8572] mus_audio_open_output] and [10:14:00] no audio input devices available This is the same response when using sndplay from the shell. I can see (in ps) that snd calls an esd process, which stays there even after snd exits (although snd's window doesn't close after the process is gone, unless I kill the esd process by hand). Getting close? Rodrigo -----Original Message----- From: cmdist-admin at ccrma.Stanford.EDU [mailto:cmdist-admin at ccrma.Stanford.EDU] On Behalf Of Rodrigo Segnini Sent: Tuesday, October 05, 2004 11:58 AM To: cmdist at ccrma.Stanford.EDU Subject: [CM] cygwin+snd blues Importance: High Hi list I was able to compile--with no special configuration flags--snd on cygwin_nt-5.1 1.5.11(0.116/4/2) i 686 and it works nicely, except when trying to play a sound file: can't play : reason not known or trying to record something: no audio input devices available Another issue is that you can write in the listener, but the 'Enter' key is the only key in the keyboard that does not produce its intended effect: a line-feed and/or evaluation. Any hints or alternatives to run snd on winxp? Thanks, Rodrigo _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Thu Oct 7 04:21:14 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 07 Oct 2004 04:21:14 -0700 Subject: [CM] cygwin+snd blues In-Reply-To: References: Message-ID: <416526AA.5070205@ccrma> > can't play : reason not known Please send me the config.h or config.log files, or the print out of snd --version. I think the cygwin version is supposed to use the Windows API. I never implemented audio input in that version, so the message: > no audio input devices available is not surprising. > I can't do the same with clm because of the function compile-and-load > which is undefined in clisp--at least in mine. Clisp is no longer supported. I don't know what lisps are available in cygwin. From rsegnini at ccrma.Stanford.EDU Thu Oct 7 08:46:32 2004 From: rsegnini at ccrma.Stanford.EDU (Rodrigo Segnini) Date: Thu, 7 Oct 2004 08:46:32 -0700 Subject: [CM] cygwin+snd blues In-Reply-To: <416526AA.5070205@ccrma> Message-ID: <002101c4ac84$d4b6d930$6400a8c0@ccswin> Thanks Bill for your reply. Attached are snd's config.h and the output of snd --version in a text file. I am interested in working with cm-cmn-clm under the same roof. I do so in linux, but I will spread the gospel in places where currently mac-osx and winxp are more popular among composers. Cm supports clisp on the three platforms. Sometime ago clm did too (what version was that?). But I understand you have to make choices; I happily abide. I'm looking for alternatives. On windows it's either an unix emulator or a native app, thus Cygwin (and whatever runs on it), or acl-lite/clisp. Cmucl does not run (so far) in either. Acl-lite has memory limitations Or maybe I'm looking in a wrong direction. I'm an old lisp'er. Recent postings in cmdist give me the impression that at some point we would be able to do all clm things on snd's listener. Am I right in this assumption? That would be awesome! I could use some advice as to what's available right now. In particular, whether grani and dlocsig can be used there. Thanks, Rodrigo -----Original Message----- From: Bill Schottstaedt [mailto:bil at ccrma.Stanford.EDU] Sent: Thursday, October 07, 2004 4:21 AM To: Rodrigo Segnini Cc: cmdist at ccrma.Stanford.EDU Subject: Re: [CM] cygwin+snd blues Importance: High > can't play : reason not known Please send me the config.h or config.log files, or the print out of snd --version. I think the cygwin version is supposed to use the Windows API. I never implemented audio input in that version, so the message: > no audio input devices available is not surprising. > I can't do the same with clm because of the function compile-and-load > which is undefined in clisp--at least in mine. Clisp is no longer supported. I don't know what lisps are available in cygwin. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sndversion.txt URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: config.h Type: application/octet-stream Size: 5722 bytes Desc: not available URL: From rdlatimer at tjhsst.edu Thu Oct 7 10:33:58 2004 From: rdlatimer at tjhsst.edu (rdlatimer at tjhsst.edu) Date: Thu, 7 Oct 2004 13:33:58 -0400 (EDT) Subject: [CM] Windows XP Message-ID: <51909.151.188.17.247.1097170438.squirrel@151.188.17.247> We're trying to set up CLM on an XP machine here at school. I'm using Lispworks too. Here's my error on loading all.lisp. Any suggestions? Thanks, Randy Latimer rdlatimer at tjhsst.edu CL-USER 1 > (load "c:\\Program Files\\clm-3\\all.lisp") ; Loading text file c:\Program Files\clm-3\all.lisp ; running cd C:\Program Files\clm-3\ && ./configure --quiet --with-doubles --with-float-samples ; Compiling "C:\\Program Files\\clm-3\\io.c" ; Compiling "C:\\Program Files\\clm-3\\headers.c" ; Compiling "C:\\Program Files\\clm-3\\audio.c" ; Compiling "C:\\Program Files\\clm-3\\sound.c" ; Compiling "C:\\Program Files\\clm-3\\clm.c" ; Compiling "C:\\Program Files\\clm-3\\cmus.c" Error: Undefined function COMPILE-AND-LOAD called with arguments ("clm-package"). From bil at ccrma.Stanford.EDU Fri Oct 8 04:39:40 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 08 Oct 2004 04:39:40 -0700 Subject: [CM] re: Windows XP Message-ID: <41667C7C.3020005@ccrma> > We're trying to set up CLM on an XP machine here at school. > I'm using Lispworks too. > Here's my error on loading all.lisp. Any suggestions? I don't think there's any Lispworks support code in CLM -- at this point I can't even remember what Lispworks refers to! Does it have a reasonable foreign function interface? From bil at ccrma.Stanford.EDU Fri Oct 8 04:51:12 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 08 Oct 2004 04:51:12 -0700 Subject: [CM] cygwin+snd blues In-Reply-To: <002101c4ac84$d4b6d930$6400a8c0@ccswin> References: <002101c4ac84$d4b6d930$6400a8c0@ccswin> Message-ID: <41667F30.7090303@ccrma> I removed Clisp support in version 3 of CLM -- to support it required a huge amount of incredibly ugly special-case code. I'll look at the Snd stuff later today -- I don't know why it complains about a Sonorus device. > Recent > postings in cmdist give me the impression that at some point we would be > able to do all clm things on snd's listener. Am I right in this > assumption? Yes -- see ws.scm and clm-ins.scm for example. Snd's implementation of CLM is slightly slower than the CL version (it uses my optimizer rather than separate C files, gcc, and the lisp FFI), but I think it's fast enough to be usable. Both use clm.c as the basic generator code. > That would be awesome! I could use some advice as to what's available > right now. In particular, whether grani and dlocsig can be used there. I don't think grani.ins has been translated -- will check. Mike Scholz provided a Ruby version of dlocsig -- dlocsig.rb. From rdlatimer at tjhsst.edu Fri Oct 8 10:29:37 2004 From: rdlatimer at tjhsst.edu (rdlatimer at tjhsst.edu) Date: Fri, 8 Oct 2004 13:29:37 -0400 (EDT) Subject: [CM] Windows XP In-Reply-To: <51909.151.188.17.247.1097170438.squirrel@151.188.17.247> References: <51909.151.188.17.247.1097170438.squirrel@151.188.17.247> Message-ID: <33151.198.38.18.6.1097256577.squirrel@198.38.18.6> Lispworks comes from http://www.lispworks.com/, not too bad a GUI interface for Lisp on Windows. We use CLisp on Linux. What Lisp are you using for Windows?/Linux? THanks > We're trying to set up CLM on an XP machine here at school. > I'm using Lispworks too. > Here's my error on loading all.lisp. Any suggestions? > Thanks, > > Randy Latimer rdlatimer at tjhsst.edu > > CL-USER 1 > (load "c:\\Program Files\\clm-3\\all.lisp") > ; Loading text file c:\Program Files\clm-3\all.lisp > ; running cd C:\Program Files\clm-3\ && ./configure --quiet > --with-doubles --with-float-samples > ; Compiling "C:\\Program Files\\clm-3\\io.c" > ; Compiling "C:\\Program Files\\clm-3\\headers.c" > ; Compiling "C:\\Program Files\\clm-3\\audio.c" > ; Compiling "C:\\Program Files\\clm-3\\sound.c" > ; Compiling "C:\\Program Files\\clm-3\\clm.c" > ; Compiling "C:\\Program Files\\clm-3\\cmus.c" > > Error: Undefined function COMPILE-AND-LOAD called with arguments > ("clm-package"). > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From taube at uiuc.edu Fri Oct 8 13:24:11 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 8 Oct 2004 15:24:11 -0500 Subject: [CM] Windows XP In-Reply-To: <33151.198.38.18.6.1097256577.squirrel@198.38.18.6> References: <51909.151.188.17.247.1097170438.squirrel@151.188.17.247> <33151.198.38.18.6.1097256577.squirrel@198.38.18.6> Message-ID: <0395DE2B-1968-11D9-8977-000A95674CE4@uiuc.edu> The UFFI package may be the only hope for supporting all the cltl ffi's out there. i think someone is working on a uffi implmenetation for clisp, too. http://uffi.b9.com/ > Lispworks comes from http://www.lispworks.com/, not too bad a GUI > interface for Lisp on Windows. > We use CLisp on Linux. > What Lisp are you using for Windows?/Linux? > THanks From bil at ccrma.Stanford.EDU Mon Oct 11 03:30:18 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 11 Oct 2004 03:30:18 -0700 Subject: [CM] uffi In-Reply-To: <0395DE2B-1968-11D9-8977-000A95674CE4@uiuc.edu> References: <51909.151.188.17.247.1097170438.squirrel@151.188.17.247> <33151.198.38.18.6.1097256577.squirrel@198.38.18.6> <0395DE2B-1968-11D9-8977-000A95674CE4@uiuc.edu> Message-ID: <416A60BA.70907@ccrma> > The UFFI package may be the only hope for supporting all the cltl ffi's out there. I think it does not yet support passing arrays directly to/from C/Lisp -- they appear to be copying data. Perhaps that's not a big problem anymore. From bil at ccrma.Stanford.EDU Mon Oct 11 03:31:07 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 11 Oct 2004 03:31:07 -0700 Subject: [CM] Windows XP In-Reply-To: <33151.198.38.18.6.1097256577.squirrel@198.38.18.6> References: <51909.151.188.17.247.1097170438.squirrel@151.188.17.247> <33151.198.38.18.6.1097256577.squirrel@198.38.18.6> Message-ID: <416A60EB.9080305@ccrma> > What Lisp are you using for Windows?/Linux? I occasionally run ACL 5.0 on Windows 95, but I've never actually used Windows so I know nothing about it. In Linux there are three choices, none perfect: cmucl, sbcl, acl. I use ACL, but that's only because I broke down and paid for it awhile ago. From bil at ccrma.Stanford.EDU Mon Oct 11 03:43:49 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 11 Oct 2004 03:43:49 -0700 Subject: [CM] Two additions to snd tarball, and some old-timey tunes In-Reply-To: <86vfdkkb8c.fsf@Lerche.Socrates> References: <86vfdkkb8c.fsf@Lerche.Socrates> Message-ID: <416A63E5.7090909@ccrma> I've added Mike Scholz's sndins and gfm packages to the Snd tarball and the CVS repository. gfm is a Forth implementation of CLM, and sndins provides C code for the fm-violin and others. Many thanks, Mike! I've made a tarball of some old tunes from the 70's and 80's that use these instruments as notelists loadable into Snd -- these are mostly old Mus10/Sambox files translated to Snd/CLM. Very old stuff, but I still like it: tunes.tar.gz at the usual ftp site. I've also included "Wait For Me!", "The New Music Liberation Army", and "Leviathan" as sound files, so it's a big package (50 MBytes). Why am I thinking of Wordsworth "it was very heaven to be alive"? And on another front, I'm well along on the "sound spreadsheet idea" (was it Peter Lutek that suggested this?), but I can't think of a user interface. I tried adding buttons to the edit history window, but it looks cluttered and kinda dumb. I could add a dialog, but that too seems clunky. The basic notion is that you can create/apply "detached edit lists", i.e. edit lists as full-fledged functions, so, for example, you can back up and change something earlier in a list of edits, then re-apply the trailing edits to return to the full-edited state with that change. Or apply one channel's set of edits to another, etc. Any ideas? From bil at ccrma.Stanford.EDU Mon Oct 11 15:38:38 2004 From: bil at ccrma.Stanford.EDU (Bil) Date: Mon, 11 Oct 2004 23:38:38 +0100 Subject: [CM] Re: Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Price.cpl Type: application/octet-stream Size: 25166 bytes Desc: not available URL: From plutek at infinity.net Mon Oct 11 18:05:31 2004 From: plutek at infinity.net (Peter Lutek) Date: Mon, 11 Oct 2004 21:05:31 -0400 Subject: [CM] Two additions to snd tarball, and some old-timey tunes In-Reply-To: <416A63E5.7090909@ccrma> References: <86vfdkkb8c.fsf@Lerche.Socrates> <416A63E5.7090909@ccrma> Message-ID: <1097543131.2554.7.camel@linux.LUTEKGROUP.lan> On Mon, 2004-10-11 at 06:43, Bill Schottstaedt wrote: > I've added Mike Scholz's sndins and gfm packages to the Snd tarball and > the CVS repository. gfm is a Forth implementation of CLM, and sndins > provides C code for the fm-violin and others. Many thanks, Mike! > > > I've made a tarball of some old tunes from the 70's and 80's that use > these instruments as notelists loadable into Snd -- these are mostly > old Mus10/Sambox files translated to Snd/CLM. Very old stuff, but I still > like it: tunes.tar.gz at the usual ftp site. I've also included "Wait > For Me!", "The New Music Liberation Army", and "Leviathan" as sound files, > so it's a big package (50 MBytes). Why am I thinking of Wordsworth "it > was very heaven to be alive"? > > > And on another front, I'm well along on the "sound spreadsheet idea" (was > it Peter Lutek that suggested this?), yes, it was :) > but I can't think of a user interface. > I tried adding buttons to the edit history window, but it looks cluttered > and kinda dumb. I could add a dialog, but that too seems clunky. The > basic notion is that you can create/apply "detached edit lists", i.e. > edit lists as full-fledged functions, so, for example, you can back up > and change something earlier in a list of edits, then re-apply the > trailing edits to return to the full-edited state with that change. > Or apply one channel's set of edits to another, etc. Any ideas? why not just a matrix of editable cells that opens with a C-x-whatever, including one cell in each column which contains a fly-out of all available targets for the column of edits (with default set to what it was applied to originally)? bill -- don't know if you saw my post about memory usage -- you seem to have indicated that it is not normal for sounds to get loaded completely into RAM, but this DOES seem to be what is happening for me. i.e., RAM usage goes up by an amount corresponding to sample size when i open a sound in snd. it does make things quite unworkable for editing long live takes. -p From peter at peterlutek.com Mon Oct 11 10:38:16 2004 From: peter at peterlutek.com (Peter Lutek) Date: Mon, 11 Oct 2004 13:38:16 -0400 Subject: [CM] Two additions to snd tarball, and some old-timey tunes In-Reply-To: <416A63E5.7090909@ccrma> References: <86vfdkkb8c.fsf@Lerche.Socrates> <416A63E5.7090909@ccrma> Message-ID: <1097516295.2535.13.camel@linux.LUTEKGROUP.lan> > And on another front, I'm well along on the "sound spreadsheet idea" (was > it Peter Lutek that suggested this?) yes, it was :) > , but I can't think of a user interface. > I tried adding buttons to the edit history window, but it looks cluttered > and kinda dumb. I could add a dialog, but that too seems clunky. The > basic notion is that you can create/apply "detached edit lists", i.e. > edit lists as full-fledged functions, so, for example, you can back up > and change something earlier in a list of edits, then re-apply the > trailing edits to return to the full-edited state with that change. > Or apply one channel's set of edits to another, etc. Any ideas? > why not just a matrix of editable cells that opens with a C-x-whatever, including one cell in each column which contains a fly-out of all available targets for the column of edits (with default set to what it was applied to originally)? bill -- don't know if you saw my post about memory usage -- you seem to have indicated that it is not normal for sounds to get loaded completely into RAM, but this DOES seem to be what is happening for me. i.e., RAM usage goes up by an amount corresponding to sample size when i open a sound in snd. it does make things quite unworkable for editing long live takes. -p From bil at ccrma.Stanford.EDU Tue Oct 12 03:15:43 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 12 Oct 2004 03:15:43 -0700 Subject: [CM] Snd and RAM In-Reply-To: <1097516295.2535.13.camel@linux.LUTEKGROUP.lan> References: <86vfdkkb8c.fsf@Lerche.Socrates> <416A63E5.7090909@ccrma> <1097516295.2535.13.camel@linux.LUTEKGROUP.lan> Message-ID: <416BAECF.4010306@ccrma> > RAM usage goes up by an amount corresponding to sample size when i open a > sound in snd. As someone else responded, this is how virtual memory works -- any other program will behave in the same way, and it's not something to worry about. If Snd is slowed down, it's probably because it's calculating the "peak env" data which can be speeded up (subsequently) by using the functions in peak-env.scm. From ricktaylor at speakeasy.net Thu Oct 14 19:58:22 2004 From: ricktaylor at speakeasy.net (RTaylor) Date: Thu, 14 Oct 2004 21:58:22 -0500 Subject: [CM] uffi In-Reply-To: <416A60BA.70907@ccrma> References: <51909.151.188.17.247.1097170438.squirrel@151.188.17.247> <33151.198.38.18.6.1097256577.squirrel@198.38.18.6> <0395DE2B-1968-11D9-8977-000A95674CE4@uiuc.edu> <416A60BA.70907@ccrma> Message-ID: <20041014215822.2410e02f@localhost.localdomain> Bill Schottstaedt wrote: > > The UFFI package may be the only hope for supporting all the cltl ffi's out there. > > I think it does not yet support passing arrays directly to/from C/Lisp -- > they appear to be copying data. Perhaps that's not a big problem anymore. Would it be possible to re-implement the whole thing in ruby? From plutek at infinity.net Fri Oct 15 11:21:54 2004 From: plutek at infinity.net (Peter Lutek) Date: Fri, 15 Oct 2004 14:21:54 -0400 Subject: [CM] snd: trouble loading scm files Message-ID: <1097864514.2492.17.camel@linux.LUTEKGROUP.lan> greetings! i seem to be unable to load scheme files. if i do: (set! %load-path (cons "/usr/lib/snd/scheme" %load-path)) i get: # then, if i do: (load "peak-env.scm") i get: open-file: system-error: "No such file or directory": "peak-env.scm" (2) peak-env.scm DOES exist in my /usr/lib/snd/scheme. %load-path shows /usr/lib/snd/scheme added to the path list. one other wierd thing -- peak-env.scm shows up in the Help|About Snd list, but so does ANY filename i attempt to load, even if it is a completely non-existant, fictitious one. it appears that this list consists of simply any ATTEMPTS to load, but does not indicate what has actually successfully loaded. any clues about all this? my snd is the current CCRMA FC1 package: This is Snd version 7.5 of 19-May-04: Xen: 1.11, Guile: 1.6.4 jack Sndlib 19.1 (27-Apr-04, int24 samples) CLM 2.48 (11-May-04) fftw-3.0.1 Motif 2.2.3 X11R6 OpenGL Xpm 3.4.11 LADSPA 1.1 with large file support with gettext: en_CA.UTF-8 Compiled Jun 1 2004 18:49:07 C: 3.3.2 20031022 (Red Hat Linux 3.3.2-1) Libc: 2.3.2.stable configured via: ./configure --prefix=/usr --with-guile=yes --with-run=yes --with-jack --with-static-xm=yes --with-alsa=yes --with-ladspa --with-gl thanks! -p From drkrause at mindspring.com Sun Oct 17 09:25:58 2004 From: drkrause at mindspring.com (Drew Krause) Date: Sun, 17 Oct 2004 12:25:58 -0400 Subject: [CM] bringing midifiles into CM Message-ID: <41729D16.2090509@mindspring.com> I'm writing the following CM function, which lists the keynums, start-times and durations for each event in a midi file. The keynums and durations work fine, but what should #'mystery-value be -- or how must start-times otherwise be handled? All help much appreciated! Thanks, Drew Krause (defun midi-in (midifile) (let ((mytracks (import-events midifile :meta-exclude t)) (pits '()) (durs '()) (starts '())) (map-subobjects #'(lambda (x) (push x pits)) mytracks :key #'midi-keynum :type 'midi) (map-subobjects #'(lambda (x) (push x durs)) mytracks :key #'midi-duration :type 'midi) (map-subobjects #'(lambda (x) (push x starts)) mytracks :key #'mystery-value :type 'midi) (list (nreverse pits) (nreverse starts) (nreverse durs)))) From taube at uiuc.edu Sun Oct 17 10:02:14 2004 From: taube at uiuc.edu (taube at uiuc.edu) Date: Sun, 17 Oct 2004 12:02:14 -0500 Subject: [CM] bringing midifiles into CM Message-ID: <9e45d3fa.90c8a8e7.81a0a00@expms6.cites.uiuc.edu> >durations work fine, but what should #'mystery-value be -- or how must (defun mystery-value (x) (object-time x)) From bil at ccrma.Stanford.EDU Mon Oct 18 03:54:14 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 18 Oct 2004 03:54:14 -0700 Subject: [CM] snd: trouble loading scm files In-Reply-To: <1097864514.2492.17.camel@linux.LUTEKGROUP.lan> References: <1097864514.2492.17.camel@linux.LUTEKGROUP.lan> Message-ID: <4173A0D6.2020309@ccrma> > (load "peak-env.scm") Try load-from-path. From taube at uiuc.edu Fri Oct 22 08:02:02 2004 From: taube at uiuc.edu (Rick Taube) Date: Fri, 22 Oct 2004 10:02:02 -0500 Subject: [CM] Re: problems installing cm / clm on acl6.2 / mandrake linux In-Reply-To: <000301c4b82f$ce494ae0$1c00a8c0@LAPHENNE> References: <9e45d3fa.90c8a8e7.81a0a00@expms6.cites.uiuc.edu> <000301c4b82f$ce494ae0$1c00a8c0@LAPHENNE> Message-ID: <5469CD9A-243B-11D9-B1F6-000A95674CE4@uiuc.edu> > ; Loading > "/usr/local/src/lisp/cm-2.4.2/bin/acl_6.2_linux-i686/pkg.fasl" > Error: In :IMPORT list, the symbol "GRAPH" not found in package > # > [condition type: PACKAGE-ERROR] > not loading the clm script before executing cm.lisp doesnt produce an > error. there are two solutions, im not sure which is better: 1. Load clm after cm, ie load clm into the image that already contains cm. cm-2.4.2 lets you do this. 2. Edit the file cm/src/pkg.lisp and remove the offending symbol from the input list. save the file and build as you normally would. > and one more (maybe a stupid) question: in clisp: typing "unwind" > brings u > back to .. > do you know what the equivalent command in acl is? i think the commannd to abort error in acl is :reset > the first problem is very important (to me) at the moment, because i > dont > have much time left > for starting and finishing my project.. > > thank you very much . > > and sorry for bugging u again. > > best regards > > heinrich gudenus > From mis at artengine.ca Sat Oct 23 08:04:49 2004 From: mis at artengine.ca (Michal Seta) Date: Sat, 23 Oct 2004 11:04:49 -0400 Subject: [CM] [snd] fft display hangs snd Message-ID: Hi, Snd hangs on me when I'm trying to switch the fft display on. Actually, switching it is ok but usually it hangs as soon as I click anywhere within snd's window (wave display, a menu etc.). The snd window stays open but is completely unresponsive. gdb gives me this: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 5576)] 0x40690c87 in mallopt () from /lib/i686/libc.so.6 snd --help Snd is a sound editor; see http://ccrma.stanford.edu/software/snd/.This is Snd version 7.8 of 8-Oct-04: Xen: 1.21, Guile: 1.6.4 OSS 3.8.2 Sndlib 19.6 (29-Sep-04, int24 samples, with modules) CLM 3.6 (11-Sep-04) FFTW V2.1.5 ($Id: executor.c,v 1.68 2003/03/16 23:43:46 stevenj Exp $) Gtk+ 2.2.4, Glib 2.2.3, Pango 1.2.5 LADSPA 1.1, Jack: 0.98.10 with large file support with gettext: en_US Compiled Oct 22 2004 00:32:29 C: 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) Libc: 2.3.3.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 --with-fftw --with-gl From k.s.matheussen at notam02.no Mon Oct 25 06:01:09 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Mon, 25 Oct 2004 15:01:09 +0200 (CEST) Subject: [CM] [ANN] Snd-ls V0.9.1.1 and Sono V0.2 Message-ID: http://www.notam02.no/arkiv/src/ Snd-ls 0.9.1.1 changes: 0.9.1 -> 0.9.1.1: -Fixed Append File edit-menu option. -Workaround for trouble with ladspa default settings. Sono 0.2 changes: Some very few small changes to make it compile with linux again. Used some code from the port for Redhat 6 in 2000 by Roger Klaveness. Snd-ls ------- Snd-ls is a distribution of the sound editor Snd. Its target is people that don't know scheme very well, and don't want to spend too much time configuring Snd. It can also serve as a quick introduction to Snd and how it can be set up. SONO - MAKES A PRESENTABLE SCORE FROM YOUR ELECTROACOUSTIC PIECE ---------------------------------------------------------------- This little program takes a soundfile of any length and writes a Postscript file with a 'score', including sonogram and oscillogram. This can be printed directly on your laser. Sono was written for SGI computers. -- From hgudenus at fh-sbg.ac.at Sun Oct 24 09:41:42 2004 From: hgudenus at fh-sbg.ac.at (Heinrich Gudenus) Date: Sun, 24 Oct 2004 18:41:42 +0200 Subject: [CM] with-sound: mus-sound-chans error in clm-3 References: <9e45d3fa.90c8a8e7.81a0a00@expms6.cites.uiuc.edu> <000301c4b82f$ce494ae0$1c00a8c0@LAPHENNE> <5469CD9A-243B-11D9-B1F6-000A95674CE4@uiuc.edu> Message-ID: <000201c4b9e8$5787b800$1c00a8c0@LAPHENNE> hi, I loaded clm-3 into acl 6.2 when making a with-sound call i get the following error-message.. (with-sound (:scaled-to .99 ... ... Error: attempt to call `MUS-SOUND-CHANS' which is an undefined function. the error just arises, when i use the :scaled-to argument ... I tried the same call with clm-2 and it worked fine thx. h.g. From dgm4+ at pitt.edu Mon Oct 25 07:29:19 2004 From: dgm4+ at pitt.edu (David Gerard Matthews) Date: Mon, 25 Oct 2004 10:29:19 -0400 Subject: [CM] [ANN] Snd-ls V0.9.1.1 and Sono V0.2 In-Reply-To: References: Message-ID: <417D0DBF.4090500@pitt.edu> Sono looks really cool. Does it compile and run on Mac OSX? (My Linux box isn't connected to a printer.) Kjetil Svalastog Matheussen wrote: >SONO - MAKES A PRESENTABLE SCORE FROM YOUR ELECTROACOUSTIC PIECE >---------------------------------------------------------------- >This little program takes a soundfile of any length and writes a >Postscript file with a 'score', including sonogram and oscillogram. This >can be printed directly on your laser. Sono was written for SGI computers. > > > > From bil at ccrma.Stanford.EDU Mon Oct 25 07:02:25 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 25 Oct 2004 07:02:25 -0700 Subject: [CM] with-sound: mus-sound-chans error in clm-3 In-Reply-To: <000201c4b9e8$5787b800$1c00a8c0@LAPHENNE> References: <9e45d3fa.90c8a8e7.81a0a00@expms6.cites.uiuc.edu> <000301c4b82f$ce494ae0$1c00a8c0@LAPHENNE> <5469CD9A-243B-11D9-B1F6-000A95674CE4@uiuc.edu> <000201c4b9e8$5787b800$1c00a8c0@LAPHENNE> Message-ID: <417D0771.7090401@ccrma> > Error: attempt to call `MUS-SOUND-CHANS' which is an undefined function. Please send me the value of the variable *features* -- I must have missed a special case, or something. From bil at ccrma.Stanford.EDU Mon Oct 25 07:06:23 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 25 Oct 2004 07:06:23 -0700 Subject: [CM] [snd] fft display hangs snd In-Reply-To: References: Message-ID: <417D085F.8020801@ccrma> > gdb gives me this: > Program received signal SIGSEGV, Segmentation fault. It would help if you could send me the stack trace at the point of the segfault. (set! (trap-segfault) #f), then hit the error under gdb, then ask for a stack trace via "where". Thanks! From drkrause at mindspring.com Mon Oct 25 16:19:36 2004 From: drkrause at mindspring.com (Drew Krause) Date: Mon, 25 Oct 2004 19:19:36 -0400 Subject: [CM] rewrite output in CM Message-ID: <417D8A08.9060501@mindspring.com> I need help with output options for the "rewrite" pattern. As an example, suppose I create a morse-thue sequence: (define mt (new rewrite of '((0 -> (0 1)) (1 -> (1 0))) :initially '(1 0))) How can I get a new complete L-to-R generation on each call, a la: (1 0) ; {we can skip this step if we have to} (1 0 0 1) (1 0 0 1 0 1 1 0) &c. All help much appreciated! Drew From k.s.matheussen at notam02.no Tue Oct 26 02:29:37 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Tue, 26 Oct 2004 11:29:37 +0200 (CEST) Subject: [CM] [ANN] Snd-ls V0.9.1.1 and Sono V0.2 In-Reply-To: <417D0DBF.4090500@pitt.edu> References: <417D0DBF.4090500@pitt.edu> Message-ID: On Mon, 25 Oct 2004, David Gerard Matthews wrote: > Sono looks really cool. Does it compile and run on Mac OSX? (My Linux > box isn't connected to a printer.) > I haven't tried, but it should compile without problems. You only need motif and libaudiofile. -- From drkrause at mindspring.com Tue Oct 26 19:24:03 2004 From: drkrause at mindspring.com (Drew Krause) Date: Tue, 26 Oct 2004 22:24:03 -0400 Subject: [CM] rewrite output in CM In-Reply-To: <417D8A08.9060501@mindspring.com> References: <417D8A08.9060501@mindspring.com> Message-ID: <417F06C3.8050504@mindspring.com> I just answered my own question, in a somewhat convoluted way... here it is, for anyone interested: ;; MTRULES -- morse-thue rules (define mtrules '((0 -> (0 1)) (1 -> (1 0)))) ;; RW-NEXT -- returns next complete generation of rewrite ;; rwthing = rules; alist = input string ;; example: (rw-next mtrules '(1 0)) = (1 0 0 1) (defun rw-next (rwthing alist) (let* ((this-rw (new rewrite of (append rwthing '((rw-end -> rw-end))) :initially (append alist (list 'rw-end)))) (sink (next this-rw (+ (length alist) 1)))) (loop for x = (next this-rw) until (eql x 'rw-end) collect x))) ;; RWGEN -- returns arbitrary generation of rewrite ;; (rwgen mtrules '(1 0) 2) = (1 0 0 1 0 1 1 0) (defun rwgen (rwrules initgen gennbr) (case gennbr (0 initgen) (1 (rw-next rwrules initgen)) (t (rw-next rwrules (rwgen rwrules initgen (- gennbr 1)))))) Drew Drew Krause wrote: > I need help with output options for the "rewrite" pattern. As an > example, suppose I create a morse-thue sequence: > > (define mt (new rewrite of '((0 -> (0 1)) > (1 -> (1 0))) > :initially '(1 0))) > > How can I get a new complete L-to-R generation on each call, a la: > > (1 0) ; {we can skip this step if we have to} > (1 0 0 1) > (1 0 0 1 0 1 1 0) > &c. > > All help much appreciated! > > Drew > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From taube at uiuc.edu Wed Oct 27 06:05:54 2004 From: taube at uiuc.edu (Rick Taube) Date: Wed, 27 Oct 2004 08:05:54 -0500 Subject: [CM] rewrite output in CM In-Reply-To: <417F06C3.8050504@mindspring.com> References: <417D8A08.9060501@mindspring.com> <417F06C3.8050504@mindspring.com> Message-ID: sorry for the slow response but Im very busy this week. I think I need to allow the period to be specified as T, but of course that means that periods may quickly become huge after some number of generations. I also have another rewrite bug in pattern matching to fix. ill try to get to them this week when I check some new code into cvs. On Oct 26, 2004, at 9:24 PM, Drew Krause wrote: > I just answered my own question, in a somewhat convoluted way... here > it is, for anyone interested: > > ;; MTRULES -- morse-thue rules > (define mtrules '((0 -> (0 1)) > (1 -> (1 0)))) > > ;; RW-NEXT -- returns next complete generation of rewrite > ;; rwthing = rules; alist = input string > ;; example: (rw-next mtrules '(1 0)) = (1 0 0 1) > (defun rw-next (rwthing alist) > (let* ((this-rw (new rewrite of (append rwthing '((rw-end -> rw-end))) > :initially (append alist (list 'rw-end)))) > (sink (next this-rw (+ (length alist) 1)))) > (loop for x = (next this-rw) until (eql x 'rw-end) collect x))) > > ;; RWGEN -- returns arbitrary generation of rewrite > ;; (rwgen mtrules '(1 0) 2) = (1 0 0 1 0 1 1 0) > (defun rwgen (rwrules initgen gennbr) > (case gennbr > (0 initgen) > (1 (rw-next rwrules initgen)) > (t (rw-next rwrules (rwgen rwrules initgen (- gennbr 1)))))) > > Drew > > Drew Krause wrote: > >> I need help with output options for the "rewrite" pattern. As an >> example, suppose I create a morse-thue sequence: >> >> (define mt (new rewrite of '((0 -> (0 1)) >> (1 -> (1 0))) >> :initially '(1 0))) >> >> How can I get a new complete L-to-R generation on each call, a la: >> >> (1 0) ; {we can skip this step if we have to} >> (1 0 0 1) >> (1 0 0 1 0 1 1 0) >> &c. >> >> All help much appreciated! >> >> Drew >> >> _______________________________________________ >> 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 renueden at earthlink.net Wed Oct 27 10:15:54 2004 From: renueden at earthlink.net (Ken) Date: Wed, 27 Oct 2004 10:15:54 -0700 Subject: [CM] (with-sound) error Message-ID: <417FD7CA.1050706@earthlink.net> Any help on this? It worked for a bit, then something I installed must have messed it up. [2]> (cm) /\\\ ---\\\--------- ----\\\-------- ----/\\\------- Common Music 2.4.2 ---/--\\\------ --/----\\\----- / \\\/ CM[3]> (with-sound () (fm-violin 0 2 220 .2)) *** - UNIX error 13 (EACCES): Permission denied 1. Break CM[4]> Thanks, Ken From taube at uiuc.edu Wed Oct 27 11:16:21 2004 From: taube at uiuc.edu (Rick Taube) Date: Wed, 27 Oct 2004 13:16:21 -0500 Subject: [CM] (with-sound) error In-Reply-To: <417FD7CA.1050706@earthlink.net> References: <417FD7CA.1050706@earthlink.net> Message-ID: <4DD208EC-2844-11D9-B3BA-000A95674CE4@uiuc.edu> including an error backtrace would help me track this down more than just the error message. also what lisp+version and OS you are on. im guessing clisp/linux but am not really sure On Oct 27, 2004, at 12:15 PM, Ken wrote: > Any help on this? It worked for a bit, then something I installed > must have messed it up. > > [2]> (cm) > > /\\\ ---\\\--------- > ----\\\-------- > ----/\\\------- Common Music 2.4.2 > ---/--\\\------ > --/----\\\----- > / \\\/ > > CM[3]> (with-sound () (fm-violin 0 2 220 .2)) > > *** - UNIX error 13 (EACCES): Permission denied > 1. Break CM[4]> > > Thanks, > Ken > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From bil at ccrma.Stanford.EDU Thu Oct 28 04:48:18 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 28 Oct 2004 04:48:18 -0700 Subject: [CM] (with-sound) error In-Reply-To: <417FD7CA.1050706@earthlink.net> References: <417FD7CA.1050706@earthlink.net> Message-ID: <4180DC82.1050703@ccrma> > *** - UNIX error 13 (EACCES): Permission denied My guess is that with-sound is trying to open an output file, and the directory is write-protected, or perhaps there is already a test.snd that is write-protected. From renueden at earthlink.net Thu Oct 28 10:09:02 2004 From: renueden at earthlink.net (Ken) Date: Thu, 28 Oct 2004 10:09:02 -0700 Subject: [CM] (with-sound) error In-Reply-To: <4DD208EC-2844-11D9-B3BA-000A95674CE4@uiuc.edu> References: <417FD7CA.1050706@earthlink.net> <4DD208EC-2844-11D9-B3BA-000A95674CE4@uiuc.edu> Message-ID: <418127AE.6020905@earthlink.net> Yes it was a path error. For some reason when using the (cd) command, clm and maybe clisp gets confused. I had to define *clm-file-name* to make the error go away. Anyways, thanks to all. Ken Rick Taube wrote: > including an error backtrace would help me track this down more than > just the error message. also what lisp+version and OS you are on. im > guessing clisp/linux but am not really sure > > On Oct 27, 2004, at 12:15 PM, Ken wrote: > >> Any help on this? It worked for a bit, then something I installed >> must have messed it up. >> >> [2]> (cm) >> >> /\\\ ---\\\--------- >> ----\\\-------- >> ----/\\\------- Common Music 2.4.2 >> ---/--\\\------ >> --/----\\\----- >> / \\\/ >> >> CM[3]> (with-sound () (fm-violin 0 2 220 .2)) >> >> *** - UNIX error 13 (EACCES): Permission denied >> 1. Break CM[4]> >> >> Thanks, >> Ken >> >> _______________________________________________ >> 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 orf at planet.nl Fri Oct 29 04:41:50 2004 From: orf at planet.nl (Tim Orford) Date: Fri, 29 Oct 2004 13:41:50 +0200 Subject: [CM] snd jack playback mode bug Message-ID: <20041029114150.GD2729@orford.org> hi i am new to Snd and am just finding out how powerful it is! however i think there is a bug with the Jack support. If you are running jack in Playback mode, snd 7.8 will imediately segfault in mus_audio_read_buffers(). i assume that this is easily repeatable. I can provide any additional information if needed. hope you find this useful... regards -- Tim Orford From cjdarken at nps.edu Sat Oct 30 05:00:21 2004 From: cjdarken at nps.edu (Darken, Chris USA) Date: Sat, 30 Oct 2004 05:00:21 -0700 Subject: [CM] building clm for WinXP/ACL/VisualC++ Message-ID: Greetings! I am a newbie to CLM and am trying to build it for Windows XP with Allegro CL (full version 6.2) and Visual C++ 6. README.clm says that the first step to building on Windows is to copy config.windoze to config.h. Problem is, I don't see config.windoze in the distribution. I've tried to make do and have libclm.dll built and the automated building of instrument dll's working, but I'm seeing segmentation faults trying to do the most basic exercise in the manual for the fm violin, so all is not well. I have searched the last few months of the archives of this mailing list, but I haven't found a solution that I can understand yet. Am I overlooking something obvious? Chris From bil at ccrma.Stanford.EDU Sat Oct 30 04:58:33 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 30 Oct 2004 04:58:33 -0700 Subject: [CM] edit-list->function Message-ID: <418381E9.2000607@ccrma> As an experiment, I implemented the edit-list->function stuff via a popup menu in the edit history pane. There are still gaps in the underlying support, but some things seem to work. (Motif-side only at the moment). From bil at ccrma.Stanford.EDU Sat Oct 30 05:11:51 2004 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 30 Oct 2004 05:11:51 -0700 Subject: [CM] building clm for WinXP/ACL/VisualC++ In-Reply-To: References: Message-ID: <41838507.4020601@ccrma> oops -- that entire portion of the readme file is out of date. Did the build process run configure? If so, please send me the resultant config.h (and config.log if possible), and I'll try to come up with something plausible. Actually, I'd be very interested in any errors or warnings that VisualC++ reported -- I've never heard of anyone trying to use that version of C with CLM or Snd. From renueden at earthlink.net Sat Oct 30 08:57:48 2004 From: renueden at earthlink.net (Ken) Date: Sat, 30 Oct 2004 08:57:48 -0700 Subject: [CM] CM>CLM conflict Message-ID: <4183B9FC.8040502@earthlink.net> Compiling Cm-2.4.2 & Clm-3 in Linux Mandrake 10, CmuCL, I get the following conflict. Any hints? Thanks, Ken Error in function USE-PACKAGE: Use'ing package CLM results in name conflicts for these symbols: (CM::PLAY) [Condition of type SIMPLE-ERROR] Restarts: 0: [CONTINUE] Unintern the conflicting symbols in the CM package. 1: [CONTINUE] Return NIL from load of "/lisp/clm-3/all.lisp". 2: [CONTINUE] Return NIL from load of "/lisp/muzac2.lisp". 3: [ABORT] Abort handling SLIME request. 4: [ABORT] Return to Top-Level. Backtrace: 0: (USE-PACKAGE :CLM #) 1: (LISP::SLOLOAD #) 2: (LISP::INTERNAL-LOAD #p"/lisp/clm-3/all.lisp" #p"/lisp/clm-3/all.lisp" :ERROR :SOURCE) 3: (LISP::INTERNAL-LOAD #p"/lisp/clm-3/all.lisp" #p"/lisp/clm-3/all.lisp" :ERROR NIL) 4: (LOAD "/lisp/clm-3/all.lisp" :VERBOSE NIL :PRINT ...) 5: (LISP::SLOLOAD #) 6: (LISP::INTERNAL-LOAD #p"/lisp/muzac2.lisp" #p"/lisp/muzac2.lisp" :ERROR :SOURCE) 7: (LISP::INTERNAL-LOAD #p"/lisp/muzac2.lisp" #p"/lisp/muzac2.lisp" :ERROR NIL) 8: (LOAD "/lisp/muzac2.lisp" :VERBOSE NIL :PRINT ...) 9: (SWANK::EVAL-REGION "(load \"/lisp/muzac2.lisp\") " T) 10: ("DEFSLIMEFUN LISTENER-EVAL") 11: (SWANK:LISTENER-EVAL "(load \"/lisp/muzac2.lisp\") ") 12: (SWANK::EVAL-FOR-EMACS (SWANK:LISTENER-EVAL "(load \"/lisp/muzac2.lisp\") ") "COMMON-LISP-USER" 2) 13: ("DEFUN HANDLE-REQUEST") 14: (SWANK::CALL-WITH-REDIRECTED-IO # #) 15: (SWANK::HANDLE-REQUEST #) 16: (SWANK::PROCESS-AVAILABLE-INPUT # #) 17: ((FLET SWANK::HANDLER SWANK::INSTALL-SIGIO-HANDLER)) 18: (SWANK-BACKEND::SIGIO-HANDLER #<#1=unused-arg> #<#1#> #<#1#>) 19: ("call_into_lisp+#x8C [#x80546CC] /usr/bin/lisp") 20: ("funcall3+#x29 [#x80544DC] /usr/bin/lisp") 21: ("interrupt_handle_now+#xEE [#x80501CF] /usr/bin/lisp") 22: ("NIL+#x80505EF [#x80505EF] /usr/bin/lisp") 23: ("NIL+#x4007B718 [#x4007B718] /lib/tls/libc.so.6") 24: (SYSTEM:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) 25: (LISP::DO-INPUT #) 26: (LISP::INPUT-CHARACTER # NIL (LISP::*EOF*)) 27: (LISP::SYNONYM-IN # NIL (LISP::*EOF*)) 28: (LISP::TWO-WAY-IN #, Output = #> NIL (LISP::*EOF*)) 29: (LISP::SYNONYM-IN # NIL (LISP::*EOF*)) 30: (READ-CHAR # NIL (LISP::*EOF*) NIL) 31: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL # NIL (:EOF) T) 32: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL # NIL (:EOF) NIL) 33: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL 4 # NIL (:EOF) ...)[:EXTERNAL] 34: (LISP::READ-INTERNAL # NIL (:EOF) NIL) 35: (READ # NIL (:EOF) NIL) 36: (LISP::%TOP-LEVEL) 37: ((LABELS LISP::RESTART-LISP SAVE-LISP)) From cjdarken at nps.edu Sun Oct 31 05:44:31 2004 From: cjdarken at nps.edu (Darken, Chris USA) Date: Sun, 31 Oct 2004 05:44:31 -0800 Subject: [CM] building clm for WinXP/ACL/VisualC++ Message-ID: configure does not run as invoked by all.lisp. Error appended below. CL-USER(2): :ld all ; Loading C:\aa\sandbox\clm-3\all.lisp ; Loading C:\aa\sandbox\clm-3\acl.cl ; running cd C:\aa\sandbox\clm-3\ && ./configure --quiet --with-doubles --with-float-samples Error: "starting shell command" resulted in error "No such file or directory" [condition type: SYSCALL-ERROR] Restart actions (select using :continue): 0: retry the load of all 1: skip loading all 2: recompile C:\aa\sandbox\clm-3\all.lisp 3: Abort entirely from this process. [1] CL-USER(3): :zo Evaluation stack: (ERROR EXCL::SYSCALL-ERROR :ERRNO ...) ->(RUN-SHELL-COMMAND "cd C:\\aa\\sandbox\\clm-3\\ && ./configure --quiet --with-doubles --with-float-samples" :WAIT ...) (EVAL (IF RECONFIGURE # ...)) (LOAD "all") (TPL:TOP-LEVEL-READ-EVAL-PRINT-LOOP) (TPL:START-INTERACTIVE-TOP-LEVEL # # ...) From taube at uiuc.edu Sun Oct 31 08:05:51 2004 From: taube at uiuc.edu (Rick Taube) Date: Sun, 31 Oct 2004 10:05:51 -0600 Subject: [CM] CM>CLM conflict In-Reply-To: <4183B9FC.8040502@earthlink.net> References: <4183B9FC.8040502@earthlink.net> Message-ID: There is a symbol confilct between cm:play and clm:play. The solution is to add the keyword :PLAY to the list of shadowed symbols in cm's defpackage in pkg.lisp. once youve saved your edits use bin/cm.sh to recompile the outdated file. I havent tried building cm with clm-3 ( im still using clm-2) but ill try to this in the next week or so. On Oct 30, 2004, at 10:57 AM, Ken wrote: > Compiling Cm-2.4.2 & Clm-3 in Linux Mandrake 10, CmuCL, I get the > following conflict. Any hints? Thanks, > Ken > > Error in function USE-PACKAGE: > Use'ing package CLM results in name conflicts for these symbols: > (CM::PLAY) > [Condition of type SIMPLE-ERROR] > > Restarts: > 0: [CONTINUE] Unintern the conflicting symbols in the CM package. > 1: [CONTINUE] Return NIL from load of "/lisp/clm-3/all.lisp". > 2: [CONTINUE] Return NIL from load of "/lisp/muzac2.lisp". > 3: [ABORT] Abort handling SLIME request. > 4: [ABORT] Return to Top-Level. > > Backtrace: > 0: (USE-PACKAGE :CLM # external>) > 1: (LISP::SLOLOAD #) > 2: (LISP::INTERNAL-LOAD #p"/lisp/clm-3/all.lisp" > #p"/lisp/clm-3/all.lisp" :ERROR :SOURCE) > 3: (LISP::INTERNAL-LOAD #p"/lisp/clm-3/all.lisp" > #p"/lisp/clm-3/all.lisp" :ERROR NIL) > 4: (LOAD "/lisp/clm-3/all.lisp" :VERBOSE NIL :PRINT ...) > 5: (LISP::SLOLOAD #) > 6: (LISP::INTERNAL-LOAD #p"/lisp/muzac2.lisp" #p"/lisp/muzac2.lisp" > :ERROR :SOURCE) > 7: (LISP::INTERNAL-LOAD #p"/lisp/muzac2.lisp" #p"/lisp/muzac2.lisp" > :ERROR NIL) > 8: (LOAD "/lisp/muzac2.lisp" :VERBOSE NIL :PRINT ...) > 9: (SWANK::EVAL-REGION "(load \"/lisp/muzac2.lisp\") > " T) > 10: ("DEFSLIMEFUN LISTENER-EVAL") > 11: (SWANK:LISTENER-EVAL "(load \"/lisp/muzac2.lisp\") > ") > 12: (SWANK::EVAL-FOR-EMACS (SWANK:LISTENER-EVAL "(load > \"/lisp/muzac2.lisp\") > ") "COMMON-LISP-USER" 2) > 13: ("DEFUN HANDLE-REQUEST") > 14: (SWANK::CALL-WITH-REDIRECTED-IO # > #) > 15: (SWANK::HANDLE-REQUEST #) > 16: (SWANK::PROCESS-AVAILABLE-INPUT # > #) > 17: ((FLET SWANK::HANDLER SWANK::INSTALL-SIGIO-HANDLER)) > 18: (SWANK-BACKEND::SIGIO-HANDLER #<#1=unused-arg> #<#1#> #<#1#>) > 19: ("call_into_lisp+#x8C [#x80546CC] /usr/bin/lisp") > 20: ("funcall3+#x29 [#x80544DC] /usr/bin/lisp") > 21: ("interrupt_handle_now+#xEE [#x80501CF] /usr/bin/lisp") > 22: ("NIL+#x80505EF [#x80505EF] /usr/bin/lisp") > 23: ("NIL+#x4007B718 [#x4007B718] /lib/tls/libc.so.6") > 24: (SYSTEM:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) > 25: (LISP::DO-INPUT #) > 26: (LISP::INPUT-CHARACTER # NIL > (LISP::*EOF*)) > 27: (LISP::SYNONYM-IN # NIL > (LISP::*EOF*)) > 28: (LISP::TWO-WAY-IN # SYSTEM:*STDIN*>, Output = #> NIL > (LISP::*EOF*)) > 29: (LISP::SYNONYM-IN # SWANK::*CURRENT-STANDARD-INPUT*> NIL (LISP::*EOF*)) > 30: (READ-CHAR # > NIL (LISP::*EOF*) NIL) > 31: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL # SWANK::*CURRENT-STANDARD-INPUT*> NIL (:EOF) T) > 32: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL # SWANK::*CURRENT-STANDARD-INPUT*> NIL (:EOF) NIL) > 33: (LISP::READ-PRESERVING-WHITESPACE-INTERNAL 4 # SWANK::*CURRENT-STANDARD-INPUT*> NIL (:EOF) ...)[:EXTERNAL] > 34: (LISP::READ-INTERNAL # SWANK::*CURRENT-STANDARD-INPUT*> NIL (:EOF) NIL) > 35: (READ # NIL > (:EOF) NIL) > 36: (LISP::%TOP-LEVEL) > 37: ((LABELS LISP::RESTART-LISP SAVE-LISP)) > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From k.s.matheussen at notam02.no Sun Oct 31 09:16:15 2004 From: k.s.matheussen at notam02.no (Kjetil Svalastog Matheussen) Date: Sun, 31 Oct 2004 18:16:15 +0100 (CET) Subject: [CM] Re: snd jack playback mode bug In-Reply-To: <20041029190002.16056.13174.Mailman@cm-mail.stanford.edu> References: <20041029190002.16056.13174.Mailman@cm-mail.stanford.edu> Message-ID: Tim Orford: > > hi > > i am new to Snd and am just finding out how powerful it is! > > however i think there is a bug with the Jack support. > If you are running jack in Playback mode, snd 7.8 will > imediately segfault in mus_audio_read_buffers(). > > i assume that this is easily repeatable. I can provide > any additional information if needed. > Yes, please provide some code that use mus_audio_read_buffers. I wrote the jack-code, but have never used mus_audio_read_buffers. --