[CM] Building snd from source

Meino Christian Cramer Meino.Cramer@gmx.de
Fri, 21 May 2004 13:25:35 +0200 (CEST)

From: Bill Schottstaedt <bil@ccrma.Stanford.EDU>
Subject: Re: [CM] Building snd from source
Date: Fri, 21 May 2004 04:02:10 -0700

Hi Bill,

 me again....the snd-newbie.... :)

 Great to read, that there is a way to synthesize sounds! I like it!


 On my linux-box doing a "locate v.scm" gave me:



 In the beginning of my $HOME/.snd there are two commands given:

    (set! %load-path (cons "/usr/snd/snd-7" %load-path))
    (set! snd-remember-paths #t)

 Then I start snd and in the listener's command line I gave

 (load "v.scm")

 And the result is:

 open-file: system-error: "No such file or directory": "v.scm" (2)
 In unknown file:
    ?: 0* [primitive-load "v.scm"]

 ls -l /usr/snd/snd-7/v.scm
 gives me:

 -rw-r--r--  1 root root 5716 May 17 21:27 /usr/snd/snd-7/v.scm

 and ls -ld /usr/snd/snd-7 
 gives me:

 drwxr-xr-x  3 root root 2672 May 21 08:24 /usr/snd/snd-7


 but v.scm could not be found by snd.

 What am I doing so damned wrong here ;)

 It seems I haven't understood seom basic things, have I?  ;)

 Keep snd'ing!

>  > Are there any plugins or such to create sounds out of the nothing or
>  > do I have an "original" in any case?
> The CLM generators are built into Snd, so you should be
> able to make any sounds you like from scratch.  Probably
> the easiest way is to use with-sound in ws.scm -- for
> example,
> (load "v.scm") ; the fm-violin
> (load "ws.scm") ; with-sound
> (with-sound () (fm-violin 0 1 440 .1))
> and a window opens in Snd named "test.snd" (the default name)
> with a one second fm-violin note.  Call it again and the
> new output replaces the old.  In a sense, this was the
> original goal of Snd, but then it took on a life of its own.
> There are also LADSPA plugins, but (I'm about to step on
> toes here...) I have never seen any point to them -- you
> can do everything in Scheme using "native" Snd stuff,
> and I bet there's little or no speed penalty if optimization
> is turned on.
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist