[CM] Two issues

Bill Schottstaedt bil@ccrma.Stanford.EDU
Thu, 27 Feb 2003 04:15:27 -0800


> With regard to filters in CLM.  What is the valid scale for the
> 'frequency-response-envelope' passed to 'envelope->coeffs?' From the
> example in the manual, it appears to be 0-1 on both axes.  I assume that
> one axis is frequency and the other is amplitude, but how does 0-1 map to
> frequency?  Is 1 equal to the nyquist frequency?

It looks like the code uses whatever max x value it finds; not sure
offhand what it corresponds to however -- I think I'll make all these
spectrum->coeffs functions follow mus_fir_filter_coeffs in
clm.c.

> When using the with-sound control parameter :scaled-to, I've discovered
> that on occasion it will squelch output.

What is the unscaled max amp?  (set :statistics t in with-sound to find out).