From: Steve <stevethefiddle@gm...>  20090625 17:29:10

I've been playing with these two functions and I'm having trouble with the "n" parameter. > (reson sound center bandwidth n) > The last parameter n specifies the type of normalization as in Csound: > A value of 1 specifies a peak amplitude response of 1.0; all > frequencies other than hz are attenuated. A value of 2 specifies the > overall RMS value of the amplitude response is 1.0; thus filtered > white noise would retain the same power. A value of zero specifies no > scaling. It is clearly doing some kind of scaling, but setting n=1 does not produce a peak amplitude of 1.0 Steve 
From: Roger Dannenberg <rbd@cs...>  20090625 17:40:19
Attachments:
Message as HTML

"peak amplitude response" means the filter gain is 1.0 at the center frequency. If you put in a sinusoid at that frequency, you should expect it to pass through without attenuation (or gain). It doesn't mean the filter output is normalized to a peak amplitude of 1, which would require knowledge of entire future of the input signal. Roger Steve wrote: > I've been playing with these two functions and I'm having trouble with > the "n" parameter. > > >> (reson sound center bandwidth n) >> > > >> The last parameter n specifies the type of normalization as in Csound: >> A value of 1 specifies a peak amplitude response of 1.0; all >> frequencies other than hz are attenuated. A value of 2 specifies the >> overall RMS value of the amplitude response is 1.0; thus filtered >> white noise would retain the same power. A value of zero specifies no >> scaling. >> > > It is clearly doing some kind of scaling, but setting n=1 does not > produce a peak amplitude of 1.0 > > Steve > > >  > _______________________________________________ > Audacitynyquist mailing list > Audacitynyquist@... > https://lists.sourceforge.net/lists/listinfo/audacitynyquist > > 
From: Leland <leland@au...>  20090625 18:37:22
Attachments:
Message as HTML

Good thing you reminded me...I'll take a look tonight. Leland On Thu, Jun 25, 2009 at 12:28 PM, Steve <stevethefiddle@...> wrote: > I've been playing with these two functions and I'm having trouble with > the "n" parameter. > > > (reson sound center bandwidth n) > > > The last parameter n specifies the type of normalization as in Csound: > > A value of 1 specifies a peak amplitude response of 1.0; all > > frequencies other than hz are attenuated. A value of 2 specifies the > > overall RMS value of the amplitude response is 1.0; thus filtered > > white noise would retain the same power. A value of zero specifies no > > scaling. > > It is clearly doing some kind of scaling, but setting n=1 does not > produce a peak amplitude of 1.0 > > Steve > > > >  > _______________________________________________ > Audacitynyquist mailing list > Audacitynyquist@... > https://lists.sourceforge.net/lists/listinfo/audacitynyquist > 
From: paul beach <sniffyraven@fa...>  20090625 21:42:46

First derivative of sine is supposed to be cosine. Slope gives a square wave output. ; method to find minor peaks of periodic wave? (slope (hzosc 11) )  paul beach sniffyraven@... 
From: <mszlazak@ao...>  20090625 22:59:31
Attachments:
Message as HTML

The slope or tangent to a curve at a point is the first derivative evaluated at that point. Original Message From: paul beach <sniffyraven@...> To: Discussion of developing Nyquist plugins for Audacity <audacitynyquist@...> Sent: Thu, Jun 25, 2009 2:42 pm Subject: [Audacitynyquist] slope = 1st derivative? First derivative of sine is supposed to be cosine. Slope gives a square wave output. ; method to find minor peaks of periodic wave? (slope (hzosc 11) )  paul beach sniffyraven@...  _______________________________________________ Audacitynyquist mailing list Audacitynyquist@... https://lists.sourceforge.net/lists/listinfo/audacitynyquist 
From: Roger Dannenberg <rbd@cs...>  20090625 23:37:46

What amplitude did you expect when you took the derivative of the sine? What was the amplitude of the square wave output? Roger paul beach wrote: > First derivative of sine is supposed to be cosine. Slope gives a square > wave output. > > ; method to find minor peaks of periodic wave? > (slope > (hzosc 11) > ) > 
From: paul beach <sniffyraven@fa...>  20090626 03:41:47

Got caught with my foot in my mouth. The derivative is times the radian frequency. Here's my cosine: (scale .001 (slope (hzosc 11) ) ) On Thu, 25 Jun 2009 19:36:02 0400, "Roger Dannenberg" <rbd@...> said: > What amplitude did you expect when you took the derivative of the sine? > What was the amplitude of the square wave output? Roger > > paul beach wrote: > > First derivative of sine is supposed to be cosine. Slope gives a square > > wave output. > > > > ; method to find minor peaks of periodic wave? > > (slope > > (hzosc 11) > > ) > > > >  > _______________________________________________ > Audacitynyquist mailing list > Audacitynyquist@... > https://lists.sourceforge.net/lists/listinfo/audacitynyquist  paul beach sniffyraven@... 