gstbtfiltersvf

gstbtfiltersvf — state variable filter

Synopsis

struct              GstBtFilterSVF;
enum                GstBtFilterSVFType;
GstBtFilterSVF *    gstbt_filter_svf_new                (void);

Object Hierarchy

  GObject
   +----GstBtFilterSVF

Properties

  "cut-off"                  gdouble               : Read / Write
  "resonance"                gdouble               : Read / Write
  "type"                     GstBtFilterSVFType    : Read / Write

Description

An audio filter that can work in 4 modes ("type").

Details

struct GstBtFilterSVF

struct GstBtFilterSVF {
  /* parameters */
  GstBtFilterSVFType type;
  gdouble cutoff, resonance;
};

Class instance data.

GstBtFilterSVFType type;

filter type

gdouble cutoff;

filter cutoff frequency

gdouble resonance;

filter resonance

enum GstBtFilterSVFType

typedef enum {
  GSTBT_FILTER_SVF_NONE,
  GSTBT_FILTER_SVF_LOWPASS,
  GSTBT_FILTER_SVF_HIPASS,
  GSTBT_FILTER_SVF_BANDPASS,
  GSTBT_FILTER_SVF_BANDSTOP
} GstBtFilterSVFType;

Filter types.

GSTBT_FILTER_SVF_NONE

no filtering

GSTBT_FILTER_SVF_LOWPASS

low pass

GSTBT_FILTER_SVF_HIPASS

high pass

GSTBT_FILTER_SVF_BANDPASS

band pass

GSTBT_FILTER_SVF_BANDSTOP

band stop (notch)

gstbt_filter_svf_new ()

GstBtFilterSVF *    gstbt_filter_svf_new                (void);

Create a new instance

Returns :

the new instance or NULL in case of an error

Property Details

The "cut-off" property

  "cut-off"                  gdouble               : Read / Write

Audio filter cut-off frequency.

Allowed values: [0,1]

Default value: 0.8


The "resonance" property

  "resonance"                gdouble               : Read / Write

Audio filter resonance.

Allowed values: [0.7,25]

Default value: 0.8


The "type" property

  "type"                     GstBtFilterSVFType    : Read / Write

Type of audio filter.

Default value: LowPass