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-boun...@ccrma.stanford.edu <cmdist-boun...@ccrma.stanford.edu> on 
behalf of cmdist-requ...@ccrma.stanford.edu <cmdist-requ...@ccrma.stanford.edu>
Sent: Saturday, June 8, 2019 7:00 PM
To: cmdist@ccrma.Stanford.EDU
Subject: Cmdist Digest, Vol 133, Issue 2

Send Cmdist mailing list submissions to
        cmdist@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-requ...@ccrma.stanford.edu

You can reach the person managing the list at
        cmdist-ow...@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 (b...@ccrma.stanford.edu)
   2. Re: circular-scanned.ins (Juan I Reyes)


----------------------------------------------------------------------

Message: 1
Date: Fri, 07 Jun 2019 12:10:33 -0700
From: b...@ccrma.stanford.edu
To: James Hearon <j_hea...@hotmail.com>
Cc: "cmdist@ccrma.Stanford.EDU" <cmdist@ccrma.Stanford.EDU>
Subject: Re: [CM] circular-scanned.ins
Message-ID: <99004149c9b10e9a1fc102a560eb3...@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 <jua...@ccrma.stanford.edu>
To: cmdist@ccrma.Stanford.EDU
Subject: Re: [CM] circular-scanned.ins
Message-ID: <9f1df445ef306ff20b445020e98a5...@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@ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/cmdist


End of Cmdist Digest, Vol 133, Issue 2
**************************************

_______________________________________________
Cmdist mailing list
Cmdist@ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to