Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

Overview

DC Blocking Filter

Discussion

DC Blocking filter. The module supports multi-channel

Type Definition

Code Block
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

...

Complex support: Real and Complex

Output Pins

Name: out

Description: Filterd Output signal

Data type: float

MATLAB Usage

File Name: dc_block_module.m

...