[CM] normalize-sound is an unbound variable

Kjetil S. Matheussen k.s.matheussen@notam02.no
Thu, 5 Jul 2007 16:28:46 +0200 (CEST)


On Fri, 6 Jul 2007, e deleflie wrote:

> I'm trying to use normalize-sound as documented here:
>
> http://ccrma.stanford.edu/software/snd/snd/sndscm.html#normalizesound
>
> but I'm getting an "unbound variable" error. I've included a load
> directive at the start of my script (as advised at the top of the
> above page):
>
> (load "/home/stuff/snd-9/dsp.scm")
>
> ... which apparently finds the file... but still no normalize-sound.
> Actually I cant find any definition for "normalize-sound"  inside
> dsp.scm ...
>

Me neither. :-)



> have I got the wrong dsp.scm? ... or something else ....
>

If you need to specify position and duration, you can use 
"scale-selection-to". If not, "scale-to" should be enough.