[CM] Snd and CLM

Richard Liston liston@cc.gatech.edu
Sat, 13 Mar 2004 16:45:44 -0500


Great - this helps, thanks! I think I'm over some of the major
initial hurdles. Now I just need to become more familiar with
Snd and the packages that are provided with it, and how different
pieces fit together. There are a number of questions that begin
to arise for me at this point that I'd like to answer. One example:

If I create two different sounds, A and B, each of which consists
of the same two sine waves mixed together, but the higher wave of
sound B is phase shifted slightly from that of A, will the difference
be perceptible?

Pretty basic stuff, but Snd seems like a good package for this kind
of investigation. If anyone has a pointer to some good reading in
this area I'd like to hear about it.

Richard



On 03/12/04, Gregory D. Weber said:
> Richard Liston writes:
>  > On 03/12/04, Bill Schottstaedt said:
>  > > > Unbound variable: defun
>  > > 
>  > > "defun" is from common-lisp, but the lisp-like language in Snd is
>  > > Scheme (Guile), so you need to use "define".
>  > 
>  > Ah, that clears up a lot. I suppose there is plenty more where
>  > that came from. Does "setf" become "set!"? 
> 
> Yes, it does!  (At least for assignment to variables; setf can do more
> than that.  Scheme also has "vector-set!",  "set-car!",  and "set-cdr!".)
> 
> >I know some lisp but I'm
>  > not very deep into it. Do you know of a URL offhand with the mappings?
> 
> By mappings, you mean if I do X in Common Lisp, how do I do the same
> in Scheme?  I don't know of a side-by-side comparison of Scheme with
> Common Lisp.  But here are a couple of good sources on Scheme:
> 
> http://www.swiss.ai.mit.edu/projects/scheme/index.html
>   The Scheme home page at MIT has links to "The Revised^5 Report
> on the Algorithmic Language Scheme."  This is the official language
> specification (or one of them: there's also an ANSI standard).  
> It's very concise: 50 pages.
> 
> http://www.scheme.com/
>   Cadence Research maintains an online HTML version of Kent Dybvig's
> excellent book "The Scheme Programming Language."
> 
> -- 
> Gregory D. Weber
> Associate Professor of Computer Science, Indiana University East
> 2325 Chester Boulevard, Richmond, Indiana 47374-1289, U.S.A.
> Telephone: (765) 973-8420
> WWW:       http://mypage.iu.edu/~gdweber/