Johnathan Corgan wrote: > 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)
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 _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
