[CM] [Snd] Searching conditionally for starts and ends of phrases

Ville Koskinen j.v.o.koskinen@gmail.com
Thu, 8 Mar 2007 07:48:09 +0200


Thanks for the help, Bill!

I'll look into dsp.scm and try to refine my code. Is there a way to
make functions to output info the listener?

Snd seems really powerful. In fact it was the reason I installed Linux
on my system. So thanks for a great piece of software too.

Regards,
Ville Koskinen



2007/3/7, Bill Schottstaedt <bil@ccrma.stanford.edu>:
> Since phrase-lookup returns a function, you can use it
> either via (scan-channel (phrase-lookup)) or in the C-s
> case by typing (phrase-lookup) at the "find:" prompt (the
> first time -- it will be re-evaluated on subsequent C-s's).
>
> moving-average divides by its length, so sum-of-squares in
> your code is actually sum-of-squares/bufferlen.  See dsp.scm
> for one way to implement moving-sum.
>