formant()

formant(input, vowel, amount)

Category

Filter

Description

Formant filter. It shapes an input signal toward vowel-like colors; the vowel argument is usually 0.0 to 1.0 and amount controls how strong the formant is.

Arguments

Typical Values

Vowel is typically 0.0 to 1.0. Amount is usually 0.0 to 1.0; higher values exaggerate the vocal color.

Example

formant(sin(X)+0.18*saw(0.5*X), 0.22+0.28*param(2), 0.18+0.32*param(4))

Notes

For pitched oscillator functions, X already contains the current MIDI note pitch and transpose information. Prefer saw(X), sin(X), or pwm(X, 0.4) unless you intentionally want an octave or ratio shift such as 0.5*X or 2*X.