WOLFRAM|DEMONSTRATIONS PROJECT

Music Box Toy with Elementary Cellular Automata

​
elementary rule
105
selected elementary rules
105
number of cells
3
4
5
6
number of generations
16
modulus to note mapping
14
transpose notes
-6
note duration in seconds
0.1
instrument number
1
show mesh
This Demonstration uses a simple and novel mapping of elementary cellular automata (CA) to single-voice musical sequences. The mapping is created by evolving a small CA through all its possible initial conditions for a number of generations, converting the cells to decimals and storing them in a table. This table is visualized using Mathematica's built-in function ArrayPlot with starting conditions assigned vertically and generations evolving horizontally.