You'll need the LFO module to hook up to the 'LFO' input control. Use the LFO modules' rate and depth controls to control the speed and amount of delay used.
The 'depth' knob controls the prominence or depth of the flanging effect.
The 'mode' knob controls whether the effect is in feedforward ('0') or feedback ('1') mode. "Feedforward" mode produces a subtle analog flanging, turning a clean guitar into a vibey chorus and adding an 80's rock "jet-plane" sound to a driven guitar. "Feedback" mode produces a more pronounced, synthy flanging that stand outs much more than "feedforward" mode. At high values (>95%) you'll get significant oscillation. For a really wild, oscillating, dripping sound in "feedback" mode, try turning the 'depth' knob to about 80% and turning the LFO rate down to about 100ms.
LATEST SOURCE FILE ON MY GITHUB
Terrible recording of an early version (I'll get around to updating this soon). First example is an active bass through a Chunk Systems Brown Dog fuzz pedal, first without, then with the flanger. Second example is a guitar through the stock OpenStomp distortion, first without, then with the flanger. (I apologise for the guitar, it's my brother's cheap guitar though a cheaper amp, it was really late, and I couldn't find a pick). You get the idea though.
- Code: Select all
''=======================================================================
'' TITLE: COYOTE1_MODULE_Flanger.spin
''
'' DESCRIPTION:
'' A flanger effect by Samuel May <sam.m4y@gmail.com>.
'' Visit http://www.samuelmay.id.au for more crazy projects.
''
'' INPUTS:
'' LFO Input for external LFO module that controls the magnitude
'' of the delay.
'' DEPTH Controls the prominance or depth of the flanging effect.
'' MODE Select 'feedforward' or 'feedback' mode. Feedforward mode
'' produces traditional, subtle analog flanging; feedback
'' mode produces a wilder synthy effect.
'' +BYPASS Effect bypass control
'' OUTPUTS
'' +ON Set when effect is active (i.e. not bypassed).
''
'' COPYRIGHT:
'' Copyright (C)2008 Eric Moyer
'' Copyright (C)2010 Samuel May
''
'' LICENSING:
''
'' This program module is free software: you can redistribute it and/or modify
'' it under the terms of the GNU General Public License as published by
'' the Free Software Foundation, either version 3 of the License, or
'' (at your option) any later version.
''
'' This program module is distributed in the hope that it will be useful,
'' but WITHOUT ANY WARRANTY; without even the implied warranty of
'' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'' GNU General Public License for more details.
''
'' You should have received a copy of the GNU General Public License
'' along with this program module. If not, see <http://www.gnu.org/licenses/>.
''
''=======================================================================
''
'' REVISION HISTORY:
''
'' Rev Date Description
'' ----- -------- ---------------------------------------------------
'' 0.0.1 08-03-10 Initial creation.
'' 0.0.2 12-03-10 Modified to use external LFO module.
'' 0.0.3 22-03-10 Implemented linear interpolating delay.
'' 0.0.4 22-03-10 Added 'Regen' feedback comb control.
'' 0.0.5 24-03-10 Change to one depth control and a mode selection control.
''
''=======================================================================
''
'' Notes:
'' The max value of an input control socket is $7FFF_FFFF.
''
'' Invaluable resources for developing this module (as well as
'' understanding flangers in general) have been:
''
'' http://www.spinsemi.com/knowledge_base/effects.html
'' https://ccrma.stanford.edu/~jos/pasp/Flanging.html
'' https://ccrma.stanford.edu/~jos/pasp/Linear_Interpolation.html
''
''=======================================================================
