GstBtFilterSVF

GstBtFilterSVF — state variable filter

Functions

Properties

gdouble cut-off Read / Write
GstBtFilterSVFType filter Read / Write
gdouble resonance Read / Write

Types and Values

Object Hierarchy

    GEnum
    ╰── GstBtFilterSVFType
    GObject
    ╰── GstBtFilterSVF

Includes

#include <libgstbuzztrax/filter-svf.h>

Description

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

Functions

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

Types and Values

enum GstBtFilterSVFType

Filter types.

Members

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)

 

struct GstBtFilterSVF

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

Class instance data.

Members

GstBtFilterSVFType type;

filter type

 

gdouble cutoff;

filter cutoff frequency

 

gdouble resonance;

filter resonance

 

Property Details

The “cut-off” property

  “cut-off”                  gdouble

Audio filter cut-off frequency.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.8


The “filter” property

  “filter”                   GstBtFilterSVFType

Type of audio filter.

Flags: Read / Write

Default value: LowPass


The “resonance” property

  “resonance”                gdouble

Audio filter resonance.

Flags: Read / Write

Allowed values: [0.7,25]

Default value: 0.8