Gr.pwr_squelch_cc committed to CVS

Per the discussion in a previous thread the first of the new squelch
blocks has been committed:

gr.pwr_squelch_cc(threshold, alpha=1e-3, ramp=0, gate=False)

threshold is the power in db to set the threshold.

alpha is the power filter iir tap, defaulting to 1e-3

ramp is the number of samples over which to apply a raised cosine window
when turning on or off squelch, defaulting to 0 (no windowing)

gate determines whether the block outputs zeros when power is below the
threshold or nothing at all, defaulting to outputting zeros (False)

I have not written any qa code yet, so caller beware.

-Johnathan, AE6HO

Johnathan C. wrote:

when turning on or off squelch, defaulting to 0 (no windowing)

gate determines whether the block outputs zeros when power is below the
threshold or nothing at all, defaulting to outputting zeros (False)

The float input/output version of the power squelch block has been
committed. This is suitable as a silence eliminator for audio streams,
by enabling the ‘gate’ parameter.

-Johnathan, AE6HO

Johnathan C. wrote:

The float input/output version of the power squelch block has been
committed. This is suitable as a silence eliminator for audio streams,
by enabling the ‘gate’ parameter.

A test script that allows one to experiment with the squelch parameters
on an audio stream has been checked in under gnuradio-examples.

-Johnathan, AE6HO