RNBO Objects & Operators lores~
Open Help

lores~

Resonant lowpass filter

Description

lores~ implements an inexpensive lowpass with an adjustment that lets you add a specified resonance. The middle inlet sets a kind of cutoff frequency, but the sharpness of the filter depends on the resonance passed in through the right inlet (0 is a little bit sharp and 1 as sharp as possible).

The equation of the filter is

yn = scale * xn - c1 * yn-1 + c2 * yn-2

where scale, c1, and c2 are parameters calculated from the cutoff frequency and resonance factor.

Arguments

cutoff [auto]

Optional

Sets the initial cutoff frequency.

resonance [auto]

Optional

Sets the filter resonance. A resonance of 0 is a little bit sharp and 1 is as sharp as possible. Values very close to 1 may produce clipping with certain types of input signals.

Inlets

input [signal]

The signal to be filtered.

cutoff [auto]

Sets the initial cutoff frequency.

resonance [auto]

Sets the filter resonance. A resonance of 0 is a little bit sharp and 1 is as sharp as possible. Values very close to 1 may produce clipping with certain types of input signals.

Outlets

out [signal]

The filtered signal.

Dynamic Attributes

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

clear [bang]

Clears the filter's memory. Since lores~ is a recursive filter, this message may be necessary to recover from blowups

cutoff [auto]

Sets the initial cutoff frequency.

input [signal]

The signal to be filtered.

resonance [auto]

Sets the filter resonance. A resonance of 0 is a little bit sharp and 1 is as sharp as possible. Values very close to 1 may produce clipping with certain types of input signals.

See Also

Name Description
lores~
biquad~ Two-pole, two-zero filter
comb~ Apply a comb filter effect
cross~ Third-order crossover filter
reson~ Resonant bandpass filter
svf~ State-variable filter with simultaneous outputs
onepole~ Single-pole lowpass filter