Paul Vosper | Images | Sounds | Words | et cetera
CHAOS.ALG 1 (Cubic algorithm)
I wanted a way to ‘listen’ to the various CHAOS algorithms in Teletype so I wrote this simple script. It’s not terribly elegant, but it does expose many of the things I was curious about. The idea is to step through the full range of CHAOS.R values in increments of 100 (so there are total of 100 steps). At each step, play seven notes. For clarity, each time I change the R value I trigger a snare drum and each time the R value is divisible by 1,000 I trigger a bass drum. The notes are quantized to six octaves of a Dorian scale. One full sweep takes about two minutes.
CHAOS.ALG 0 (Logistic algorithm)
CHAOS.ALG 2 (Hénon algorithm)
It’s helpful to watch the Variables as it’s playing, to better understand what’s happening:
X value returned from CHAOS op after scaling (0-48)
Y number of notes per step
Z value input into CHAOS.R
T simple counter
A current Max value of X
B current Min value of X
C current octave
D range used for scaling chaos output (-D to D)
#1
X SCALE * -1 D D 0 48 CHAOS
C * / X 8 12
CV 1 N.S C 4 X
TR.P 1; CHAOS.R Z; $ 2
IF EZ % T Y: TR.P 2
IF EZ % Z 1000: TR.P 3
#2
IF GT X A: A X
IF LT X B: B X
#M
$ 1
T + T 1
Z * / T Y 100
IF GT Z 10000: M.ACT 0
#I
M BPM 360
TR.TIME 1 / * M 50 100
X 0; Y 7; Z 0; T 0
A 0; B 99; C 0; D 10000
CHAOS.ALG 0
M.ACT 1
24.11.03