red-clam:  time varying distortion processor
red-clam   [flags] < floatsams > floatsams
        N:      fft length [1024]
        R:      sampling rate [44100]
        M:      window size in samples [2048]
        D:      decimation factor in samples [256]
        I:      interpolation factor in samples [256]
        P:      pitch factor [osc bank only][1.0]
        v:      interpolation function [func]
        f:      resynthesis function1 [indexed at 0.0] [func1]
        F:      resynthesis function2 [indexed at 1.0] [func2]
        t:      resynthesis threshold factor[.001]
        T:      highest frequncy to resynthesize [3000.0][0. means no action]
        l:      duration of input [undefined]
        g:      optional bin sieve function [1=on,0=off] of size N/2
        s:      synthesize analysis input

The interpolation function [func] specifies the
relative mix between two resynthesizing oscillators
[func1] and [func2]. Since it is likely that at least one of
your resynth functions will have more than one harmonic,
you may wish to protect yourself from aliasing. 
The T flag specifies the highest frequency to resynthesize,
bearing in mind that each frequency is now merely a
fundamental for your resynthesis functions. Be careful.

g - is an optional sieve function consisting of N/2 values,
either 0.0 or > 0.0 (say 1.0). Only bins which come up
non-zero in the sieve function are resynthesized. This
can greatly improve the speed of the processor, and give
you some very unusual effects. 

In generating your resynthesis functions, you may
wish to use an additive synthesis program, such as
CARL's gen5, or Csound's function generators gen9 and gen10.
It's also fun to use short samples of things like guitars, etc.
Expect raunchy harmonization effects. Both functions must be 
of the same length, and I suggest you use a fairly large
size, such as 8192.