From anders.vinjar at notam02.no Mon Jul 1 04:08:03 2002 From: anders.vinjar at notam02.no (Anders Vinjar) Date: 01 Jul 2002 13:08:03 +0200 Subject: [CM] CM/CLM/CMN goes webway In-Reply-To: <005201c220a0$fadae1a0$08f07ad1@laptop> References: <005201c220a0$fadae1a0$08f07ad1@laptop> Message-ID: >>> "CE" == Carl Edwards writes: CE> Although my connection is rather slow I found visiting CE> your site fascinating. I can't wait to hear it. Im afraid youll have to wait at times. All of this is generated dynamically/on-demand, so i'm the one to blame if things are happening at slow pace. Im trying to keep this within non-proprietary, platform-indenpendent terms. If anyone have suggestions for improvements towards better speed and image-quality (within this type of web-work - keeping aside proprietary, platform-limighint things) im happy if you tell me. Also the changes to the work (main stimulus is webuser-interaction, statistics) takes place at a rather slow pace, typically on a daily basis. Pop back the next day and see where it all went. -anders From bil at ccrma.Stanford.EDU Mon Jul 1 05:11:32 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 1 Jul 2002 05:11:32 -0700 Subject: [CM] xcmnw In-Reply-To: <20020630173414.12496.qmail@web10005.mail.yahoo.com> References: <20020630173414.12496.qmail@web10005.mail.yahoo.com> Message-ID: <200207011211.FAA06905@cmn14.stanford.edu> > I have used CMN notation before. I was just curious > why I can't get xcmnw to work. [...] > I type in in clisp after loading cmn (cmn (output-type > :x) staff treble c4 q) xcmnw communicates with cmn through a pipe; to set up and send data to the pipe requires C; clisp does not have a foreign function interface; so, in clisp, xcmnw can't work. From bil at ccrma.Stanford.EDU Mon Jul 1 05:23:06 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 1 Jul 2002 05:23:06 -0700 Subject: [CM] snd with guile 1.5.6 In-Reply-To: <3D1F3F46.1070503@web.de> References: <3D1F3F46.1070503@web.de> Message-ID: <200207011223.FAA06933@cmn14.stanford.edu> > checking for /usr/lib/snd/bin/guile-config... no > checking for Guile... 1.5.6 This means it found the correct version -- the script looks for /usr/lib/snd/ first since that's how Fernando's rpms are set up -- this confusion is ultimately caused by the current Guile developers' inability to make a new official version. > snd: error while loading shared libraries: libguile.so.14: cannot open > shared object file: No such file or directory As Fernando mentioned, you need to force the loader to look at /usr/local/lib before /usr/lib (or wherever the old version of Guile lives). If nothing else works, try replacing -lguile with /usr/local/lib/libguile.a. > even if I change the enviroment variable 'setenv GUILE_LOAD_PATH > /usr/local/bin '. I would have tried /usr/local/lib here, but I'm not sure what this variable actually does. From bil at ccrma.Stanford.EDU Mon Jul 1 05:44:27 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 1 Jul 2002 05:44:27 -0700 Subject: [CM] Re: clm newbie needs big help! In-Reply-To: <9669A87E-8BCC-11D6-9337-0003931500D6@bham.ac.uk> References: <9669A87E-8BCC-11D6-9337-0003931500D6@bham.ac.uk> Message-ID: <200207011244.FAA06964@cmn14.stanford.edu> > Re OpenMCL, looking at the CM list archive i see not everyone is too > happy w/ clisp. Is it expect OpenMCL will make life happier? I > downloaded it - but havent tried to fool w/ it now that clisp actually > works. "not happy with clisp" is an understatement. On OpenMCL, several others have asked me about this in regard to CMN and CLM. Unfortunately my version of linuxppc is so old that the current openmcl segfaults at startup, and I wasn't able to build it from the sources (I can't remember now why I gave up). I need to upgrade (groan). From taube at uiuc.edu Mon Jul 1 06:02:49 2002 From: taube at uiuc.edu (Rick Taube) Date: Mon, 1 Jul 2002 08:02:49 -0500 Subject: [CM] Re: clm newbie needs big help! In-Reply-To: References: Message-ID: > >I keep checking the digitool site, but there appears to be no news on when >they plan on releasing the OSX port of MCL. Does anyone have any info on this? > the last i heard (some time ago) they were still waiting for Apple to fix some bugs that keeps their native osx port from working. i think you can run some version of mcl in classic mode now. From taube at uiuc.edu Mon Jul 1 07:19:13 2002 From: taube at uiuc.edu (Rick Taube) Date: Mon, 1 Jul 2002 09:19:13 -0500 Subject: [CM] events help In-Reply-To: References: Message-ID: >I am having a little problem I hope someone can help out with. Your events call: (events (list (my-process 5 50 1200) (my-process 5 300 800)) "test.aiff" 10)) is correct. so there must be something odd about the actual definitino of my-process. it appears from your error trace that your are attempting to schedule the LIST: (MY-PROCESS 1 1 #), which of course is incorrect. even this list is screwey since somehow a closure is being passed to my-process. if you go to the first example in cm:examples;process.cm you can see a call to events that passes a list of processes. if this example works then cm is doing the right thing. if you send me your definition of my-process i can try to see what is going wrong. -rick >I am having a little problem I hope someone can help out with. >Let's say I have a process called 'my-process' which takes 3 input values. >Now the following works fine: >(events (my-process 5 50 1200) "test.aiff") >and of course this works fine with the optional ahead argument >(events (list (my-process 5 50 1200) (my-process 5 300 800)) "test.aiff" 10)) >But this fails >(events (list (my-process 5 50 1200) (my-process 5 300 800)) "test.aiff" '(1 10))) >With the error in clisp of >*** - NO-APPLICABLE-METHOD: When calling # with arguments (MY-PROCESS 1 1 #), no method is applicable > >Now, this somewhat makes sense since I am attempting to apply the list of ahead arguments to a list of functions not objects. My question is, is there a way to get around this that I am not seeing? > >Thanks. > From renueden at earthlink.net Mon Jul 1 09:02:40 2002 From: renueden at earthlink.net (Ken) Date: Mon, 1 Jul 2002 09:02:40 -0700 Subject: [CM] chords and csound Message-ID: <060f01c22118$bb69f3d0$190ba8c0@KenLaptop> I am having a block on how to get hertz values for csound in the example below. I've read everything and am stuck. Any help where I do the conversion? (defprocess chordo () (let ((pat (new cycle (new chord c4 e4 g4) (new chord (new heap df4 ef4 gf4 af4 bf4 df5 ef5 for 3)) (new chord e4 a4 cs5) (new random bf3 (ef1 weight .5 max 2) for 1)))) (process repeat 32 do (doeach (k (next pat)) (output (new midi keynum k time (now)))) wait .5))) Thanks, Ken Locarnini From jjbenham at yahoo.com Mon Jul 1 11:08:39 2002 From: jjbenham at yahoo.com (Jeremiah Benham) Date: Mon, 1 Jul 2002 11:08:39 -0700 (PDT) Subject: [CM] Re: clm newbie needs big help! (cmucl?) In-Reply-To: <200207011244.FAA06964@cmn14.stanford.edu> Message-ID: <20020701180839.80055.qmail@web10007.mail.yahoo.com> > "not happy with clisp" is an understatement. would you suggest cmucl? I could not get cmn to create the fast-load files in cmucl. It complained that there was no cmnsgi.so file. Thanks, Jeremiah __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From j.l.anderson at bham.ac.uk Mon Jul 1 10:39:55 2002 From: j.l.anderson at bham.ac.uk (Joseph L Anderson) Date: Mon, 1 Jul 2002 10:39:55 -0700 Subject: [CM] Fwd: release date for MCL OS X? Message-ID: <8E171541-8D19-11D6-A0CC-0003931500D6@bham.ac.uk> I sent an email to digitool re MCL and OS X. Here's the response. . . Begin forwarded message: > From: Jennifer Jones > Date: Mon Jul 01, 2002 05:51:32 AM US/Pacific > To: joseph l anderson > Cc: info at digitool.com > Subject: Re: release date for MCL OS X? > > Joseph, > > The OSX native version is currently in beta testing, but we are still > finding some OSX bugs for which we have been unable to find > workarounds. We are working very hard to solutions, but so much > depends on Apple, that it is impossible to give you an accurate > estimate of when 5.0 will be ready for release. I'm sorry I can't give > you a more definite answer - check back with me in about a month and I > may have a better idea when it will be ready. > > Regards, > -- Jennifer Jones > Digitool, Inc. > ______________________________________________________________________________ > P.O.Box 425550 Cambridge, MA 02142 U.S.A. > Internet: jjones at digitool.com > World Wide Web: http://www.digitool.com/ > Tel: 617 441-5000 Fax: 978 466-8750 > > Spread the word! Free MCL version at: > http://www.digitool.com/download.html > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph L Anderson Acousmatic Music . Sound Recording . Radio Production 4210 North West Crescent Valley Drive Corvallis, Oregon, 97330 email: lloyd at sfsound.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From carl.boingie at rcn.com Mon Jul 1 10:45:04 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Mon, 1 Jul 2002 13:45:04 -0400 Subject: [CM] CM/CLM/CMN goes webway References: <005201c220a0$fadae1a0$08f07ad1@laptop> Message-ID: <000001c22147$827c6420$68e37ad1@laptop> Anders, I meant no criticism. I think it's a very exciting piece. The next time I visit my students (who are working through the summer break) I'll take your URL and make use of the school's T1 line. At leat then my slow dial-upconnection will not be an impediment. Tell me, are the projections making use of a perspective space? Did I understand that you rendering the graphics in CMN? Are those transformations a normal part of that package? Carl Edwards > Im afraid youll have to wait at times. All of this is generated > dynamically/on-demand, so i'm the one to blame if things are > happening at slow pace. Im trying to keep this within > non-proprietary, platform-indenpendent terms. If anyone have > suggestions for improvements towards better speed and > image-quality (within this type of web-work - keeping aside > proprietary, platform-limighint things) im happy if you tell me. > > Also the changes to the work (main stimulus is > webuser-interaction, statistics) takes place at a rather slow > pace, typically on a daily basis. Pop back the next day and see > where it all went. > > -anders From scholz-micha at gmx.de Mon Jul 1 16:12:51 2002 From: scholz-micha at gmx.de (Michael Scholz) Date: 02 Jul 2002 01:12:51 +0200 Subject: [CM] SND v5.12 compiling problems Message-ID: <86u1njujnw.fsf@Lerche.Socrates> When I try to compile snd v5.12 (28. June 2002) on FreeBSD v4.5 there is a problem. After the following two patches compilation of snd --with-guile and snd --with-ruby works okay. In "sndlib-strings.h" I have added the line: #define S_mus_audio_reinitialize "mus-audio-reinitialize" and in "xen.c" I added before : #include Exist these problems only on FreeBSD? Here are the two patches: diff -c /home/mike/src/snd-5/sndlib-strings.h.orig /home/mike/src/snd-5/sndlib-strings.h *** /home/mike/src/snd-5/sndlib-strings.h.orig Mon Jul 1 23:18:26 2002 --- /home/mike/src/snd-5/sndlib-strings.h Mon Jul 1 23:20:12 2002 *************** *** 140,144 **** --- 140,145 ---- #define S_mus_file_prescaler "mus-file-prescaler" #define S_mus_file_set_prescaler "mus-file-set-prescaler" #define S_mus_expand_filename "mus-expand-filename" + #define S_mus_audio_reinitialize "mus-audio-reinitialize" #endif diff -c /home/mike/src/snd-5/xen.c.orig /home/mike/src/snd-5/xen.c *** /home/mike/src/snd-5/xen.c.orig Mon Jul 1 23:17:59 2002 --- /home/mike/src/snd-5/xen.c Mon Jul 1 23:18:50 2002 *************** *** 8,13 **** --- 8,14 ---- #endif #endif + #include #include #include #include Mike From ppagano at bellsouth.net Mon Jul 1 17:09:28 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Mon, 1 Jul 2002 20:09:28 -0400 Subject: [CM] moving forward Message-ID: <000501c2215c$bba5ac60$7fa14ed8@gnv.bellsouth.net> Ok i finally have cmucl running clm with ATS and asth as well. now i am finally able to start actually thinking about some music with these wonderful tools. but i have one last question regarding the interface concept. Apparently one must use emacs to edit scores. Is there no way that lisp can call the emacs editor from within 1 shell? It would be cool to save edited .ins's immediately from just 1 commandline. Also i really appreciated the parenthetic completion feature a la emacs in clisp, is there a way to turn this on in cmucl? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From juan at ccrma.Stanford.EDU Mon Jul 1 18:19:48 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Mon, 1 Jul 2002 18:19:48 -0700 (PDT) Subject: [CM] moving forward In-Reply-To: <000501c2215c$bba5ac60$7fa14ed8@gnv.bellsouth.net> Message-ID: You should try running lisp as a subprocess of emacs (or xemacs), that way you can have an emacs frame with lisp running and other frames with lisp code being edited. You can even get code evaluation piped into lisp. I think a .emacs file comes with CM's distribution, you just need to edit it with the apropiate lisp-image path and move it to your home directory to get such an environment going. JUAN On Mon, 1 Jul 2002, shreeswifty wrote: > Ok i finally have cmucl running clm with ATS and asth as well. > now i am finally able to start actually thinking about some music with these > wonderful tools. > but i have one last question regarding the interface concept. Apparently one > must use emacs to edit scores. Is there no way that lisp can call > the emacs editor from within 1 shell? It would be cool to save edited .ins's > immediately from just 1 commandline. Also i really appreciated the > parenthetic completion feature a la emacs in clisp, is there a way to turn > this on in cmucl? > > > Pat Pagano, Director > South East Just Intonation Society > http://www.screwmusicforever.com/SHREESWIFT/ > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From carl.boingie at rcn.com Mon Jul 1 18:19:26 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Mon, 1 Jul 2002 21:19:26 -0400 Subject: [CM] reality check Message-ID: <001001c22166$c15fb150$98e27ad1@laptop> This is a request for an "off the top of your head" response: As a simple (?) excercise I'd like to prepare a list of chords paired with "an amount" for the number of beats or measures that the chord should remain in effect. I'd use these to guide a transpose object (I reckon). I don't see an oject in CM for that type of "paired list". Should I just get used to the idea of using two seperate lists? Have I missed an object in the docs? Does anyone have favorite "alternative" use for an other CM object? Is this a job for defstruct? Or, should I roll up my sleaves and learn to use the defobject macro? I just wanted to check before I begin making a mess... Thanks in advance. Carl Edwards From nando at ccrma.Stanford.EDU Mon Jul 1 19:12:35 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Mon, 1 Jul 2002 19:12:35 -0700 Subject: [CM] moving forward In-Reply-To: References: Message-ID: <200207020212.TAA17436@cmn29.stanford.edu> > You should try running lisp as a subprocess of emacs (or xemacs), that way > you can have an emacs frame with lisp running and other frames with lisp > code being edited. You can even get code evaluation piped into lisp. I > think a .emacs file comes with CM's distribution, you just need to edit it > with the apropiate lisp-image path and move it to your home directory > to get such an environment going. I'm including part of the one I have here, I use that with my xemacs setup file and works fine. Just merge it with whatever you have on your .emacs, restart xemacs and go for it :-) -- Fernando ;;; DotEmacs Version 1.0 ;;; Copyright 2001 Fernando Lopez-Lezcano ;;; Tested under RedHat Linux 7.0 (rpm: xemacs-21.1.14-2.7): ;;; xemacs 21.1 patch 14, ilisp 5.10.1 ;;; ;;; this .emacs file should work correctly with the PlanetCCRMA ;;; cm/clm/cmn rpms and should autodetect which binary rpm has ;;; been installed, setting the correct path for executing it. ;;; Getting all this work has been a REAL pain, most of the time ;;; trying to interpret emacs lisp code in the ilisp module... ;;; ;;; Todo: more key bindings should be local for the buffer, this ;;; is a problem when using several lisps concurrently... ;;; For standard gnu emacs and Xemacs ;;; figure out which flavor we are running (defvar xemacs-flavor (string-match "XEmacs\\|Lucid" emacs-version)) ;;; For Xemacs only (cond (xemacs-flavor ;; if you always want partial minibuffer completion (require 'completer) ;; configuration of Erik Naggum's HyperSpec access package. (setq common-lisp-hyperspec-root "file:/usr/lib/lisp/reference/HyperSpec/") ;; don't send output to a separate frame (setq ilisp-*use-frame-for-output* nil) ;; arglist will end up on minibuffer (setq ilisp-*use-frame-for-arglist-output-p* nil) ;; no message on startup (setq ilisp-motd nil) ;; activate fsf keybindings (setq ilisp-*use-fsf-compliant-keybindings* t) ;; initialization and load hooks (add-hook 'ilisp-load-hook '(lambda () ;; Change default key prefix to C-c (setq ilisp-*prefix* "\C-c") ;; do not do arglist expansion by default ;; necessary to avoid errors on .lisp buffers ;; (define-key ilisp-mode-map " " 'self-insert-command) ;; output to minibuffer for arglist expansion (setq lisp-no-popper t) ;; by default disable arglist expansion on #\\Space (setq ilisp-*arglist-message-lisp-space-p* nil))) (add-hook 'ilisp-mode-hook '(lambda ())) ;; HACK: we set window-system to nil temporarily while we load ilisp ;; so that it does not create extra frames for its output. There is ;; currently no way to turn this off with configuration variables ;; for ilisp 5.10.1 (AFAIK). The code for the output functions is in: ;; /usr/lib/xemacs/xemacs-packages/lisp/ilisp/ilis-out.el (let ((window-system nil)) ;; now we load ilisp, we need it active to define our dialects (require 'ilisp)) ;; define a dialect for Snd's guile interpreter (defdialect snd "Snd" guile (setq comint-prompt-regexp "^>+") (setq ilisp-complete-command nil) ;; try to autodetect the binary (unless snd-program (cond ((file-executable-p "/usr/bin/snd") (setq snd-program "/usr/bin/snd")) (t (setq snd-program "snd"))))) (add-hook 'snd-hook (lambda () )) ;; if you have the binary somewhere else: ;; (setq snd-program "snd") ;; define a dialect for CM/CLM/CMN (under allegro common lisp) (defdialect acl "AclLisp" allegro ;; try to autodetect the binary (at ccrma) (unless acl-program (cond ;;((file-executable-p "/usr/ccrma/lbin/cm2-clm2") ;; (setq acl-program "/usr/ccrma/lbin/cm2-clm2")) ((file-executable-p "/usr/ccrma/lbin/acl5.0") (setq acl-program "/usr/ccrma/lbin/acl5.0")) (t (setq acl-program "cm2-clm2"))))) (add-hook 'acl-hook (lambda () ;; the following is necessary so that we can have separate ;; keymaps for snd and other lisps, if we run them concurrently ;; we need to have some local (to the buffer) key bindings. (make-local-variable 'overriding-local-map) (setq overriding-local-map (copy-keymap ilisp-mode-map)) (define-key overriding-local-map " " 'ilisp-arglist-message-lisp-space) ;; enable arglist expansion on this buffer (make-local-variable 'ilisp-*arglist-message-lisp-space-p*) (setq ilisp-*arglist-message-lisp-space-p* t))) ;; if you have the binary somewhere else ;; (setq acl-program "/usr/ccrma/lbin/cm2-clm2") ;; define a dialect for CmuCL; ;; we need to patch the cmuclisp.lisp init file including CMU18 in the ;; #+ #- switches if we want the symbol description to work correctly, ;; see /usr/lib/xemacs/xemacs-packages/lisp/ilisp/cmulisp.lisp (defdialect cmucl "CmuLisp" cmulisp ;; set the correct file name (setq ilisp-cmulisp-init-file "cmulisp.lisp") ;; try to autodetect the binary (unless cmucl-program (cond ((file-executable-p "/usr/bin/cmucl-cm-clm-cmn") (setq cmucl-program "/usr/bin/cmucl-cm-clm-cmn")) ((file-executable-p "/usr/bin/cmucl-cm-clm") (setq cmucl-program "/usr/bin/cmucl-cm-clm")) ((file-executable-p "/usr/bin/cmucl-clm") (setq cmucl-program "/usr/bin/cmucl-clm")) (t (setq cmucl-program "lisp"))))) (add-hook 'cmucl-hook (lambda () (make-local-variable 'overriding-local-map) (setq overriding-local-map (copy-keymap ilisp-mode-map)) (define-key overriding-local-map " " 'ilisp-arglist-message-lisp-space) ;; enable arglist expansion on this buffer (make-local-variable 'ilisp-*arglist-message-lisp-space-p*) (setq ilisp-*arglist-message-lisp-space-p* t))) ;; if you have the binary somewhere else: ;; (setq cmucl-program "lisp") ;; define a dialect for Clisp (defdialect clisp "CLisp" clisp-hs ;; try to autodetect the binary (unless clisp-program (cond ((file-executable-p "/usr/bin/clisp-cm-clm-cmn") (setq clisp-program "/usr/bin/clisp-cm-clm-cmn")) ((file-executable-p "/usr/bin/clisp-cm-clm") (setq clisp-program "/usr/bin/clisp-cm-clm")) ((file-executable-p "/usr/bin/clisp-clm") (setq clisp-program "/usr/bin/clisp-clm")) (t (setq clisp-program "clisp"))))) (add-hook 'clisp-hook (lambda () (make-local-variable 'overriding-local-map) (setq overriding-local-map (copy-keymap ilisp-mode-map)) (define-key overriding-local-map " " 'ilisp-arglist-message-lisp-space) ;; enable arglist expansion on this buffer (make-local-variable 'ilisp-*arglist-message-lisp-space-p*) (setq ilisp-*arglist-message-lisp-space-p* t))) ;; if you have the binary somewhere else: ;; (setq clisp-program "clisp") ;; Bind acl startup (global-set-key "\C-x\C-l" 'acl) (global-set-key "\C-x\L" 'acl) )) ;;; End Xemacs customization From hiss999 at hiss999.co.uk Tue Jul 2 05:13:50 2002 From: hiss999 at hiss999.co.uk (hiss999) Date: Tue, 02 Jul 2002 13:13:50 +0100 Subject: [CM] Downloading CLM Message-ID: Hi I've recently purchased MCL and I'm very happy with it. Now, I'd like to try out CLM but I've got a BIG problem with .tar.gz files on my Mac. Does anyone know of a non .tar.gz downloadable file? Any other format should do. Cheers -- LuThEr/hiss999 >-------computer generated sound/visuals at hiss999.co.uk----------- >>********************<> >>>******************************<> From hiss999 at hiss999.co.uk Tue Jul 2 09:33:03 2002 From: hiss999 at hiss999.co.uk (hiss999) Date: Tue, 02 Jul 2002 17:33:03 +0100 Subject: [CM] Downloading CLM In-Reply-To: Message-ID: On 02/07/02 4:11 PM, "Mari Masuda" typed: > A recent version of Stuffit Expander should be able to open .tar.gz files. > http://www.stuffit.com/expander/macindex.html Thank you Mari In fact, I've just found out that StuffIt 6.5.1 deals well with tar stuff but not with Gzipped stuff. If I first un[G]zip a file using Mac Gzip, the new .tar file is perfectly expanded by StuffIt. It also keeps the original creator. Good. -- LuThEr/hiss999 >-------computer generated sound/visuals at hiss999.co.uk----------- >>********************<> >>>******************************<> From carl.boingie at rcn.com Tue Jul 2 09:51:54 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Tue, 2 Jul 2002 12:51:54 -0400 Subject: [CM] Re: reality check Message-ID: <003a01c221ec$8f776440$34f07ad1@laptop> Thank you Drew and Orm. I'll start reading up on associ-lists, acons, pairlis, and hashtables right away. And defobject, of course. It's both confusing and exciting to be confronted with CM (and Lisp's) many options but, as John Travolta said in Pulp Fiction; "I dig it 'the most'". =) Thanks again for your thoughts. Carl Edwards From taube at uiuc.edu Tue Jul 2 12:18:42 2002 From: taube at uiuc.edu (Rick Taube) Date: Tue, 2 Jul 2002 12:18:42 -0700 Subject: [CM] Downloading CLM References: Message-ID: <001b01c221fd$480f7410$87197e82@music.uiuc.edu> look on the web for macgzip and suntar. ive used both for years on the mac without problems. ----- Original Message ----- From: "hiss999" To: "Lisp Music" Sent: Tuesday, July 02, 2002 5:13 AM Subject: [CM] Downloading CLM > Hi > I've recently purchased MCL and I'm very happy with it. Now, I'd like to try > out CLM but I've got a BIG problem with .tar.gz files on my Mac. > Does anyone know of a non .tar.gz downloadable file? Any other format should > do. > > Cheers > -- > LuThEr/hiss999 > > >-------computer generated sound/visuals at hiss999.co.uk----------- > > >>********************<> > > >>>******************************<> > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From mari at freeshell.org Tue Jul 2 08:11:43 2002 From: mari at freeshell.org (Mari Masuda) Date: Tue, 2 Jul 2002 15:11:43 +0000 (UTC) Subject: [CM] Downloading CLM In-Reply-To: Message-ID: On Tue, 2 Jul 2002 hiss999 sent these electrons: > but I've got a BIG problem with .tar.gz files on my Mac. A recent version of Stuffit Expander should be able to open .tar.gz files. http://www.stuffit.com/expander/macindex.html Mari -- Mari Masuda :: mari at freeshell.org :: http://mari.freeshell.org From ppagano at bellsouth.net Thu Jul 4 17:36:56 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Thu, 4 Jul 2002 20:36:56 -0400 Subject: [CM] SND for OSX Message-ID: <000b01c223bc$11643980$7fa14ed8@gnv.bellsouth.net> is this even possible? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From bil at ccrma.Stanford.EDU Fri Jul 5 04:37:17 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 5 Jul 2002 04:37:17 -0700 Subject: [CM] SND for OSX In-Reply-To: <000b01c223bc$11643980$7fa14ed8@gnv.bellsouth.net> References: <000b01c223bc$11643980$7fa14ed8@gnv.bellsouth.net> Message-ID: <200207051137.EAA13082@cmn14.stanford.edu> > is this even possible? Yes, in XDarwin (or whatever the X implementation is called); you can use either gtk or Motif; I only got Guile 1.4 to build, but it's a start. There are more notes in README.Snd. From baker at charlieb.com Fri Jul 5 05:33:16 2002 From: baker at charlieb.com (Charlieb) Date: Fri, 5 Jul 2002 12:33:16 +0000 (GMT) Subject: [CM] SND for OSX In-Reply-To: <000b01c223bc$11643980$7fa14ed8@gnv.bellsouth.net> Message-ID: I have it built : there is a makefile.... The built version seems to be the gtk ui, I guess it is configurable, I will look for Motif for OS X next...once my provider gets it's act together, and I get my dsl back...:-). Seems to work well, although i would prefer the Motif verion, with DaveP's gui extensions...but it sure is nice to have. Make sure to download & compile a GUI ssytem (gtk,motif, etc.), and an appropriate scripting language (guile or ruby), since these are not standard Darwin...but are available Just my experience... CharlieB ********************************************* Charlie Baker baker at charlieb.com "when everything isn't roses, you don't get any headroom" - Thomas Dolby "New Toy" ********************************************* On Thu, 4 Jul 2002, shreeswifty wrote: > is this even possible? > > > Pat Pagano, Director > South East Just Intonation Society > http://www.screwmusicforever.com/SHREESWIFT/ > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From ppagano at bellsouth.net Fri Jul 5 11:48:42 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Fri, 5 Jul 2002 14:48:42 -0400 Subject: [CM] building clisp on OSx Message-ID: <000701c22454$95ebb320$7fa14ed8@gnv.bellsouth.net> anyone have any tips on getting clisp to compile on OSX? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From juan at ccrma.Stanford.EDU Fri Jul 5 13:21:36 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Fri, 5 Jul 2002 13:21:36 -0700 (PDT) Subject: [CM] SND for OSX In-Reply-To: <000b01c223bc$11643980$7fa14ed8@gnv.bellsouth.net> Message-ID: Yup, I got it running with some help from Bill. You need guile (FINKable) and OpenMotif (there is a package for OSX in motifzone). I had some trouble installing libXm.a, finally had to get one from Bill. Read special OSX configure instructions in REAME.snd (you will probably have to edit a few things in your configure generated makefile to get snd to compile). JUAN On Thu, 4 Jul 2002, shreeswifty wrote: > is this even possible? > > > Pat Pagano, Director > South East Just Intonation Society > http://www.screwmusicforever.com/SHREESWIFT/ > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From juan at ccrma.Stanford.EDU Fri Jul 5 13:34:03 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Fri, 5 Jul 2002 13:34:03 -0700 (PDT) Subject: [CM] building clisp on OSx In-Reply-To: <000701c22454$95ebb320$7fa14ed8@gnv.bellsouth.net> Message-ID: You should get fink, it is the easiest way to install packages like clisp in OSX. Upon installing just type on a shell: fink install clisp and fink will fetch the most recent version of clisp from the internet, together with needed dependencies and install them in your computer (you probably have to sudo the command above). JUAN On Fri, 5 Jul 2002, shreeswifty wrote: > anyone have any tips on getting clisp to compile on OSX? > > Pat Pagano, Director > South East Just Intonation Society > http://www.screwmusicforever.com/SHREESWIFT/ > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From ppagano at bellsouth.net Fri Jul 5 17:24:14 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Fri, 5 Jul 2002 20:24:14 -0400 Subject: [CM] clisp on OSX Message-ID: <000501c22483$757f7c00$7fa14ed8@gnv.bellsouth.net> I found this whilst looking for a Clisp OSx binary http://www.io.com/~jti/lisponx.html Is my assumption correct that clm might run ok if i get clisp on osx functioning? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From ppagano at bellsouth.net Sat Jul 6 12:05:50 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sat, 6 Jul 2002 15:05:50 -0400 Subject: [CM] clisp on OSX References: <221AF18A-9104-11D6-B4F3-000502E1D820@sfsound.org> Message-ID: <002401c22520$255b0b20$7fa14ed8@gnv.bellsouth.net> Ok works fine except that i cannot get (with-sound () working. It is obviously looking for sndplay which is a unix commandline player. Is there something that i may substitute? Or better yet is there a commandline (.wav,.au,aiff) player for OSX?? Thanks lloyd and Juan. But apparently you need to be online to run Fink and my Mac is not hooked to the internet. cheers Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ ----- Original Message ----- From: Lloyd Anderson To: shreeswifty Sent: Saturday, July 06, 2002 1:16 PM Subject: Re: [CM] clisp on OSX Hi Pat, I just got clisp and then clm running on an osx machine. Follow juan's advice and use fink to get it. Im enclosing 2 emails i received from Michael Klingbeil showing how to do everything. An easier way might be to download a precompiled version of clisp. The Fink project at http://fink.sourceforge.net is probably one of the best sources of ports for MacOS X / Darwin. It is based on the Debian package management system. This page: http://fink.sourceforge.net/download/index.php has some simple directions for getting started. Once fink is installed run dselect at the terminal and select the packages you want to install. Currently clisp is at version 2-2.27-1, but this seems to work fine for building clm. Once clisp is installed, the building of clm should be relatively straightforward. Also you'll need to have the Apple Developer Tools installed (http://developer.apple.com/tools/macosxtools.html) for the C compiler, but perhaps you already have that. There is an unlisted clisp dependency called dlcompat - which is available via fink too. Clisp wont work w/out it. But once you install it - things should be fine. Now that you mention it I remember encountering this problem as well. No need to reinstall clsip. Just get the "dlcompat" package which is available via Fink dselect. I think once that is installed everything will work (famous last words!). Apparently this wasn't set up as a dependency for clisp. On Friday, July 5, 2002, at 05:24 PM, shreeswifty wrote: I found this whilst looking for a Clisp OSx binary http://www.io.com/~jti/lisponx.html Is my assumption correct that clm might run ok if i get clisp on osx functioning? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph L Anderson Acousmatic Music . Sound Recording . Radio Production 4210 North West Crescent Valley Drive Corvallis, Oregon, 97330 email: lloyd at sfsound.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl.boingie at rcn.com Sat Jul 6 12:13:01 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Sat, 6 Jul 2002 15:13:01 -0400 Subject: [CM] CM/CLM/CMN goes webway References: <005201c220a0$fadae1a0$08f07ad1@laptop><000001c22147$827c6420$68e37ad1@laptop> Message-ID: <005901c22521$26ec3d00$74e37ad1@laptop> Very sweet! Being a 3D animator these things are close to my heart. Thanks Anders. BTW: Since you are interested in spatial projections in music: are you, familiar with Stephane Rollandin's work? He has written a package in the KeyKit language called GeoMaestro. You might find it interesting. http://www.zogotounga.net/GM/eGM0.html Carl Edwards > >>> "CE" == Carl Edwards writes: > > CE> Tell me, are the projections making use of a perspective > CE> space? > > Yes, but the objects are not projected into one globally defined > perspective (apart from the 2D web-image), but rather many > simultaneously. > > CE> Did I understand that you rendering the graphics in CMN? > > Yes, controlled in part by CM and CLM-entities: analysis > techniques, patterns, oscils, filters etc. (Piping the final > postscript-output through GhostScript to downgrade to a format > applicable to web-browsers -- JPEG in this case.) > > CE> Are those transformations a normal part of that package? > > AFAIK the matrix class and set of methods, which is responsible > for the transformation i beleive youre asking about, is > applicable to every cmn-object at any level. From juan at ccrma.Stanford.EDU Sat Jul 6 13:01:22 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Sat, 6 Jul 2002 13:01:22 -0700 (PDT) Subject: [CM] building clisp on OSx (fwd) Message-ID: Forgot to copy this to the list... JUAN ---------- Forwarded message ---------- Date: Sat, 6 Jul 2002 12:59:19 -0700 (PDT) From: Juan Pampin To: shreeswifty Cc: Juan Carlos Pampin Subject: Re: [CM] building clisp on OSx Yes, that's the right sequence. The problem with with-sound is that by default it tries to play the generated soundfile back and is using sndplay for that. So you can try doing: (with-sound (:srate 44100 :output "test.snd" :play nil) ... ) and see if you can generate the file (i.e. if clm doesn't fail with some error). If this is the case you need to somehow compile sndplay to get automatic playback working (it should have been compiled during the all.lisp run but maybe there was some kind of error). I've attached my own compiled version of sndplay just in case you can't compile yours (copy it over to your clm-2 directory). Cheers, JUAN On Sat, 6 Jul 2002, shreeswifty wrote: > no > > Juan remember, i am a numbskull > so > > clisp > (pushnew :mac-osx *features*) > (load "all.lisp") > > ? > > Pat Pagano, Director > South East Just Intonation Society > http://www.screwmusicforever.com/SHREESWIFT/ > ----- Original Message ----- > From: Juan Pampin > To: shreeswifty > Cc: Juan Carlos Pampin > Sent: Saturday, July 06, 2002 1:59 PM > Subject: Re: [CM] building clisp on OSx > > > > Did you do: > > > > (pushnew :mac-osx *features*) > > > > before loading all.lisp? > > JUAN > > > > > > On Fri, 5 Jul 2002, shreeswifty wrote: > > > > > The binary seems to work that i got from > > > http://www.io.com/~jti/lisponx.html > > > > > > clm does not. > > > a bunch of funky errors because its looking for an .o file that is not > being > > > made. > > > > > > > > > > > > Pat Pagano, Director > > > South East Just Intonation Society > > > http://www.screwmusicforever.com/SHREESWIFT/ > > > ----- Original Message ----- > > > From: Juan Pampin > > > To: shreeswifty > > > Cc: > > > Sent: Friday, July 05, 2002 4:34 PM > > > Subject: Re: [CM] building clisp on OSx > > > > > > > > > > You should get fink, it is the easiest way to install packages like > clisp > > > > in OSX. Upon installing just type on a shell: > > > > > > > > fink install clisp > > > > > > > > and fink will fetch the most recent version of clisp from the > internet, > > > > together with needed dependencies and install them in your computer > (you > > > > probably have to sudo the command above). > > > > JUAN > > > > > > > > On Fri, 5 Jul 2002, shreeswifty wrote: > > > > > > > > > anyone have any tips on getting clisp to compile on OSX? > > > > > > > > > > Pat Pagano, Director > > > > > South East Just Intonation Society > > > > > http://www.screwmusicforever.com/SHREESWIFT/ > > > > > > > > > > > > > > > _______________________________________________ > > > > > Cmdist mailing list > > > > > Cmdist at ccrma.stanford.edu > > > > > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > > > > > > > > > > > > > > > > > > > > From juan at ccrma.Stanford.EDU Sat Jul 6 13:31:37 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Sat, 6 Jul 2002 13:31:37 -0700 (PDT) Subject: [CM] New version of ATSH Message-ID: A new version of ATHS (the ATS file editor) is available at: ftp://ccrma-ftp.stanford.edu/pub/Lisp/ATS/atsh.tar.gz Pablo fixed some bugs, especially some related to the UNDO. For the ones of you running Windows (argggh! :) Pablo put together a version of the editor using WinGTK and WGlade, you can download it from his web page: http://www.unq.edu.ar/cme/personales/odiliscia/software/ATSH-doc.htm Cheers, JUAN From ppagano at bellsouth.net Sat Jul 6 15:44:31 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sat, 6 Jul 2002 18:44:31 -0400 Subject: [CM] which motif ? Message-ID: <002501c2253e$b1a55e00$7fa14ed8@gnv.bellsouth.net> Hi all Bill, i am wondering which motif to grab. there is an osx package and a Darwin tar ball which is more appropriate? and can someone point me to the right guile? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From ppagano at bellsouth.net Sat Jul 6 15:47:00 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sat, 6 Jul 2002 18:47:00 -0400 Subject: [CM] fink question Message-ID: <000501c2253f$0abb2740$7fa14ed8@gnv.bellsouth.net> is there a way to use fink without being on the web? liek does it analyse what it needs and dump that somewhere so i may manualy fetch packages etc.. Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From ppagano at bellsouth.net Sun Jul 7 12:15:12 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sun, 7 Jul 2002 15:15:12 -0400 Subject: [CM] Re: Cmdist digest, Vol 1 #55 - 6 msgs References: <20020707190005.13494.97466.Mailman@cm-mail.stanford.edu> Message-ID: <000801c225ea$9e5a7ae0$7fa14ed8@gnv.bellsouth.net> 1.-i swear that my html is off. 2. i built 1.4 guile just fine it was a dream 3. 0.9-gsl would _not build can i Fink gsl ?? Pat Pagano, Director South East Just Intonation Society From ppagano at bellsouth.net Sun Jul 7 15:36:07 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sun, 7 Jul 2002 18:36:07 -0400 Subject: [CM] failing with gsl Message-ID: <000701c22606$afc0c2a0$7fa14ed8@gnv.bellsouth.net> i cannot seem to build gsl i get .. no rule to make target '../gsl/gsl_vector_complex_long_double.h' needed by init.lo all recursive Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From ppagano at bellsouth.net Sun Jul 7 16:17:37 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Sun, 7 Jul 2002 19:17:37 -0400 Subject: [CM] no luck with gsl still Message-ID: <000501c2260c$7bb64100$7fa14ed8@gnv.bellsouth.net> tried all the way up to 1.1.1 same vector error i did a ./configure --disable-shared and still no dice Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From juan at ccrma.Stanford.EDU Sun Jul 7 19:50:13 2002 From: juan at ccrma.Stanford.EDU (Juan Pampin) Date: Sun, 7 Jul 2002 19:50:13 -0700 (PDT) Subject: [CM] Franz ACL CM install ? In-Reply-To: Message-ID: On Fri, 28 Jun 2002, Charlieb wrote: > Well ,after several attempts, I did get clm-cmn-cm2.3.4 to compile in the > ACL trial edition: > but ATS failed. > All the problems stemed from Franz putting a rather small stack space > allowance in the kernel...anything large ("enterprise sized"), and it just > doesn;t compile. Whereas if you take severl passes at compiling the other > CCRMA/UIUC lisp code, you can gety it to just barely squeeze in, if you > try anything that is memory intensive (such as ATS), it will not compile. > > I called ACL trial's memory ceiling "draconian" when I downloaded it, but > I don't think Franz paid too much attention...they don;t mind us music > types too much, as long as we pay like the big boys: unfortunately, we're > often cash l;imited. Like me. > I have to point out that Digitool's excellent MCL is now < $100.... > now, if can get Franz to pay attention...the avg. hobbyist would kick out > $100-$200 , anymore, and...well...And another side of that > arguement > (that *I'll* never get a chance to make to Franz) is that enterprises > rarely order single licences, (unless they intend to cheat), and the main > effect of a poperly used single license is to develop another skilled Lisp > coder, one who hopefully is attached to your dev environment, and will > sell it to employers. > > OK, nuf b***chin' 'bout Franz...I love ACL, I just can;t afford it. > > CharlieB > > > ********************************************* > Charlie Baker baker at charlieb.com > "when everything isn't roses, you don't get > any headroom" - Thomas Dolby "New Toy" > ********************************************* > > > On Fri, 28 Jun 2002, Rick Taube wrote: > > > cm should run in acl 6.1 on windows or linux. in either case you will have to take the SOURCE archive and build cm on your machine. i think the url to the windows source is > > ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/sources/cm-2.3.4.zip > > > > > > Message ----- > > From: Adam Chennells > > To: Cmdist at ccrma.Stanford.EDU > > Sent: Friday, June 28, 2002 6:25 AM > > Subject: [CM] Franz ACL CM install ? > > > > > > The Franz ACL 6.1 Trial lisp seems very full-blown, > > and well documented. > > > > Can anyone suggest whether CM will run on this > > release, as is. > > > > The CM-2.3.4.zip release of May was only 589KB, smaller > > than the CM-2.3.4-WIN32.zip of 2.4MB. > > > > So I wonder which source to look at first. > > > > Is there a recent Installation Guide for CM that may cover this ? > > > > I am prepared for a build-cm somewhere down the line > > but just wonder were my best instructions are for such > > a build process. (A windows Intel PII platform). > > > > Thanks in advance for any comments. > > > > Adam Chennells. > > > > > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From anders.vinjar at notam02.no Sat Jul 6 05:17:28 2002 From: anders.vinjar at notam02.no (Anders Vinjar) Date: 06 Jul 2002 14:17:28 +0200 Subject: [CM] CM/CLM/CMN goes webway In-Reply-To: <000001c22147$827c6420$68e37ad1@laptop> References: <005201c220a0$fadae1a0$08f07ad1@laptop> <000001c22147$827c6420$68e37ad1@laptop> Message-ID: >>> "CE" == Carl Edwards writes: CE> Tell me, are the projections making use of a perspective CE> space? Yes, but the objects are not projected into one globally defined perspective (apart from the 2D web-image), but rather many simultaneously. CE> Did I understand that you rendering the graphics in CMN? Yes, controlled in part by CM and CLM-entities: analysis techniques, patterns, oscils, filters etc. (Piping the final postscript-output through GhostScript to downgrade to a format applicable to web-browsers -- JPEG in this case.) CE> Are those transformations a normal part of that package? AFAIK the matrix class and set of methods, which is responsible for the transformation i beleive youre asking about, is applicable to every cmn-object at any level. From markj at cloaked.freeserve.co.uk Tue Jul 9 05:29:20 2002 From: markj at cloaked.freeserve.co.uk (MJ Ray) Date: Tue, 09 Jul 2002 12:29:20 GMT Subject: [CM] snd question - new format Message-ID: Hi, Where should I start looking for details of how to extend snd to handle new input/output file formats? I'd rather work in Scheme if possible. Thanks in advance, MJR From ppagano at bellsouth.net Tue Jul 9 07:21:50 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Tue, 9 Jul 2002 10:21:50 -0400 Subject: [CM] snd running on XDarwin on OSX Message-ID: <000b01c22753$fc3cb140$7fa14ed8@gnv.bellsouth.net> Ok sorry for the Newbie complaining. I just zoomed past the Xt.a stuff hopefully this will teach me a lesson. i will blame it on reading the README.snd on a tiny windows default zip viewer. (and lack of coffee) :-) but one must 1. edit the makefile to specify exactly /usr/X11R6/lib/libXm.a and 2. /usr/X11R6/lib/libXt.a (i removed the -lXt -lXm flags) in the makefile I also had to ./configure --without-GSL one question left, will --with-ladspa work on XDarwin? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From scb at s2.enemy.org Tue Jul 9 07:24:38 2002 From: scb at s2.enemy.org (sebastian sauer) Date: Tue, 9 Jul 2002 16:24:38 +0200 Subject: [CM] snd running on XDarwin on OSX In-Reply-To: <000b01c22753$fc3cb140$7fa14ed8@gnv.bellsouth.net> References: <000b01c22753$fc3cb140$7fa14ed8@gnv.bellsouth.net> Message-ID: <20020709142438.GA7538@satanii.enemy.org> On Tue, Jul 09, 2002 at 10:21:50AM -0400, shreeswifty wrote: > one question left, will --with-ladspa work on XDarwin? i bet it wont s. -- :: scb's terra_digitalis http://swoosh.enemy.org/ :: fingerprint B8A5 31FE 0159 BF8A 1F17 8B81 848F F350 D1CB 5706 From ppagano at bellsouth.net Tue Jul 9 12:09:05 2002 From: ppagano at bellsouth.net (ppagano at bellsouth.net) Date: Tue, 9 Jul 2002 15:09:05 -0400 Subject: [CM] Re: Cmdist digest, Vol 1 #57 - 3 msgs Message-ID: <20020709190906.KLM8138.imf20bis.bellsouth.net@localhost> ok, its a bet, i am at work, but will try it tonight. i don't think there will be a problem with the ladpsa.h i think it's the cmt.so that will be the worry anyone chummy with Rich Furse? cheers Pat > i bet it wont > > > From perticone at infovia.com.ar Wed Jul 10 10:32:04 2002 From: perticone at infovia.com.ar (M. Perticone) Date: Wed, 10 Jul 2002 14:32:04 -0300 Subject: [CM] error compiling clm2 with cmucl Message-ID: <003901c22838$0baa8780$a75033c8@marcelo> hello list, when trying to compile clm-2 in cmucl i got the following error: /hall/tmp/clm-2/sndlib2clm.x86f written. Compilation finished in 0:00:03. ;; Loading #p"/hall/tmp/clm-2/sndlib2clm.x86f". Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: Unknown foreign symbol: "mus_sound_set_loop_info" then, if i continue with compilation, everything goes well, although sndlibclm.x86f is skipped. anyone using cmucl can help? thanks in advance, marcelo From bil at ccrma.Stanford.EDU Thu Jul 11 04:43:48 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 11 Jul 2002 04:43:48 -0700 Subject: [CM] snd question - new format In-Reply-To: References: Message-ID: <200207111143.EAA22045@cmn14.stanford.edu> > Where should I start looking for details of how to extend snd to handle new > input/output file formats? I'd rather work in Scheme if possible. If you're referring to a new header, perhaps open-raw-sound-hook will do what you want; Snd will see some unknown header (presumably) and call the hook function which can read the header and set the various fields (such as data format). If this is a new version of some known header, I'd need to add support for it to the built-in code. If it's a new data-format, you'll probably need to translate it to some format that Snd can handle. There are examples of this for MPEG and OGG files in examp.scm and misc.scm. If it's representable by some C type, I can easily add it to the built-in formats. From bil at ccrma.Stanford.EDU Thu Jul 11 04:44:53 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 11 Jul 2002 04:44:53 -0700 Subject: [CM] ladspa/macosx Message-ID: <200207111144.EAA22049@cmn14.stanford.edu> > one question left, will --with-ladspa work on XDarwin? It seems to me that it ought to work -- I don't remember anything specific to Linux; shared libraries can be a problem in MacOSX. From bil at ccrma.Stanford.EDU Thu Jul 11 05:57:02 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 11 Jul 2002 05:57:02 -0700 Subject: [CM] error compiling clm2 with cmucl In-Reply-To: <003901c22838$0baa8780$a75033c8@marcelo> References: <003901c22838$0baa8780$a75033c8@marcelo> Message-ID: <200207111257.FAA00282@cmn14.stanford.edu> > Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: > Unknown foreign symbol: "mus_sound_set_loop_info" I thought I fixed this bug a couple weeks ago -- I'll make a new clm-2.tar.gz (just delete those lines -- the function in question was deleted). From bil at ccrma.Stanford.EDU Thu Jul 11 07:05:26 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 11 Jul 2002 07:05:26 -0700 Subject: [CM] openmcl cmn mac-osx Message-ID: <200207111405.HAA00373@cmn14.stanford.edu> With a push from Michael Klingbeil, I've ported CMN to OpenMCL in Darwin (Mac OSX). Now for CLM... From markj at cloaked.freeserve.co.uk Thu Jul 11 10:31:27 2002 From: markj at cloaked.freeserve.co.uk (MJ Ray) Date: Thu, 11 Jul 2002 17:31:27 GMT Subject: [CM] snd question - new format References: <200207111143.EAA22045@cmn14.stanford.edu> Message-ID: Bill Schottstaedt wrote: > If it's a new data-format, you'll probably need to translate it to > some format that Snd can handle. There are examples of this for > MPEG and OGG files in examp.scm and misc.scm. If it's representable > by some C type, I can easily add it to the built-in formats. Actually, I'm looking for Ogg Vorbis support, but *writing* them through oggenc rather than reading them in. Am I missing examples of them? Can I have function names, please? Sorry to make such specific requests, but I really didn't find them. Thanks, MJR From mis at creazone.com Thu Jul 11 20:53:17 2002 From: mis at creazone.com (Michal Seta) Date: Thu, 11 Jul 2002 22:53:17 -0500 Subject: [CM] openmcl cmn mac-osx In-Reply-To: <200207111405.HAA00373@cmn14.stanford.edu> References: <200207111405.HAA00373@cmn14.stanford.edu> Message-ID: <20020711225317.4666f330.mis@creazone.com> Seems to be working in openmcl under linux (Debian-PPC) as well although I got some Undefined functions: ;Compiler warnings for "/home/mis/bin/cmn/cmn-grfx.lisp" : ; Undefined function CMN::C-PRINT (2 references), in CMN::G-PAGE-NUMBER. ; Undefined function CMN::C-PRINT, in CMN::G-SEND. ; Undefined function CMN::C-PRINT, in CMN::G-BBOX. ; Undefined function CMN::C-PRINT, in CMN::G-FOOTER. ; Undefined function CMN::C-PRINT (11 references), in CMN::G-HEADER. ; Undefined function CMN::C-PRINT, in CMN::G-MUSTEXT. ; Undefined function CMN::C-PRINT, in CMN::G-TEXT. ; Undefined function CMN::C-PRINT, in CMN::G-FILL. ; Undefined function CMN::D_MOVETO, in CMN::G-DRAW. ; Undefined function CMN::D_LINETO, in CMN::G-DRAW. ; Undefined function CMN::C-PRINT, in CMN::G-DRAW. ; Undefined function CMN::C-LINEWIDTHCLEARED, in CMN::G-DRAW. ; Undefined function CMN::C-PRINT, in CMN::G-ARC. ; Undefined function CMN::C-CURVETO, in CMN::G-CURVETO. ; Undefined function CMN::C-PRINT, in CMN::G-DASHED-LINE. ; Undefined function CMN::C-LINETO, in CMN::G-DASHED-LINE. ; Undefined function CMN::C-RLINETO, in CMN::G-DASHED-LINE. ; Undefined function CMN::C-RLINETO, in CMN::G-RLINETO. ; Undefined function CMN::C-LINETO, in CMN::G-LINETO. ; Undefined function CMN::C-RMOVETO, in CMN::G-RMOVETO. ; Undefined function CMN::C-MOVETO, in CMN::G-MOVETO. ; Undefined function CMN::C-PRINT, in CMN::G-SET-FONT. ; Undefined function CMN::C-PRINT, in CMN::G-SET-COLOR. ; Undefined function CMN::D_PENSIZE, in CMN::G-SET-LINE-WIDTH. ; Undefined function CMN::C-LINEWIDTH, in CMN::G-SET-LINE-WIDTH. ; Undefined function CMN::C-PRINT, in CMN::G-POP. ; Undefined function CMN::C-MATRIX, in CMN::G-PUSH. ; Undefined function CMN::C-COMMENT, in CMN::G-COMMENT. ; Undefined function CMN::CMN-RECEIVE-SND-1, in CMN::CMN-RECEIVE-SND. ;Compiler warnings for "/home/mis/bin/cmn/cmn0.lisp" : ; Undefined function CMN::C-CLOSE, in CMN::CMN. ; Undefined function CMN::C-CLOSE, in CMN::FINALIZE. ; Undefined function CMN::C-OPEN, in CMN::INITIALIZE. But I generated a couple of test scores and got them (I guess...) I'm just getting into it so can't really test thoroughly. CM does not load: > Error: > Common Music runs under MacOS, Linux or Windows > While executing: "Unknown" > Type :POP to abort. Type :? for other options. but I don't know (yet) lisp enough to hack whatever. And then I guess fixing it (if not trivial) would be a waste of effort if porting to guile is in plans. Anyways, just wanted to let y'all know. cheers ./MiS On Thu, 11 Jul 2002 07:05:26 -0700 Bill Schottstaedt wrote: > With a push from Michael Klingbeil, I've ported CMN to OpenMCL > in Darwin (Mac OSX). Now for CLM... > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > -- ./MiS Michal Seta http://creazone.eworldmusic.com/doc/mis CreaZone http://www.creazone.com No One Receiving http://creazone.eworldmusic.com/doc/nor upcoming release: NOR - "The Release of the Wandering-Eyed Girl" http://www.grainofsound.com From Johannes.Quint at web.de Fri Jul 12 02:07:13 2002 From: Johannes.Quint at web.de (Johannes Quint) Date: Fri, 12 Jul 2002 11:07:13 +0200 Subject: [CM] real-time Message-ID: probably a very simple question: how can i create a process which takes midi-input (in real-time-modus), translates it via a function and creates immediately a midi-output? i.e. i want to play c-df-d-ef (chromatic-scale) on my midi-keyboard and want to hear c-d-e-fs (whole-tone-scale). of course, my problem is'nt such a translation but the real-time stuff. thanks for help. j.quint -- Johannes Quint Rilkestr. 55 D-53225 Bonn 0228 46 82 56 Johannes.Quint at web.de From bil at ccrma.Stanford.EDU Fri Jul 12 04:48:48 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 12 Jul 2002 04:48:48 -0700 Subject: [CM] snd question - new format In-Reply-To: References: <200207111143.EAA22045@cmn14.stanford.edu> Message-ID: <200207121148.EAA01451@cmn14.stanford.edu> > Actually, I'm looking for Ogg Vorbis support, but *writing* them through > oggenc rather than reading them in. Am I missing examples of them? Can I > have function names, please? Sorry to make such specific requests, but I > really didn't find them. in contrib/dlp/misc.scm, look for ogg123 (it's reading OGG files). To write them you could use "system" and call "oggenc" etc. From markj at cloaked.freeserve.co.uk Fri Jul 12 11:46:17 2002 From: markj at cloaked.freeserve.co.uk (MJ Ray) Date: Fri, 12 Jul 2002 19:46:17 +0100 Subject: [CM] snd question - new format In-Reply-To: Message from Bill Schottstaedt of "Fri, 12 Jul 2002 04:48:48 PDT." <200207121148.EAA01451@cmn14.stanford.edu> References: <200207111143.EAA22045@cmn14.stanford.edu> <200207121148.EAA01451@cmn14.stanford.edu> Message-ID: > in contrib/dlp/misc.scm, look for ogg123 (it's reading OGG files). To write > them you could use "system" and call "oggenc" etc. How do I determine whether I'm reading or writing from in the hook? Also, it appears to make a temporary .raw file on disk... does it have to? Again, sorry if this is dumb. You can always point me at which FM to R. -- MJR From ppagano at bellsouth.net Fri Jul 12 18:28:12 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Fri, 12 Jul 2002 21:28:12 -0400 Subject: [CM] clm with OSX Message-ID: <000e01c22a0c$8dcea720$7fa14ed8@gnv.bellsouth.net> hi i am getting cc: -framework : linker input file unused since linking not done cc: CoreAudio : linker input file unused since linking not done when i try to compile cnv or pvoc is this a clisp /mac osx thing or did i screw something up?? Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From taube at uiuc.edu Sat Jul 13 07:14:42 2002 From: taube at uiuc.edu (Rick Taube) Date: Sat, 13 Jul 2002 07:14:42 -0700 Subject: [CM] real-time References: Message-ID: <000c01c22a77$a32ee6f0$79197e82@music.uiuc.edu> the last example in processes.cm should show how to do this, but be advised that "real time" in common lisp wont be good enough for most things. depending on what you are trying to do you might find it more useful to call midi-read-messages yourself in a loop and process the bytes directly to the output port. ----- Original Message ----- From: "Johannes Quint" To: Sent: Friday, July 12, 2002 2:07 AM Subject: [CM] real-time > probably a very simple question: > how can i create a process which takes midi-input (in real-time-modus), > translates it via a function and creates immediately a midi-output? > i.e. i want to play c-df-d-ef (chromatic-scale) on my midi-keyboard and want > to hear c-d-e-fs (whole-tone-scale). > of course, my problem is'nt such a translation but the real-time stuff. > thanks for help. > > j.quint > > -- > Johannes Quint > Rilkestr. 55 > D-53225 Bonn > 0228 46 82 56 > Johannes.Quint at web.de > > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > From bil at ccrma.Stanford.EDU Sun Jul 14 04:22:30 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 14 Jul 2002 04:22:30 -0700 Subject: [CM] snd question - new format In-Reply-To: References: <200207111143.EAA22045@cmn14.stanford.edu> <200207121148.EAA01451@cmn14.stanford.edu> Message-ID: <200207141122.EAA04658@cmn14.stanford.edu> > How do I determine whether I'm reading or writing from in the hook? it's reading. > Also, it appears to make a temporary .raw file on disk... does it have to? yes. Here is code to read/write OGG files: (use-modules (ice-9 format)) (define (read-ogg filename) ;; check for "OggS" first word, if found, translate to something Snd can read (if (call-with-input-file filename (lambda (fd) (and (char=? (read-char fd) #\O) (char=? (read-char fd) #\g) (char=? (read-char fd) #\g) (char=? (read-char fd) #\S)))) (let ((aufile (string-append filename ".au"))) (if (file-exists? aufile) (delete-file aufile)) (system (format #f "ogg123 -d au -f ~A ~A" aufile filename)) aufile) #f)) (add-hook! open-hook (lambda (filename) (if (= (mus-sound-header-type filename) mus-raw) (read-ogg filename) #f))) (define (write-ogg snd) ;; write snd data in OGG format (if (or (> (car (edits snd)) 0) (not (= (header-type snd) mus-riff))) (let ((file (string-append (file-name snd) ".tmp"))) (save-sound-as file snd mus-riff) (system (format #f "oggenc ~A" file)) (delete-file file)) (system (format #f "oggenc ~A" (file-name snd))))) From bil at ccrma.Stanford.EDU Sun Jul 14 04:23:57 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 14 Jul 2002 04:23:57 -0700 Subject: [CM] snd 5.12 Message-ID: <200207141123.EAA04663@cmn14.stanford.edu> 5.12 changes: added contrib/DotEmacs thanks to Fernando. many (optimizable) functions can now be treated as "virtual" editing operations -- ptree-channel (this is step 4 toward a virtual editor). run macro for Snd. Preliminary timing tests using with-sound (ws.scm) and v.scm indicate that Snd runs within a factor of 2 of the fully optimized CL/CLM speeds (ACL for example). snd-pixel is now a no-op; Snd color variables use the xm-module type system, so snd-pixel can be deleted. env-channel can take an envelope (list) arg. bad-header-hook to handle bogus headers automatically in open-sound. update-transform changed to update-transform-graph. added sample-reader-position, mus-file-name, continue-sample->file. Thanks to Stefan Schwandter, Sebastian Sauer, Fernando Lopez-Lezcano, Ludger Brummer, Michael Scholz for bug reports. checked: gtkglext-0.3.2 (and 0.2.1), gcc 3.1, ladspa 1.1 From kcross at linex.com Sun Jul 14 11:31:13 2002 From: kcross at linex.com (NJCross) Date: Sun, 14 Jul 2002 11:31:13 -0700 Subject: [CM] snd 5.12 In-Reply-To: <200207141123.EAA04663@cmn14.stanford.edu> References: <200207141123.EAA04663@cmn14.stanford.edu> Message-ID: <200207141826.LAA17687@relay.linex.net> I tried to install 'snd-5-12.ppc.rpm' on a Powerbook 'pismo' running Yellowdog Linux 2.2 and got this unsatisfied depts. from 'Package Manager': Found 0 source and 1 binary packages Dependency Problem: /home/bil/test/bin/guile is needed by snd-5-12 /usr/local/bin/guile is needed by snd-5-12 Not sure that I've ever been asked for /home/bil/test/bin/guile before! As regards the '/usr/local/bin/guile'; I have 'snd-guile-1.5.0-4.ppc.rpm' installed which should take care of that... or not ? Also,I'm uncertain of the relationship between the source 'snd-5.tar.gz', which has always compiled OK on YDL 2.2, and all 'snd-5-(11)(12) files. Is it possible to get a source 'snd-5-12.tar.gz'or should this be unnecessary ? As regards the '.scm' extensions by Dave Phillips; how can I permanently compile this into 'snd' so that I don't have to start 'snd' with snd -l misc.scm ? Also finding that 'marks-menu.scm' and 'marks.scm' still causes 'unbound variable: mark-loops' type errors. snd newbie alert out, thanks in advance, Keith On Sunday 14 July 2002 04:23'ish, Bill Schottstaedt ecrit: > 5.12 changes: > > added contrib/DotEmacs thanks to Fernando. > > many (optimizable) functions can now be treated as "virtual" editing > operations -- ptree-channel (this is step 4 toward a virtual editor). > > run macro for Snd. Preliminary timing tests using with-sound (ws.scm) > and v.scm indicate that Snd runs within a factor of 2 of the fully > optimized CL/CLM speeds (ACL for example). > > snd-pixel is now a no-op; Snd color variables use the xm-module type > system, so snd-pixel can be deleted. > env-channel can take an envelope (list) arg. > bad-header-hook to handle bogus headers automatically in open-sound. > update-transform changed to update-transform-graph. > added sample-reader-position, mus-file-name, continue-sample->file. > > Thanks to Stefan Schwandter, Sebastian Sauer, Fernando Lopez-Lezcano, > Ludger Brummer, Michael Scholz for bug reports. > > checked: gtkglext-0.3.2 (and 0.2.1), gcc 3.1, ladspa 1.1 > _______________________________________________ > Cmdist mailing list > Cmdist at ccrma.stanford.edu > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From ptraub at ccrma.Stanford.EDU Sun Jul 14 08:44:07 2002 From: ptraub at ccrma.Stanford.EDU (Peter M. Traub) Date: Mon, 15 Jul 2002 00:44:07 +0900 Subject: [CM] newbie installation issues Message-ID: <20020715004407.M1363@ccrma.stanford.edu> Hello all, I've recently begun learning LISP and CLM. While I can use working versions at CCRMA, I'm having trouble getting it working at home. I'm running redhat 7.1 with kernel 2.4.14 and using the OSS sound drivers (haven't been able to get ALSA working yet either). I built CMUCL lisp from the source rpm on the planet CCRMA Site (cmucl-3.0.3-1.src.rpm), although I guess that just grabbed the binaries with alien and constructed an rpm, so i didn't really 'build' it. That appears to run ok when I start 'lisp'. During that installation, I installed the 'normal' core. Following that, I installed 'cmucl-clm-oss-1.0-6.i386.rpm'. When I start 'cmucl-clm' from the command line, I get the following series of errors: [peter at 12-234-214-39 peter]$ cmucl-clm ;;; Running /usr/bin/ld... ;;; Done. Error in function UNIX::SIGSEGV-HANDLER: Segmentation Violation at #x40302004. Restarts: 0: [ABORT] Skip remaining initializations. Debug (type H for help) (UNIX::SIGSEGV-HANDLER # # #.(SYSTEM:INT-SAP #x3FFFEA70)) Source: Error finding source: Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: target:code/signal.lisp. 0] I can't exit out of this without closing the terminal window (:ex doesn't do it... and I don't know enough clm/lisp to understand why). Is this a common error and is there a common fix? Many thanks in advance for any help you could give. Best, Peter Traub ---------------------------------------------------- Center for Computer Research in Music and Acoustics http://www-ccrma.stanford.edu From bil at ccrma.Stanford.EDU Mon Jul 15 04:50:47 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 15 Jul 2002 04:50:47 -0700 Subject: [CM] snd 5.12 In-Reply-To: <200207141826.LAA17687@relay.linex.net> References: <200207141123.EAA04663@cmn14.stanford.edu> <200207141826.LAA17687@relay.linex.net> Message-ID: <200207151150.EAA06293@cmn14.stanford.edu> > Dependency Problem: > /home/bil/test/bin/guile is needed by snd-5-12 Argh! I don't remember changing anything -- will check. > Also,I'm uncertain of the relationship between the source 'snd-5.tar.gz', > which has always compiled OK on YDL 2.2, and all 'snd-5-(11)(12) files. > Is it possible to get a source 'snd-5-12.tar.gz'or should this be unnecessary snd-5.tar.gz at ccrma-ftp is a sort of daily snapshot (except that it always works!). snd-5-12 is the same as snd-5.12. The source that corresponds to snd-5-12.i386.rpm is in snd-5-12.src.rpm. > As regards the '.scm' extensions by Dave Phillips; how can I permanently > compile this into 'snd' so that I don't have to start 'snd' with snd -l > misc.scm ? There isn't (yet?) a compiler for the .scm files, but you can get them loaded automatically by including the load statement(s) in your ~/.snd file: (load "misc.scm") or whatever (it may need a full path here). > Also finding that 'marks-menu.scm' and 'marks.scm' still causes > 'unbound variable: mark-loops' type errors. marks-menu uses mark-loops which is (currently) defined in examp.scm, so you need to load that file also, or, perhaps better, we should move mark-loops to marks.scm. From bil at ccrma.Stanford.EDU Mon Jul 15 04:59:54 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Mon, 15 Jul 2002 04:59:54 -0700 Subject: [CM] newbie installation issues In-Reply-To: <20020715004407.M1363@ccrma.stanford.edu> References: <20020715004407.M1363@ccrma.stanford.edu> Message-ID: <200207151159.EAA06305@cmn14.stanford.edu> > I can't exit out of this without closing the terminal window (:ex doesn't do > it... I'm not sure what the segfault problem is, but I think in cmucl you use either "abort" or "pop" (no parens, no colon) to get out of the error handler, then "(quit)" to exit cmucl -- this part of lisp drives me crazy -- every implementation is different. :ex looks like an ACL-ism. From nando at ccrma.Stanford.EDU Mon Jul 15 09:46:58 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Mon, 15 Jul 2002 09:46:58 -0700 Subject: [CM] newbie installation issues In-Reply-To: <20020715004407.M1363@ccrma.stanford.edu> References: <20020715004407.M1363@ccrma.stanford.edu> Message-ID: <200207151646.JAA09199@cmn29.stanford.edu> > During that installation, I > installed the 'normal' core. Following that, I installed > 'cmucl-clm-oss-1.0-6.i386.rpm'. When I start 'cmucl-clm' from the command > line, I get the following series of errors: > [peter at 12-234-214-39 peter]$ cmucl-clm > ;;; Running /usr/bin/ld... > ;;; Done. > > > Error in function UNIX::SIGSEGV-HANDLER: Segmentation Violation at > #x40302004. > > Restarts: > 0: [ABORT] Skip remaining initializations. > > Debug (type H for help) > > (UNIX::SIGSEGV-HANDLER # > # > #.(SYSTEM:INT-SAP #x3FFFEA70)) > Source: Error finding source: > Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer > exists: > target:code/signal.lisp. > 0] That's the debugger prompt for cmucl, you can exit it by typing "q" The error itself is a sign that the compiled clmlib that is part of the binary rpm was compiled under a different set of libraries than the ones you have in your system. The easiest way out of this is to grab the source rpm for the cm-clm-cmn package and rebuild it in your system so that the libraries match. The newly built binary should install and run fine. -- Fernando From kcross at linex.com Mon Jul 15 11:29:18 2002 From: kcross at linex.com (NJCross) Date: Mon, 15 Jul 2002 11:29:18 -0700 Subject: [CM] snd 5.12 In-Reply-To: <200207151150.EAA06293@cmn14.stanford.edu> References: <200207141123.EAA04663@cmn14.stanford.edu> <200207141826.LAA17687@relay.linex.net> <200207151150.EAA06293@cmn14.stanford.edu> Message-ID: <200207151824.LAA21845@relay.linex.net> Thankyou,found the snd-5-12.src.rpm. -Duh! re: marks-menu etc.examp.scm did the trick. I'm getting a very spiffy 'snd' these days w/new icons,colours,new menus etc! One last thing,I keep getting : [11:16:37] scm_lreadr: end of file in string constant ; (load "/root/my_scm/edit-menu.scm") (while loading "/root/my_scm/edit-menu.scm") [11:16:37] Unbound variable: play-until-c-g ; (load "/root/my_scm/special-menu.scm") (while loading "/root/my_scm/special-menu.scm") How do I correct this? Many thanks. On Monday 15 July 2002 04:50'ish Bill Schottstaedt wrote: > > Dependency Problem: > > /home/bil/test/bin/guile is needed by snd-5-12 > > Argh! I don't remember changing anything -- will check. > > > Also,I'm uncertain of the relationship between the source 'snd-5.tar.gz', > > which has always compiled OK on YDL 2.2, and all 'snd-5-(11)(12) files. > > Is it possible to get a source 'snd-5-12.tar.gz'or should this be > > unnecessary > > snd-5.tar.gz at ccrma-ftp is a sort of daily snapshot (except that > it always works!). snd-5-12 is the same as snd-5.12. The source > that corresponds to snd-5-12.i386.rpm is in snd-5-12.src.rpm. > > > As regards the '.scm' extensions by Dave Phillips; how can I permanently > > compile this into 'snd' so that I don't have to start 'snd' with snd -l > > misc.scm ? > > There isn't (yet?) a compiler for the .scm files, but you can get them > loaded automatically by including the load statement(s) in your ~/.snd > file: > > (load "misc.scm") > > or whatever (it may need a full path here). > > > Also finding that 'marks-menu.scm' and 'marks.scm' still causes > > 'unbound variable: mark-loops' type errors. > > marks-menu uses mark-loops which is (currently) defined in examp.scm, > so you need to load that file also, or, perhaps better, we should > move mark-loops to marks.scm. From bil at ccrma.Stanford.EDU Tue Jul 16 04:19:04 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 16 Jul 2002 04:19:04 -0700 Subject: [CM] snd 5.12 In-Reply-To: <200207151824.LAA21845@relay.linex.net> References: <200207141123.EAA04663@cmn14.stanford.edu> <200207141826.LAA17687@relay.linex.net> <200207151150.EAA06293@cmn14.stanford.edu> <200207151824.LAA21845@relay.linex.net> Message-ID: <200207161119.EAA07958@cmn14.stanford.edu> > Dependency Problem: > /home/bil/test/bin/guile is needed by snd-5-12 Apparently RPM includes any scripts it finds in its search for dependencies, adding the script engine to its dependency list: > /usr/lib/rpm/find-requires > # Auto-generate requirements for executables (both ELF and a.out) and library > # sonames, script interpreters, and perl modules. > /usr/share/doc/rpm-4.0.4/CHANGES > scripts to /usr/lib/rpm (#44581). I can't find any way to turn this off (short of writing my own dependency list), so I have to make the scripts unexecutable before building the rpm files. I made a new set of snd-5-12 rpms. From bil at ccrma.Stanford.EDU Tue Jul 16 04:50:45 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 16 Jul 2002 04:50:45 -0700 Subject: [CM] snd 5.12 In-Reply-To: <200207151824.LAA21845@relay.linex.net> References: <200207141123.EAA04663@cmn14.stanford.edu> <200207141826.LAA17687@relay.linex.net> <200207151150.EAA06293@cmn14.stanford.edu> <200207151824.LAA21845@relay.linex.net> Message-ID: <200207161150.EAA08001@cmn14.stanford.edu> > [11:16:37] scm_lreadr: end of file in string constant A double-quote is missing from a comment: /user/b/bil/cl/ diff edit-menu.scm /usr/ccrma/lisp/src/snd/edit-menu.scm 56c56 < "(append-sound name) appends file 'name'" --- > (append-sound name) appends file 'name'" 154,155c154 < (|XtSetSensitive child (and (selected-sound) < (> (length (marks (selected-sound) (selected-channel))) 1))))))))))) --- > (|XtSetSensitive child (> (length (marks (selected-sound) (selected-channel))) 1)))))))))) Thanks for pointing this out! From nando at ccrma.Stanford.EDU Tue Jul 16 11:37:54 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Tue, 16 Jul 2002 11:37:54 -0700 Subject: [CM] snd 5.12 In-Reply-To: <200207161119.EAA07958@cmn14.stanford.edu> References: <200207141123.EAA04663@cmn14.stanford.edu> <200207141826.LAA17687@relay.linex.net> <200207151150.EAA06293@cmn14.stanford.edu> <200207151824.LAA21845@relay.linex.net> <200207161119.EAA07958@cmn14.stanford.edu> Message-ID: <200207161837.LAA11089@cmn29.stanford.edu> > > Dependency Problem: > > /home/bil/test/bin/guile is needed by snd-5-12 > > Apparently RPM includes any scripts it finds in its search for dependencies, > adding the script engine to its dependency list: > > > /usr/lib/rpm/find-requires > > # Auto-generate requirements for executables (both ELF and a.out) and > > # library sonames, script interpreters, and perl modules. > > > /usr/share/doc/rpm-4.0.4/CHANGES > > scripts to /usr/lib/rpm (#44581). > > I can't find any way to turn this off (short of writing my own > dependency list), so I have to make the scripts unexecutable before > building the rpm files. I made a new set of snd-5-12 rpms. There is another possible hack... > If your package contains perl scripts, then you may find a need to > get rid of a pesky Requires:. This can be done by writing a wrapper > script to filter /usr/lib/rpm/find-requires, something like > #!/bin/sh > /usr/lib/rpm/find-requires | sed -e 's/perl(XXX)//' > Mention the wrapper script in a SourceN: directive, > SourceN: wrapper.sh > and add to your specfile > %define __find_requires %SOURCEn > (note: n == N, substitute the correct number) > This is a bit clunky, but gets the job done for now. I'll probably > diddle up some spec file syntax in rpm to do the same filtering without > the wrapper.sh baggage pretty soon. That redefines the meaning of the standard find-requires script and would make it possible to "filter out" the unwanted dependencies. Obviously a hack, of course. I just found some docs on this at: http://landau.mines.edu/doc/local-apps/rpm-devel-4.0.4/apidocs/html/dependencies.html -- Fernando From jeremy.shaw at lindows.com Tue Jul 16 12:01:05 2002 From: jeremy.shaw at lindows.com (Jeremy Shaw) Date: Tue, 16 Jul 2002 12:01:05 -0700 Subject: [CM] Chaining effects together Message-ID: <20020716190105.GB5486@lain.sd.lindows.com> Hello, Does anyone have a good scheme for chaining filters (and effects) together? Here is some pseudo-code that won't work, but shows what I am trying to figure out how to do: (with-sound () (delay (:delay-time 1.0 :regen 0.9 :mix .5) (low-pass-filter (:fc 500 :lfo-amt 200 :lfo-freq 0.3) (saw 0 1 200 0.5) (saw 1 1 400 0.5) (saw 2 1 800 0.5) (saw 3 1 400 0.5) (saw 4 1 200 0.5)))) I started implementing a scheme, where "saw" writes its output to *reverb*, and then delay reads from *reverb* and writes to *output*. My current implementation has several problems: (1) saw+delay works, saw+filter works, but saw+filter+delay fails because filter is writing to *output* while delay is reading from *reverb*. (2) If I want just a plain saw wave, I have to use a filter that does nothing but copy *reverb* to *output*. (3) Makes real-time (aka with-dac) impractical. I think I can address (1) and (2), but I am wondering if there is a better way... Thanks! Jeremy Shaw. Here the above mentioned scheme. ;;; -*- syntax: common-lisp; base: 10; mode: lisp -*- (in-package :clm) ;; WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ;; WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ;; ;; This code exhibits a scheme for chaining effects together that DOES NOT WORK. ;; ;; WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ;; WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING #| ;; Play the saw wave, then play it with delay added (this works) (with-sound () (mix (with-sound (:reverb unity :revfile "plain.rev" :output "plain") (good-saw 0 1 200 0.3))) (mix (with-sound (:reverb e-delay :reverb-data (:delay-time 0.5) :output "delay") (good-saw 1.5 0.2 200 0.3)))) ;; This does not work, it tries to play a saw with filtering and delay. ;; The delay expects to read its input from *reverb* but the filter is writing its output to *output* ;; (with-sound (:reverb e-delay :reverb-data (:delay-time 0.5) :output "delay") (with-sound (:reverb ch-low-pass :reverb-data (:fc 400 :qc 0.3) :revfile "filter.rev" :output "filter") (good-saw 1 1 200 0.05))) |# ;; Generate a band limited sawtooth-wave ;; ;; Based on ideas presented in "Alias-Free Digital Synthesis of Classic Analog Waveforms" ;; by Tim Stiltin ;; http://www-ccrma.stanford.edu/~stilti/papers/Welcome.html ;; ;; NOTES: This still needs work. At the very least, I think I need to adjust the DC-offset (definstrument good-saw (start-time duration frequency amplitude &optional (a0 1.0) (b1 -0.98) (amp-env '(0 1 99 1 100 0))) (multiple-value-bind (beg end) (times->samples start-time duration) (let ((s (make-sum-of-cosines :cosines (floor (/ *srate* (* 2 frequency))) :frequency frequency)) (f-lowpass (make-one-pole :a0 a0 :b1 b1)) (amp (make-env :envelope amp-env :scaler amplitude :duration duration))) (run (loop for i from beg below end do (outa i (* (env amp) (one-pole f-lowpass (sum-of-cosines s))) *reverb*)))))) ;; A 2 pole low-pass filter ;; Sometimes called the Chamberlain filter a State Variable Filter ?? ;; ;; "Filters, Delays, Modulations and Demodulations: A tutorial" ;; by Dutilleux, Pierre ;; http://www.iua.upf.es/dafx98/papers/ ;; ;; Also see: http://www.cen.uiuc.edu/~ece320/handouts/chamberlin.ps ;; ;; NOTE: This filter does not noramilze the output and is generally way to loud (definstrument ch-low-pass (start-time duration &key (fc 500) (qc 1.0)) (multiple-value-bind (beg end) (times->samples start-time duration) (let* ((f (* 2 (sin (/ (* 3.1415926535 fc) *srate*)))) (b1 (* -1 (- 2 (* f qc) (* f f)))) (b2 (- 1 (* f qc))) (a0 (+ 1 b1 b2)) (f1 (make-two-pole a0 b1 b2)) (f2 (make-two-pole a0 b1 b2)) (f3 (make-two-pole a0 b1 b2)) (f4 (make-two-pole a0 b1 b2))) (run (progn (loop for i from beg below end do (outa i (two-pole f1 (two-pole f2 (two-pole f3 (two-pole f4 (ina i *reverb*)))))))))))) (definstrument e-delay (start-time duration &key (delay-time 0.5) (decay-time 10) (regen 0.8)) (multiple-value-bind (beg end) (times->samples start-time duration) (let ((d (make-delay (* delay-time 44100))) (b (make-env :envelope '(0 1 75 1 100 0) :scaler 1.0 :duration decay-time))) (run (progn (loop for i from beg below end do (outa i (+ (ina i *reverb*) (delay d (* regen (+ (tap d) (ina i *reverb*))))))) (loop for i from end to (+ end (* decay-time *srate*)) do (outa i (* (env b) (delay d (* regen (tap d))))))))))) ;; Read from *reverb* stream and send it to the *output* stream unmodified. ;; ;; Unity is probably not the best name, but I can't remember the name I really want. (definstrument unity (start-time duration) (multiple-value-bind (beg end) (times->samples start-time duration) (run (loop for i from beg below end do (outa i (ina i *reverb*)))))) From ffurlane at uel.br Wed Jul 17 21:11:46 2002 From: ffurlane at uel.br (=?iso-8859-1?Q?F=E1bio?= Furlanete) Date: Thu, 18 Jul 2002 01:11:46 -0300 Subject: [CM] snd - balance Message-ID: <20020718041146.GB4294@uel.br> Hi list, I've been using snd/clm for some time and i want to congratulate Bil and the crew for the nice job. Below is a scheme/goops version of clm's balance (it's faster than the record equivalent). Certainly there is better way to do that, but i think it can helps. Maybe it could be faster with some kind of define-clm-struct for scheme. Are you planning something like that? Obs.: in this last version the ws.scm file has a setf (line 64). Best, Fabio Furlanete. ;;; ;;; rmsgain.scm ;;; (use-modules (oop goops)) (define-class () (c1 #:accessor c1) (c2 #:accessor c2) (q #:init-value 0 #:accessor q) (r #:init-value 0 #:accessor r) (avg #:init-value 0.0 #:accessor avg) (avgc #:init-value 0 #:accessor avgc)) (define-method (initialize (obj ) initargs) (next-method) (let* ((hp (get-keyword #:hp initargs 10)) (b (- 2 (cos (* hp (/ (* 2 pi) *srate*)))))) (set! (c2 obj) (- b (sqrt (- (* b b) 1)))) (set! (c1 obj) (- 1 (c2 obj))))) (define-method (rms (obj ) sig) (set! (q obj) (+ (* (c1 obj) sig sig) (* (c2 obj) (q obj)))) (sqrt (q obj))) (define-method (gain (obj ) sig rms) (set! (r obj) (+ (* (c1 obj) sig sig) (* (c2 obj) (r obj)))) (let ((this-gain (if (zero? (r obj)) rms (/ rms (sqrt (r obj)))))) (set! (avg obj) (+ (avg obj) this-gain)) (set! (avgc obj) (+ (avgc obj) 1)) (* sig this-gain))) (define-method (balance (obj ) signal compare) (gain obj signal (rms obj compare))) (define-method (gain-avg (obj )) (/ (avg obj) (avgc obj))) (define-method (balance-avg (obj )) (avg obj)) From bil at ccrma.Stanford.EDU Thu Jul 18 04:34:26 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 18 Jul 2002 04:34:26 -0700 Subject: [CM] Chaining effects together In-Reply-To: <20020716190105.GB5486@lain.sd.lindows.com> References: <20020716190105.GB5486@lain.sd.lindows.com> Message-ID: <200207181134.EAA11348@cmn14.stanford.edu> It's a bit strange in CLM to write *reverb* as a temp file; to fix the problem you mention, you could pass the input and output temp file names to the various instruments (there's nothing special about *output* and *reverb* besides being built-in), then use open-output and open-input to get the ina/outa "stream" pointers. In CLM, the expectation is that each instrument is mixing its output, so > (mix (with-sound (:reverb unity :revfile "plain.rev" :output "plain") > (good-saw 0 1 200 0.3))) is more "naturally" done as: (good-saw 0 1 220 .3) or perhaps via with-mix or sound-let. > ;; Unity is probably not the best name, but I can't remember the name I really want. identity? or copy? From bil at ccrma.Stanford.EDU Thu Jul 18 04:47:54 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Thu, 18 Jul 2002 04:47:54 -0700 Subject: [CM] snd - balance In-Reply-To: <20020718041146.GB4294@uel.br> References: <20020718041146.GB4294@uel.br> Message-ID: <200207181147.EAA11370@cmn14.stanford.edu> Thanks very much -- I'll add that code to the contrib directory. > Obs.: in this last version the ws.scm file has a setf (line 64). oops -- right. I seem to have setf built into my fingers. > Maybe it could be faster with some kind of > define-clm-struct for scheme. Are you planning something like that? You mean via the optimizer ("run")? It hadn't occurred to me -- I'll look at scheme structs (or whatever they're called). It might be interesting to use a vct object as the struct -- vct-ref is optimized. From dlphilp at bright.net Thu Jul 18 10:23:48 2002 From: dlphilp at bright.net (Dave Phillips) Date: Thu, 18 Jul 2002 13:23:48 -0400 Subject: [CM] [OT] Linux soundapps pages updated Message-ID: <3D36F9A4.20F79602@bright.net> Greetings: The subject says it all... http://linux-sound.org http://www.linuxsound.at http://www.ymo.org/linuxsound/ (The last URL will not be updated until tomorrow)... Best regards, == Dave Phillips The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm The Linux Soundapps Site at http://linux-sound.org From bil at ccrma.Stanford.EDU Fri Jul 19 05:09:57 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 19 Jul 2002 05:09:57 -0700 Subject: [CM] relative panes (6 years on a TODO list) Message-ID: <200207191209.FAA13160@cmn14.stanford.edu> Great new feature in Snd: with-relative-panes; set to #t to get the kind of multichannel paned-window resizing behavior I wanted when I started working on Snd (the underlying code depends on undocumented features of Motif, but I've asked the openmotif people to make it legal). From ppagano at bellsouth.net Fri Jul 19 05:59:27 2002 From: ppagano at bellsouth.net (shreeswifty) Date: Fri, 19 Jul 2002 08:59:27 -0400 Subject: [CM] sndlib Message-ID: <000501c22f24$1d517140$7fa14ed8@gnv.bellsouth.net> Hi trying to build sndlib on OSX (so i can try to run a new version of Ceres- 0.31 http://www.notam02.no/arkiv/src/ i get an error ld unknown flag -Xlinker any help would be appreciated sorry if this is (ot) cheers~ Pat Pagano, Director South East Just Intonation Society http://www.screwmusicforever.com/SHREESWIFT/ From bil at ccrma.Stanford.EDU Sat Jul 20 05:01:34 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sat, 20 Jul 2002 05:01:34 -0700 Subject: [CM] vertical tab in scheme Message-ID: <200207201201.FAA14838@cmn14.stanford.edu> In the r5rs.html (the Scheme Spec) "Language Changes" section, I find this: > `|' is reserved for possible future extensions. I have been using `|' to distinguish xm|xg|gl-module scheme names from the corresponding C entity. To change it is just a macro in the C code, but a major (incompatible) find/replace in scheme. What to do? We could simply delete the "|", using the same name in both languages, but that means that there will be predefined functions with names such as "x", "y", "state", and so on (these are struct field accessors). The section on identifier names says they have to start with either an alphabetic (a..z) or one of !$%&*/:<=>?^_~ (odd that "+" isn't included.) I don't like any of these, so here's what I'm leaning toward: remove the "|" from all the non-struct-field names, and prefix the fields with ".". I have an enormous sed script that can be run over *.scm to make this change. This would still leave X_isms like "QLength", "None", "KeyPress", "Above" etc, but Guile is case-sensitive, so perhaps these are acceptable. Any better ideas? Once this is resolved, I think I'll bump the version to 6.0. From ptraub at ccrma.Stanford.EDU Sat Jul 20 19:21:01 2002 From: ptraub at ccrma.Stanford.EDU (Peter M. Traub) Date: 20 Jul 2002 19:21:01 -0700 Subject: [CM] newbie installation issues In-Reply-To: <200207151646.JAA09199@cmn29.stanford.edu> References: <20020715004407.M1363@ccrma.stanford.edu> <200207151646.JAA09199@cmn29.stanford.edu> Message-ID: <1027218062.2886.36.camel@12-234-214-39.client.attbi.com> On Mon, 2002-07-15 at 09:46, Fernando Pablo Lopez-Lezcano wrote: > The error itself is a sign that the compiled clmlib that is > part of the binary rpm was compiled under a different set of > libraries than the ones you have in your system. The easiest > way out of this is to grab the source rpm for the cm-clm-cmn > package and rebuild it in your system so that the libraries > match. The newly built binary should install and run fine. > > -- Fernando ok, i finally got ALSA installed and working on my home setup. I then rebuilt (not a true rebuild though, just the alien package grab) cm-clm-cmn-1.0-9.src.rpm and installed with a normal core. Now clm starts up without segfaulting or giving any errors as before. However, it gives errors if I try to compile and play an instrument. I just tested a simple sine generator, and it compiled and loaded ok at ccrma. At home, however, when I try to compile and play it with 'with-sound' I get the following errors.. 0] (with-sound () (sine 0 3 0.2 440)) Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: Unknown foreign symbol: "clm_lnxcmu_sine5" Error flushed ... Here is the output of my compile and load commands: * (compile-file "sinetest.ins") Python version 1.0, VM version Intel x86 on 20 JUL 02 07:03:01 pm. Compiling: /home/peter/clm/sinetest.ins 20 JUL 02 07:01:20 pm ; Writing "/home/peter/clm/clm_lnxcmu_SINE.c" ; Compiling "/home/peter/clm/clm_lnxcmu_SINE.c" ; Creating shared object file "/home/peter/clm/clm_lnxcmu_SINE.so" Converted |clm_lnxcmu_sine3|. Compiling DEFINSTRUMENT SINE: Converted |clm_lnxcmu_sine2|. Compiling DEFINSTRUMENT SINE: Converted SINE. Compiling DEFINSTRUMENT SINE: Converted SINE1. Compiling DEFINSTRUMENT SINE: Byte Compiling Top-Level Form: sinetest.x86f written. Compilation finished in 0:00:00. #p"/home/peter/clm/sinetest.x86f" NIL NIL * (load "sinetest.ins") ; Loading #p"/home/peter/clm/sinetest.ins". ; Writing "clm_lnxcmu_SINE.c" ; Compiling "clm_lnxcmu_SINE.c" ; Creating shared object file "clm_lnxcmu_SINE.so" T | is unbound. And finally, here is the instrument: (definstrument sine (start dur amplitude freq &optional (amp-env '(0 0 1 1 20 0))) (let* ((cr (make-oscil freq)) (beg (* start *srate*)) (end (+ beg (* dur *srate*))) (amp (make-env :envelope amp-env :duration dur :base .5))) (run (loop for i from beg below end do (outa i (+ (* (env amp) (oscil cr) amplitude))))))) Other instruments that compiled and worked fine at ccrma break at home, so I know its a clm/lisp issue and not bad clm code on my part. Could this be related to the library problem Fernando mentioned above? And if so, what can I do to do a total rebuild of clm? Thanks again! Peter ps. shouldn't the compile stage return T's instead of NIL's if the compilation is successful? From nando at ccrma.Stanford.EDU Sat Jul 20 19:56:48 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Sat, 20 Jul 2002 19:56:48 -0700 (PDT) Subject: [CM] newbie installation issues In-Reply-To: <1027218062.2886.36.camel@12-234-214-39.client.attbi.com> Message-ID: > ok, i finally got ALSA installed and working on my home setup. I then > rebuilt (not a true rebuild though, just the alien package grab) > cm-clm-cmn-1.0-9.src.rpm and installed with a normal core. Now clm > starts up without segfaulting or giving any errors as before. However, > it gives errors if I try to compile and play an instrument. I just > tested a simple sine generator, and it compiled and loaded ok at ccrma. > At home, however, when I try to compile and play it with 'with-sound' I > get the following errors.. > > > 0] (with-sound () (sine 0 3 0.2 440)) > > Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: > Unknown foreign symbol: "clm_lnxcmu_sine5" > Error flushed ... I did hit this same error in clm when compiling and loading an instrument the second time (the first time after starting lisp the instrument compiled and loaded fine, the second and subsequent it was fine). Bill looked at this and it seems it is a cmucl bug, he has a workaround that I have not yet tested but will probably be included in the next tarball. -- Fernando From nando at ccrma.Stanford.EDU Sat Jul 20 20:19:11 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Sat, 20 Jul 2002 20:19:11 -0700 (PDT) Subject: [CM] newbie installation issues In-Reply-To: Message-ID: > > ok, i finally got ALSA installed and working on my home setup. I then > > rebuilt (not a true rebuild though, just the alien package grab) > > cm-clm-cmn-1.0-9.src.rpm and installed with a normal core. Now clm > > starts up without segfaulting or giving any errors as before. However, > > it gives errors if I try to compile and play an instrument. I just > > tested a simple sine generator, and it compiled and loaded ok at ccrma. > > At home, however, when I try to compile and play it with 'with-sound' I > > get the following errors.. > > > > > > 0] (with-sound () (sine 0 3 0.2 440)) > > > > Error in function COMMON-LISP::FOREIGN-SYMBOL-ADDRESS-AUX: > > Unknown foreign symbol: "clm_lnxcmu_sine5" > > Error flushed ... > > compiled and loaded fine, the second and subsequent it was fine). Bill > looked at this and it seems it is a cmucl bug, he has a workaround that I > have not yet tested but will probably be included in the next tarball. I just checked, the fix is in the current tarball and it works in very limited tests here at home. Thanks Bill!! -- Fernando From bil at ccrma.Stanford.EDU Sun Jul 21 05:10:13 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Sun, 21 Jul 2002 05:10:13 -0700 Subject: [CM] sndlib In-Reply-To: <000501c22f24$1d517140$7fa14ed8@gnv.bellsouth.net> References: <000501c22f24$1d517140$7fa14ed8@gnv.bellsouth.net> Message-ID: <200207211210.FAA16427@cmn14.stanford.edu> > ld unknown flag -Xlinker I updated the sndlib configure script -- seems to work now (at least for sndlib.a). From bil at ccrma.Stanford.EDU Tue Jul 23 05:29:34 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Tue, 23 Jul 2002 05:29:34 -0700 Subject: [CM] vertical tab in scheme (make that "bar" not "tab") In-Reply-To: <000701c231f7$2d27c760$861f7e82@music.uiuc.edu> References: <200207201201.FAA14838@cmn14.stanford.edu> <000701c231f7$2d27c760$861f7e82@music.uiuc.edu> Message-ID: <200207231229.FAA19844@cmn14.stanford.edu> This change is in snd-6.tar.gz at ccrma-ftp and in the sourceforge CVS repository; there's a script "fix-bar" (I should have called it "foo-bar") that can change the names from the old to the new forms, (i.e. fix-bar *.scm or whatever). I also took the liberty of changing Dave Phillips' files in the contrib/dlp directory -- hopefully they survived intact. From sigrai at emb.hu Tue Jul 23 12:15:31 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Tue, 23 Jul 2002 21:15:31 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#70=20-=201?= =?ISO-8859-1?Q?=20msg?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB From sigrai at emb.hu Wed Jul 24 12:11:14 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Wed, 24 Jul 2002 21:11:14 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#71=20-=202?= =?ISO-8859-1?Q?=20msgs?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB From sigrai at emb.hu Thu Jul 25 12:12:17 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Thu, 25 Jul 2002 21:12:17 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#72=20-=202?= =?ISO-8859-1?Q?=20msgs?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB From bil at ccrma.Stanford.EDU Fri Jul 26 05:13:00 2002 From: bil at ccrma.Stanford.EDU (Bill Schottstaedt) Date: Fri, 26 Jul 2002 05:13:00 -0700 Subject: [CM] where is guile-1.5.6 In-Reply-To: <3D3FFA40.29B264CC@bright.net> References: <200207201201.FAA14838@cmn14.stanford.edu> <000701c231f7$2d27c760$861f7e82@music.uiuc.edu> <200207231229.FAA19844@cmn14.stanford.edu> <3D3FFA40.29B264CC@bright.net> Message-ID: <200207261213.FAA11639@cmn32.stanford.edu> > Btw, ftp://alpha.gnu.org/gnu/guile no longer exists (at least it doesn't > exist today). So now I have no idea where to direct users looking for > Guile 1.5.x. Several others have asked me about this -- I put a copy of guile-1.5.6.tar.gz at ccrma-ftp (pub/Lisp -- where the other CM stuff is); I actually don't remember when or where I got this tarball -- it was sitting on my test directory at home. I hope it's actually a copy of guile! From taube at uiuc.edu Fri Jul 26 08:08:08 2002 From: taube at uiuc.edu (Rick Taube) Date: Fri, 26 Jul 2002 10:08:08 -0500 Subject: [CM] where is guile-1.5.6 In-Reply-To: <200207261213.FAA11639@cmn32.stanford.edu> References: <200207201201.FAA14838@cmn14.stanford.edu> <000701c231f7$2d27c760$861f7e82@music.uiuc.edu> <200207231229.FAA19844@cmn14.stanford.edu> <3D3FFA40.29B264CC@bright.net> <200207261213.FAA11639@cmn32.stanford.edu> Message-ID: THe upcoming guile port of cm will only run in guile 1.5.4 or later. porting cm to guile has been a real pleasure! (i should be done with this work sometime next week...) -rick >Several others have asked me about this -- I put a copy of >guile-1.5.6.tar.gz at ccrma-ftp (pub/Lisp -- where the >other CM stuff is); I actually don't remember when or >where I got this tarball -- it was sitting on my test >directory at home. I hope it's actually a copy of >guile! >_______________________________________________ >Cmdist mailing list >Cmdist at ccrma.stanford.edu >http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist From sigrai at emb.hu Fri Jul 26 12:07:29 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Fri, 26 Jul 2002 21:07:29 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#73=20-=204?= =?ISO-8859-1?Q?=20msgs?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB From carl.boingie at rcn.com Fri Jul 26 14:46:04 2002 From: carl.boingie at rcn.com (Carl Edwards) Date: Fri, 26 Jul 2002 17:46:04 -0400 Subject: [CM] about subobjects Message-ID: <000701c234ee$0b9992f0$52e17ad1@laptop> I'm a little confused by example given in the CM documentation under the "subobjects" heading. Example 1-6:? (new seq named 'foo) # ? (setf (subobjects #!foo) (for i below 10 collect (new midi time i))) When I try it I get an error message: *** - EVAL: the function FOR is undefined I'm not so concerned by the FOR part of the example. But I haven't been able to find a form for filling a seq with midi events. I've also tried: (new seq named 'foo) (setf (subobjects #!foo) (new midi start 1 duration 3 keynum 53 amplitude .5)) To which I get: NO-APPLICABLE METHOD and many similar permutations. I'm sure it's something obvious but I'm just not getting it. Can someone set me straight? TIA. Signed, Confused Carl Edwards From taube at uiuc.edu Fri Jul 26 20:41:45 2002 From: taube at uiuc.edu (Rick Taube) Date: Fri, 26 Jul 2002 20:41:45 -0700 Subject: [CM] about subobjects References: <000701c234ee$0b9992f0$52e17ad1@laptop> Message-ID: <000701c2351f$88ad6b00$a6197e82@music.uiuc.edu> > ? (setf (subobjects #!foo) (for i below 10 collect (new midi time i))) you are missing the :"loop" in the iteration: (setf (subobjects #!foo) (loop for i below 10 collect (new midi time i))) > I'm not so concerned by the FOR part of the example. But I haven't been able > to find a form for filling a seq with midi events. I've also tried: > > (new seq named 'foo) use the subobjects initarg to specify a list of object to a new seq: (new seq name 'foo subobjects (loop for i below 10 collect (new midi time i))) From sigrai at emb.hu Sat Jul 27 12:16:39 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Sat, 27 Jul 2002 21:16:39 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#74=20-=204?= =?ISO-8859-1?Q?=20msgs?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB From sigrai at emb.hu Sun Jul 28 12:15:38 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Sun, 28 Jul 2002 21:15:38 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#75=20-=202?= =?ISO-8859-1?Q?=20msgs?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB From KilianSprotte at web.de Mon Jul 29 02:24:10 2002 From: KilianSprotte at web.de (Kilian Sprotte) Date: Mon, 29 Jul 2002 11:24:10 +0200 Subject: [CM] please remove me In-Reply-To: Message-ID: HI! I am sorry to write to the list, but all my attempts to remove myself from the list using the automated procedures have failed. Kilian From sigrai at emb.hu Mon Jul 29 12:04:02 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Mon, 29 Jul 2002 21:04:02 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#76=20-=203?= =?ISO-8859-1?Q?=20msgs?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB From ptraub at ccrma.Stanford.EDU Mon Jul 29 08:10:07 2002 From: ptraub at ccrma.Stanford.EDU (Peter M. Traub) Date: Tue, 30 Jul 2002 00:10:07 +0900 Subject: [CM] sndplay hangs after playing soundfile Message-ID: <20020730001007.M24294@ccrma.stanford.edu> Hello all, I'm not sure if this is a well-known issue, as I couldn't find any reference to it in the archives. When I play a sound with sndplay (the most recent version available from ccrma), it hangs after the sound ends, and I have to Ctrl-C to exit it. This is particularly frustrating when using clm in emacs. When I send a buffer to clm, clm does the processing, plays the sound, but then will hang on the next processing run unless I explicitly 'kill' the current hanging sndplay process (at which point, it immediately fires up another one and plays the queued sound). Does any one know what is causing it to not exit properly? Thanks in advance. Peter ---------------------------------------------------- Center for Computer Research in Music and Acoustics http://www-ccrma.stanford.edu From nando at ccrma.Stanford.EDU Tue Jul 30 11:31:03 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Tue, 30 Jul 2002 11:31:03 -0700 Subject: [CM] sndplay hangs after playing soundfile In-Reply-To: <20020730001007.M24294@ccrma.stanford.edu> References: <20020730001007.M24294@ccrma.stanford.edu> Message-ID: <200207301831.LAA06006@cmn29.stanford.edu> > I'm not sure if this is a well-known issue, as I couldn't find any reference > to it in the archives. When I play a sound with sndplay (the most recent > version available from ccrma), it hangs after the sound ends, and I have to > Ctrl-C to exit it. Is this from within lisp itself or as a standalone program? You should try "sndplay somesoundfile" from the command line to see if sndplay hangs by itself or if this is a problem with the interface from lisp to sndplay (BTW, which lisp?). > This is particularly frustrating when using clm in emacs. > When I send a buffer to clm, clm does the processing, plays the sound, but > then will hang on the next processing run unless I explicitly 'kill' the > current hanging sndplay process (at which point, it immediately fires up > another one and plays the queued sound). Does any one know what is causing it > to not exit properly? [this is probably NOT the problem, but it could be that by mistake you are creating a very long sound with silence at the end, that would account for a "hung" process, you could edit the resulting soundfile in snd or your favorite editor and check that there is no tail of silence in it] -- Fernando From sigrai at emb.hu Tue Jul 30 12:06:37 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Tue, 30 Jul 2002 21:06:37 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#77=20-=204?= =?ISO-8859-1?Q?=20msgs?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB From wsack at acsu.buffalo.edu Tue Jul 30 13:00:57 2002 From: wsack at acsu.buffalo.edu (Bill Sack) Date: Tue, 30 Jul 2002 16:00:57 -0400 Subject: [CM] cm -> MusE -> cm[n] Message-ID: <3D46F079.A9E46278@acsu.buffalo.edu> hello all, this is very likely OT to some extent, so apologies for that first. what i want to do is: work in cm, generate midifiles from processes, etc.; import into a midi sequncer/editor to hack a bit on them; export as midifile back into the cm/cmn world to do further analysis and printing as cmn score. i'm on linux/alsa, and the best bet for functional midi sequencer for alsa seemed to be MusE. however, MusE exports midifiles that cm doesn't like, i.e.: CM(43): (import-events "/home/bsack/midi/test2.midi" :meta-exclude t :note-type :keynum) Error: unexpected time signature length: 2 does anyone have a better idea? can i hack the midifile so the timesig looks more like something cm will digest? thanks, bill -- _________ Bill Sack wsack at acsu.buffalo.edu ---------------------- From ptraub at ccrma.Stanford.EDU Mon Jul 29 21:44:51 2002 From: ptraub at ccrma.Stanford.EDU (Peter M. Traub) Date: Tue, 30 Jul 2002 13:44:51 +0900 Subject: [CM] sndplay hangs after playing soundfile In-Reply-To: <200207301831.LAA06006@cmn29.stanford.edu> References: <20020730001007.M24294@ccrma.stanford.edu> <200207301831.LAA06006@cmn29.stanford.edu> Message-ID: <20020730134451.M91329@ccrma.stanford.edu> ---------- Original Message ----------- From: Fernando Pablo Lopez-Lezcano To: "Peter M. Traub" Sent: Tue, 30 Jul 2002 11:31:03 -0700 Subject: Re: [CM] sndplay hangs after playing soundfile > > I'm not sure if this is a well-known issue, as I couldn't find any reference > > to it in the archives. When I play a sound with sndplay (the most recent > > version available from ccrma), it hangs after the sound ends, and I have to > > Ctrl-C to exit it. > > Is this from within lisp itself or as a standalone program? > You should try "sndplay somesoundfile" from the command line > to see if sndplay hangs by itself or if this is a problem with > the interface from lisp to sndplay (BTW, which lisp?). yes, sorry. I forgot to mention that it hangs on the command-line too, so I don't think it is related to clm or my lisp version (cmucl). It just creates that annoying side effect if run from within clm. The soundfiles don't have any extra space at the end, and play out properly if just using 'play' or any other player/editor. sndplay hangs with every soundfile I have tried so far. Peter From nando at ccrma.Stanford.EDU Tue Jul 30 16:42:01 2002 From: nando at ccrma.Stanford.EDU (Fernando Pablo Lopez-Lezcano) Date: Tue, 30 Jul 2002 16:42:01 -0700 Subject: [CM] sndplay hangs after playing soundfile In-Reply-To: <20020730134451.M91329@ccrma.stanford.edu> References: <20020730001007.M24294@ccrma.stanford.edu> <200207301831.LAA06006@cmn29.stanford.edu> <20020730134451.M91329@ccrma.stanford.edu> Message-ID: <200207302342.QAA06401@cmn29.stanford.edu> > > > I'm not sure if this is a well-known issue, as I couldn't find any > > > reference to it in the archives. When I play a sound with sndplay (the > > > most recent version available from ccrma), it hangs after the sound ends, > > > and I have to Ctrl-C to exit it. > > > > Is this from within lisp itself or as a standalone program? > > You should try "sndplay somesoundfile" from the command line > > to see if sndplay hangs by itself or if this is a problem with > > the interface from lisp to sndplay (BTW, which lisp?). > > yes, sorry. I forgot to mention that it hangs on the command-line too, so I > don't think it is related to clm or my lisp version (cmucl). Hmm, have not seen this before. What sndplay version? If from an rpm, which version? Was this downloaded or compiled in your machine? If it is from the snd-utils package then look at the link in /usr/bin/sndplay and see where it is pointing to and do an ldd /usr/bin/sndplay-alsa (most probably that is the target of the link) - just to check what it is linking to. We could see where it is hanging (I hope) if you send me the result of strace'ing the program (don't send to the list, I think it could be pretty big). Do: strace sndplay someshortsoundfile &>/tmp/trace [if running under bash] Interrupt when you think it has hung. Send me the "trace" file. "strace" traces all system calls that the program makes... -- Fernando From sigrai at emb.hu Wed Jul 31 23:02:21 2002 From: sigrai at emb.hu (=?ISO-8859-1?B?TOFzemzzIFNpZ3JhaQ==?=) Date: Thu, 01 Aug 2002 08:02:21 +0200 Subject: [CM] =?ISO-8859-1?Q?V=E1:=20Cmdist=20digest,=20Vol=201=20#78=20-=205?= =?ISO-8859-1?Q?=20msgs?= Message-ID: I'm on holiday from 26 July till 12 August. Please send important business messages to gesztes at emb.hu or to fax# +36 1 48-33-101 in this period. Szabads?gon vagyok augusztus 12-ig, de el?rhet? a 06-209 472 384-es sz?mon. SIGRAI Laszlo EMB