GSTLALFIRBank

GSTLALFIRBank — Projects a single audio channel onto a bank of FIR filters to produce a multi-channel output.

Properties

gint block-stride Read / Write / Construct
GValueArray * fir-matrix Read / Write
gint64 latency Read / Write / Construct
gboolean time-domain Read / Write / Construct

Signals

void rate-changed Run First

Types and Values

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstBaseTransform
                ╰── GSTLALFIRBank

Description

Reviewed: 3a08854e595cf35a002483eae9a2b001b1100d21 2014-08-14 K. Cannon, J. Creighton, B. Sathyaprakash.

Functions

Types and Values

GSTLAL_FIRBANK_TYPE

#define             GSTLAL_FIRBANK_TYPE


struct GSTLALFIRBank

struct GSTLALFIRBank;

struct GSTLALFIRBankClass

struct GSTLALFIRBankClass {
	GstBaseTransformClass parent_class;

	void (*rate_changed)(GSTLALFIRBank *, gint, void *);
};

Members

GstBaseTransformClass parent_class;

the parent class

 

rate_changed ()

   

Property Details

The “block-stride” property

  “block-stride”             gint

When using FFT convolutions, this many samples will be produced from each block. Smaller values decrease latency but increase computational cost. If very small values are desired, consider using time-domain convolution mode instead.

Flags: Read / Write / Construct

Allowed values: >= 1

Default value: 1


The “fir-matrix” property

  “fir-matrix”               GValueArray *

Array of impulse response vectors. Number of vectors (rows) in matrix sets number of output channels. All filters must have the same length.

Flags: Read / Write


The “latency” property

  “latency”                  gint64

Filter latency in samples.

Flags: Read / Write / Construct

Default value: 0


The “time-domain” property

  “time-domain”              gboolean

Set to true to use time-domain (a.k.a. direct) convolution, set to false to use FFT-based convolution. For long filters FFT-based convolution is usually significantly faster than time-domain convolution but incurs a higher processing latency and requires more RAM.

Flags: Read / Write / Construct

Default value: FALSE

Signal Details

The “rate-changed” signal

void
user_function (GSTLALFIRBank *gstlalfirbank,
               gint           arg1,
               gpointer       user_data)

Parameters

gstlalfirbank

the object which received the signal.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run First