RNBO Objects & Operators dcblock~
Open Help

dcblock~

A one-pole high-pass filter to remove DC components

Description

dcblock~ uses the following difference equation to remove DC components:

y[n] = x[n] - x[n - 1] + 0.9997 * y[n - 1]

This equation keeps the signal's average amplitude at zero, removing any DC offsets that might shift the average away from zero.

Arguments

gain [auto]

Optional

Changes the gain level.

Inlets

x [auto]

The signal to be filtered.

gain [auto]

Changes the gain level.

Outlets

out1 [signal]

The filtered signal.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

gain [auto]

Changes the gain level.

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

x [auto]

The signal to be filtered.

See Also

Name Description
dcblock
filtercoeff~ Calculate filter coefficients for a biquad filter
allpass~ Apply an allpass filter effect