From j_hearon at hotmail.com Fri Jun 7 11:09:13 2019 From: j_hearon at hotmail.com (James Hearon) Date: Fri, 7 Jun 2019 18:09:13 +0000 Subject: [CM] circular-scanned.ins In-Reply-To: References: Message-ID: Hi, re: clm-5, emacs, slime, fedora 30 etc. For some reason I cannot get the circ scanned ins to compile using slime-compile-and-load-file command in emacs for clm-5. It's probably me, but I get an unmatched bracket error which I can't seem to debug. I tried adding this to my .emacs file to try to help, for parenthesis problems, but the .ins is a bit tricky. (show-paren-mode t) (setq show-paren-style 'expression) Wondering if someone better than me might be able to spot the problem. Other clm ins compiling fine using slime compile and load command in emacs. Thank You, Jim Note: The original attachment was automatically removed by Stanford's email system because it was identified as a file type that is commonly associated with malicious software. In order to transmit this type of file, please use an alternate mechanism such as Stanford's Box service (https://itservices.stanford.edu/service/box). -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Fri Jun 7 12:10:33 2019 From: bil at ccrma.Stanford.EDU (bil at ccrma.Stanford.EDU) Date: Fri, 07 Jun 2019 12:10:33 -0700 Subject: [CM] circular-scanned.ins In-Reply-To: References: Message-ID: <99004149c9b10e9a1fc102a560eb3512@ccrma.stanford.edu> What lisp are you running? In sbcl (in a terminal) it seems to be ok: /home/bil/clm/ /home/bil/test/sbcl-1.5.3/src/runtime/sbcl --core /home/bil/test/sbcl-1.5.3/output/sbcl.core [...] * (load "all.lisp") ; using existing configuration file mus-config.h ;loading /home/bil/clm/clm-package.fasl ;loading /home/bil/clm/initmus.fasl ;loading /home/bil/clm/sndlib2clm.fasl ;loading /home/bil/clm/defaults.fasl ;loading /home/bil/clm/ffi.fasl ;loading /home/bil/clm/mus.fasl ;loading /home/bil/clm/run.fasl ;loading /home/bil/clm/sound.fasl ;loading /home/bil/clm/defins.fasl ;loading /home/bil/clm/env.fasl ;loading /home/bil/clm/export.fasl ;loading /home/bil/clm/clm1.fasl T * (compile-file "scanned.ins") ; Writing "/home/bil/clm/clm_SCANNED.c" ; Compiling "/home/bil/clm/clm_SCANNED.c" ; Creating shared object file "/home/bil/clm/clm_SCANNED.so" ; file: /home/bil/clm/scanned.ins ; [...] ; compilation unit finished ; caught 6 STYLE-WARNING conditions #P"/home/bil/clm/scanned.fasl" T NIL * (load "scanned") T * (with-sound () (scanned 0 1 435 .01)) "test.snd" From juanig at ccrma.Stanford.EDU Fri Jun 7 13:33:27 2019 From: juanig at ccrma.Stanford.EDU (Juan I Reyes) Date: Fri, 07 Jun 2019 13:33:27 -0700 Subject: [CM] circular-scanned.ins Message-ID: <9f1df445ef306ff20b445020e98a5421@ccrma.stanford.edu> Hi James, Same here. Just compiled and loaded 'circular-scanned.ins' on sbcl-1.4.6-2 on FC-29 Linux. Also using slime. As far as indentation and parens, I just use lisp-mode and font-lock-mode to toggle its use. My CLM-5 tarball is from April 2019. -- Juan CL-USER> (compile-file "/zap/circular-scanned.ins") ; compiling file "/zap/circular-scanned.ins" (written 07 JUN 2019 01:01:40 PM): ; compiling (DEFINSTRUMENT CIRCULAR-SCANNED ...) ; Writing "/zap/clm_CIRCULAR_SCANNED.c" ; Compiling "/zap/clm_CIRCULAR_SCANNED.c" ; Creating shared object file "/zap/clm_CIRCULAR_SCANNED.so" ; /zap/circular-scanned.fasl written ; compilation finished in 0:00:01.112 #P"/zap/circular-scanned.fasl" CL-USER> (load "/zap/circular-scanned.ins") ; Writing "/zap/clm_CIRCULAR_SCANNED.c" T CL-USER> (with-sound (:channels 2) (circular-scanned 0 4 400 .5)) "test.snd" > What lisp are you running? In sbcl (in a terminal) it seems to be > ok: > From j_hearon at hotmail.com Mon Jun 10 10:49:05 2019 From: j_hearon at hotmail.com (James Hearon) Date: Mon, 10 Jun 2019 17:49:05 +0000 Subject: [CM] Cmdist Digest, Vol 133, Issue 2 In-Reply-To: References: Message-ID: Hi, re: Circular-Scanned bracket error. It was my fault. Sorry. It's been a while since I've been in CLM-5, since mostly using scheme w/emacs. I forgot from emacs the M - x, slime-compile-and-load-file command is only useful for .lisp file, not .ins file. Although I can Ctrl -x Ctrl - f, load the .ins, it gives an unmatched bracket error (below) at the beginning of definstrument if trying to run M - x, slime-compile-and-load-file. I needed to rename the .ins to .lisp, then it goes thru fine. ...BTW, I have a small side project to try to convert that very cool .ins to scheme using the dotimes, and setf! macros from Bill's scheme, but still getting hung up in the run loop which is quite tricky. Be good sometime if it could make it over to a .scm file. Be glad to share what I have so far. Thank You folks, Jim --------------------- Loading /opt/quicklisp/slime-helper.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Loading /opt/quicklisp/slime-helper.el (source)...done Polling "/tmp/slime.3011" .. 1 (Abort with ?M-x slime-abort-connection?.) Polling "/tmp/slime.3011" .. 2 (Abort with ?M-x slime-abort-connection?.) Polling "/tmp/slime.3011" .. 3 (Abort with ?M-x slime-abort-connection?.) Polling "/tmp/slime.3011" .. 4 (Abort with ?M-x slime-abort-connection?.) Connecting to Swank on port 45805.. Connected. Let the hacking commence! Mark set user-error: Unmatched bracket or quote mwheel-scroll: Beginning of buffer [3 times] Mark set ----------------------- (definstrument circular-scanned (start dur freq amp ... ________________________________ From: cmdist-bounces at ccrma.Stanford.EDU on behalf of cmdist-request at ccrma.Stanford.EDU Sent: Saturday, June 8, 2019 7:00 PM To: cmdist at ccrma.Stanford.EDU Subject: Cmdist Digest, Vol 133, Issue 2 Send Cmdist mailing list submissions to cmdist at ccrma.stanford.edu To subscribe or unsubscribe via the World Wide Web, visit https://cm-mail.stanford.edu/mailman/listinfo/cmdist or, via email, send a message with subject or body 'help' to cmdist-request at ccrma.stanford.edu You can reach the person managing the list at cmdist-owner at ccrma.stanford.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Cmdist digest..." Today's Topics: 1. Re: circular-scanned.ins (bil at ccrma.Stanford.EDU) 2. Re: circular-scanned.ins (Juan I Reyes) ---------------------------------------------------------------------- Message: 1 Date: Fri, 07 Jun 2019 12:10:33 -0700 From: bil at ccrma.Stanford.EDU To: James Hearon Cc: "cmdist at ccrma.Stanford.EDU" Subject: Re: [CM] circular-scanned.ins Message-ID: <99004149c9b10e9a1fc102a560eb3512 at ccrma.stanford.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed What lisp are you running? In sbcl (in a terminal) it seems to be ok: /home/bil/clm/ /home/bil/test/sbcl-1.5.3/src/runtime/sbcl --core /home/bil/test/sbcl-1.5.3/output/sbcl.core [...] * (load "all.lisp") ; using existing configuration file mus-config.h ;loading /home/bil/clm/clm-package.fasl ;loading /home/bil/clm/initmus.fasl ;loading /home/bil/clm/sndlib2clm.fasl ;loading /home/bil/clm/defaults.fasl ;loading /home/bil/clm/ffi.fasl ;loading /home/bil/clm/mus.fasl ;loading /home/bil/clm/run.fasl ;loading /home/bil/clm/sound.fasl ;loading /home/bil/clm/defins.fasl ;loading /home/bil/clm/env.fasl ;loading /home/bil/clm/export.fasl ;loading /home/bil/clm/clm1.fasl T * (compile-file "scanned.ins") ; Writing "/home/bil/clm/clm_SCANNED.c" ; Compiling "/home/bil/clm/clm_SCANNED.c" ; Creating shared object file "/home/bil/clm/clm_SCANNED.so" ; file: /home/bil/clm/scanned.ins ; [...] ; compilation unit finished ; caught 6 STYLE-WARNING conditions #P"/home/bil/clm/scanned.fasl" T NIL * (load "scanned") T * (with-sound () (scanned 0 1 435 .01)) "test.snd" ------------------------------ Message: 2 Date: Fri, 07 Jun 2019 13:33:27 -0700 From: Juan I Reyes To: cmdist at ccrma.Stanford.EDU Subject: Re: [CM] circular-scanned.ins Message-ID: <9f1df445ef306ff20b445020e98a5421 at ccrma.stanford.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi James, Same here. Just compiled and loaded 'circular-scanned.ins' on sbcl-1.4.6-2 on FC-29 Linux. Also using slime. As far as indentation and parens, I just use lisp-mode and font-lock-mode to toggle its use. My CLM-5 tarball is from April 2019. -- Juan CL-USER> (compile-file "/zap/circular-scanned.ins") ; compiling file "/zap/circular-scanned.ins" (written 07 JUN 2019 01:01:40 PM): ; compiling (DEFINSTRUMENT CIRCULAR-SCANNED ...) ; Writing "/zap/clm_CIRCULAR_SCANNED.c" ; Compiling "/zap/clm_CIRCULAR_SCANNED.c" ; Creating shared object file "/zap/clm_CIRCULAR_SCANNED.so" ; /zap/circular-scanned.fasl written ; compilation finished in 0:00:01.112 #P"/zap/circular-scanned.fasl" CL-USER> (load "/zap/circular-scanned.ins") ; Writing "/zap/clm_CIRCULAR_SCANNED.c" T CL-USER> (with-sound (:channels 2) (circular-scanned 0 4 400 .5)) "test.snd" > What lisp are you running? In sbcl (in a terminal) it seems to be > ok: > ------------------------------ _______________________________________________ Cmdist mailing list Cmdist at ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist End of Cmdist Digest, Vol 133, Issue 2 ************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From bil at ccrma.Stanford.EDU Tue Jun 25 09:53:39 2019 From: bil at ccrma.Stanford.EDU (bil at ccrma.Stanford.EDU) Date: Tue, 25 Jun 2019 09:53:39 -0700 Subject: [CM] Snd 19.5 Message-ID: <38fc0208605b8a2a2cddcd9738bcb9b3@ccrma.stanford.edu> Snd 19.5. setter function for vector element type or hash-table key/value can be a closure. checked: sbcl 1.5.3 Thanks!: Kjetil Matheussen