Cellular Automata is a discreet mathematic model related to fractals. I've chosen to use a one-dimensional cellular automata simulator as the basis for a process composition using Max/MSP. This was originally an assignment for an electroacoustic music course instructed by Arne Eigenfeldt at SFU.
Cellular_Automata_Composition.zip
At every time step, each cell takes on a new value based on the values that it and its two neighbours had at the previous time step. The value is determined by the "celaut" object which I also created. This particular version of celaut uses the standard "Rule 150" of cellular automata.
Each cell is mapped to a midi note which are divided among three channels. The programs of each of these channels change periodically to a new random value.
More information about the theory of cellular automata is at:
http://en.wikipedia.org/wiki/Cellular_autonoma
Another example of its use in music is at:
http://www-128.ibm.com/developerworks/java/library/j-camusic/