d4 -- $rev \n$ note ((scaleP scalePattern -- $off 4 ((+ 2 ).slow 2) \n --$ off 1 (inversion.slow 2) \n $(rotR 1.5 )$(+ slow 8 "x" <~> generateMelodicSeed) -- $inversion \n$ generateMelodicSeed ))#s "[pe-gtr:12,midi]" #gain 1.2 #orbit 3 #midichan 4   d1 $note ((scaleP scalePattern$ off 4 ((+ 2 ).slow 2) $off 1 (inversion.slow 2)$ off 3 (inversion.slow 3) $off 1.5 ((+ 2).rev.slow 2)$ generateMelodicSeed ))#s "[pe-gtr:10,midi]" #gain 1 #orbit 0 #midichan 1   d9 $midicmd "start" # s "midi"   d9$ midicmd "start" # s "midi" 

# IIR Filter

An Infinite Impulse Response filter is a digital filter implemented by a difference equation that included references, not only to past inputs, but also to pas output values. A general form for the equation would be as follows:

$y[n] = \sum_{i=0}^p a_{i}x[n-i] + \sum_{j=0}^q b_{j}y[n-j]$

IIR filters are not guaranteed to be stable or to preserve phase relationships. However, it is possible to achieve steep cutoff responses with very few terms.