d9 $ midicmd "start" # s "midi"
do
cps (86/60/2)
d9 $ midicmd "midiClock*48" # s "midi"
generateMelodicSeed = slow 4
$ linger 0.5
$ repeatCycles 3
-- $ palindrome \n
$ (+ (slow (irand (4)+1) (sometimes (inversion) (run (irand (4)+1)))))
$ slow ((irand 3) + 1)
$ e ("x"<~>(irand 8)) 8
$ "x*16"<~>(irand 5)
inversion = (* (-1))
index > /home/xinniw/Documents/garden/IIR
filter.md
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.
index > /home/xinniw/Documents/garden/IIR
filter.md