RNBO Objects & Operators comb~
Open Help

comb~

Apply a comb filter effect

Description

Use the comb~ object to apply the classic comb filtering effect to an audio input. The comb~ object mixes the current input sample with earlier input and/or output samples, according to the formula:

yn = axn + bxn-(DR/1000) + cyn-(DR/1000)

where R is the sampling rate and D is a delay time in milliseconds.

Arguments

delayTime [auto]

Optional

Sets the delay time in ms.

gain [auto]

Optional

Sets the filter gain.

ffGain [auto]

Optional

The feedforward coefficient.

fbGain [auto]

Optional

The feedback coefficient.

Inlets

x [auto]

The signal to be filtered.

delayTime [auto]

Sets the delay time in ms.

gain [auto]

Sets the filter gain.

ffGain [auto]

The feedforward coefficient.

fbGain [auto]

The feedback coefficient.

Outlets

out1 [signal]

The filtered signal.

Dynamic Attributes

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

delayTime [auto]

Sets the delay time in ms.

fbGain [auto]

The feedback coefficient.

ffGain [auto]

The feedforward coefficient.

gain [auto]

Sets the filter gain.

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
comb~
biquad~ Two-pole, two-zero filter
allpass~ Apply an allpass filter effect
cross~ Third-order crossover filter
lores~ Resonant lowpass filter
reson~ Resonant bandpass filter
svf~ State-variable filter with simultaneous outputs
swanramp~ Switch-and-ramp click compensation