teeth~
Description
The teeth~ object implements a comb filter, in which a slightly delayed version of a signal is added to itself, causing phase cancellations and a spectrum that looks like a comb.
Examples

Discussion
The teeth~ object is a variation of the comb~ object and implements a similar filter formula:
y[n] = a * x[n] + b * x[n - FFdelay] + c * y[n - FBdelay]
Arguments
feedforward-delay [float]
Sets the initial value for the feedforward delay, in milliseconds. If a signal is connected to this inlet, the coefficient supplied as an argument for that inlet is ignored. If no argument is present, the delay time defaults to 10 milliseconds.
feedback-delay [float]
Sets the initial value for the feedback delay, in milliseconds. If a signal is connected to this inlet, the coefficient supplied as an argument for that inlet is ignored. If no argument is present, the delay time defaults to 10 milliseconds.
gain [float]
Sets the initial value for the gain. If a signal is connected to this inlet, the coefficient supplied as an argument for that inlet is ignored. If no argument is present, the value defaults to 0.
feedforward-gain [float]
Sets the initial value for the feedforward gain. If a signal is connected to this inlet, the coefficient supplied as an argument for that inlet is ignored. If no argument is present, the value defaults to 0.
feedback-gain [float]
Sets the initial value for the feedback gain. If a signal is connected to this inlet, the coefficient supplied as an argument for that inlet is ignored. If no argument is present, the value defaults to 0.
Attributes
Common Box Attributes
Messages
int
Arguments
float
Arguments
clear
signal
In 2nd inlet: Feedforward - the delay, in milliseconds, before past samples of the input are added to the current input.
In 3rd inlet: Feedback - the delay, in milliseconds, before past samples of the output are added to the current input.
In 4th inlet: Gain coefficient - for scaling the amount of the input sample to be sent to the output.
In 5th inlet: Gain coefficient - for scaling the amount of feedforward to be sent to the output.
In right inlet: Gain coefficient - for scaling the amount of feedback to be sent to the output.
list
Arguments
feedback-delay [float]
gain [float]
feedforward-gain [float]
feedback-gain [float]
Output
signal
The filtered signal.
See Also
Name | Description |
---|---|
Sound Processing Techniques | Sound Processing Techniques |
allpass~ | |
comb~ | |
delay~ | |
reson~ | |
Audio Filtering | Audio Filtering |