labiodental fricative
By chr15m on January 22, 2016 8:19 am
seed: labiodental fricative
autotracker: 40f059fff42e6884b5ce4f720a00506cb7683f22
command: ./maketrack "labiodental fricative"
https://github.com/chr15m/autotracker
https://github.com/chr15m/weeklybeats-2016
This week was fun because I transitioned into writing the procedural music code in LISP (specifically hylang) instead of directly in Python. I re-used an old algorithm from Pure Data for doing stochastic fractal melody generation and re-implemented it:
(defn make-fractal-sequence [sequence-length number-of-notes &optional [basic-sequence-length 4] [sparseness-probability 0.75]]
(let [[basic-sequence (random.sample (range number-of-notes) basic-sequence-length)]]
(list-comp
(if (> (random.random) sparseness-probability)
nil
(get basic-sequence (% (int (/ t (random.choice [1 2 4]))) (len basic-sequence))))
[t (xrange sequence-length)])))
Audio works licensed by author under:
CC Attribution Noncommercial (BY-NC)