audiowsincband

audiowsincband — Band pass and band reject windowed sinc filter

Synopsis

struct              GstAudioWSincBand;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBaseTransform
                           +----GstAudioFilter
                                 +----GstAudioFXBaseFIRFilter
                                       +----GstAudioWSincBand

Properties

  "lower-frequency"          gfloat                : Read / Write
  "upper-frequency"          gfloat                : Read / Write
  "mode"                     GstAudioWSincBandMode  : Read / Write
  "window"                   GstAudioWSincBandWindow  : Read / Write
  "length"                   gint                  : Read / Write

Description

Attenuates all frequencies outside (bandpass) or inside (bandreject) of a frequency band. The length parameter controls the rolloff, the window parameter controls rolloff and stopband attenuation. The Hamming window provides a faster rolloff but a bit worse stopband attenuation, the other way around for the Blackman window.

This element has the advantage over the Chebyshev bandpass and bandreject filter that it has a much better rolloff when using a larger kernel size and almost linear phase. The only disadvantage is the much slower execution time with larger kernels.

Example launch line

1
2
3
4
5
6