Music Box Toy with Elementary Cellular Automata

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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.

Contributed by: David Burraston (January 2012)
Open content licensed under CC BY-NC-SA


Snapshots


Details

These example sound pieces were tested on a Mac using the internal default sound sample set; the sounds available will depend on your platform. The change in ArrayPlot size depend on the number of cells and generations specified.

Snapshot 1: piano piece with rule 105

Snapshot 2: pizzicato viola piece with rule 110

Snapshot 3: overwound Music Box piece with rule 54

See http://www.noyzelab.com for more details and research papers on the author's work with generative music and cellular automata.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send