Document toolboxDocument toolbox

(8.D.2.3) DcBlock

Overview

DC Blocking Filter

Discussion

DC Blocking filter. The module supports multi-channel

Type Definition

typedef struct _ModuleDcBlock { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure FLOAT32 fc; // Cut on freq for highpass filter FLOAT32 coeff; // coefficents for dc blocking filter. FLOAT32* filterStates; // State variable, 1 per channel } ModuleDcBlockClass;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

fc

float

parameter

0

0.1

0:20

Hz

coeff

float

derived

1

-1

Unrestricted

 

filterStates

float*

state

1

[1 x 1]

Unrestricted

 

Pins

Input Pins

Name: in

Description: Input signal

Data type: float

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real and Complex

Output Pins

Name: out

Description: Filterd Output signal

Data type: float

MATLAB Usage

File Name: dc_block_module.m

M = dc_block_module(NAME) Implements a 1st order DC blocking filter. Arguments: NAME - name of the module

Â