Examples / Techniques / Melody

infinity-series

Per Nørgård's "infinity series" (uendelighedsrækken) — a self-similar melody. Recurrence: a(0)=0, a(2n) = -a(n), a(2n+1) = a(n)+1, read as semitone offsets from a root. The line is fractal: every other note reproduces the whole series transposed. Generated by cycletron-gen. Offsets: 0 1 -1 2 1 0 -2 3 -1 2 0 1 2 -1 -3 4

Demos/Techniques/Melody/infinity-series.strudel · 96 BPM

Play in Cycletron Opens it in the app in your browser, with the visualizers. Desktop browsers only.

// Per Nørgård's "infinity series" (uendelighedsrækken) — a self-similar melody.
// Recurrence: a(0)=0, a(2n) = -a(n), a(2n+1) = a(n)+1, read as semitone
// offsets from a root. The line is fractal: every other note reproduces
// the whole series transposed.
// Generated by cycletron-gen. Offsets: 0 1 -1 2 1 0 -2 3 -1 2 0 1 2 -1 -3 4
setbpm(96);

note("c4 c#4 b3 d4 c#4 c4 a#3 d#4 b3 d4 c4 c#4 d4 b3 a3 e4")
  .s("triangle")
  .attack(0.01)
  .release(0.3)
  .gain(0.65)