```
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.

### Notes mentioning this note

Digital filters

Digital Filter A digital filter is a process that takes some input signal and produces some (possibly modified) output signal....

Non Causal filter

Non-Causal Filter A non-causal filter is a digital filter that relies on future input values. (thus non-causal) It requires a...

Simd vectorization

Single Instruction Multiple Data SIMD or “Single Instruction Multiple Data” is an optimization technique that takes advantage of extensions to...

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.