phaflangers.lib

A library of phasor and flanger effects. Its official prefix is pf.

Functions Reference


(pf.)flanger_mono

Mono flanging effect.

Usage:

_ : flanger_mono(dmax,curdel,depth,fb,invert) : _;

Where:

  • dmax: maximum delay-line length (power of 2) - 10 ms typical
  • curdel: current dynamic delay (not to exceed dmax)
  • depth: effect strength between 0 and 1 (1 typical)
  • fb: feedback gain between 0 and 1 (0 typical)
  • invert: 0 for normal, 1 to invert sign of flanging sum

Reference


(pf.)flanger_stereo

Stereo flanging effect. flanger_stereo is a standard Faust function.

Usage:

_,_ : flanger_stereo(dmax,curdel1,curdel2,depth,fb,invert) : _,_;

Where:

  • dmax: maximum delay-line length (power of 2) - 10 ms typical
  • curdel: current dynamic delay (not to exceed dmax)
  • depth: effect strength between 0 and 1 (1 typical)
  • fb: feedback gain between 0 and 1 (0 typical)
  • invert: 0 for normal, 1 to invert sign of flanging sum

Reference


(pf.)phaser2_mono

Mono phasing effect.

Phaser

_ : phaser2_mono(Notches,phase,width,frqmin,fratio,frqmax,speed,depth,fb,invert) : _;

Where:

  • Notches: number of spectral notches (MACRO ARGUMENT - not a signal)
  • phase: phase of the oscillator (0-1)
  • width: approximate width of spectral notches in Hz
  • frqmin: approximate minimum frequency of first spectral notch in Hz
  • fratio: ratio of adjacent notch frequencies
  • frqmax: approximate maximum frequency of first spectral notch in Hz
  • speed: LFO frequency in Hz (rate of periodic notch sweep cycles)
  • depth: effect strength between 0 and 1 (1 typical) (aka "intensity") when depth=2, "vibrato mode" is obtained (pure allpass chain)
  • fb: feedback gain between -1 and 1 (0 typical)
  • invert: 0 for normal, 1 to invert sign of flanging sum

Reference:


(pf.)phaser2_stereo

Stereo phasing effect. phaser2_stereo is a standard Faust function.

Phaser

_ : phaser2_stereo(Notches,phase,width,frqmin,fratio,frqmax,speed,depth,fb,invert) : _;

Where:

  • Notches: number of spectral notches (MACRO ARGUMENT - not a signal)
  • phase: phase of the oscillator (0-1)
  • width: approximate width of spectral notches in Hz
  • frqmin: approximate minimum frequency of first spectral notch in Hz
  • fratio: ratio of adjacent notch frequencies
  • frqmax: approximate maximum frequency of first spectral notch in Hz
  • speed: LFO frequency in Hz (rate of periodic notch sweep cycles)
  • depth: effect strength between 0 and 1 (1 typical) (aka "intensity") when depth=2, "vibrato mode" is obtained (pure allpass chain)
  • fb: feedback gain between -1 and 1 (0 typical)
  • invert: 0 for normal, 1 to invert sign of flanging sum

Reference: