Home : Tune Toys : Expresso 
  Expresso takes a simple musical expression (literally "X") and mutates it. In each generation, transformations are applied to components of the expression. This is a fractal technique known as an L-system. The more generations there are, the larger and more complex the expression gets (and the longer it can take to compute). The output varies wildly, from boring to fascinating. Press "Mutate" a few times till you get something that looks interesting, then click on the image to play it. See Composer's Quarry for examples of output.

Transformations:
Seed:
Randomize seed:
Generations:
Phrase for X:
# of Tracks:
Randomize patches:
 

Results may not appear for a few seconds.
Be patient!
Do you like this result? Do you want to let other people listen to it?

Save this one in the
Tune Trove!


See what's already
in the Tune Trove!

After 16 generations the expression "X" became this:
(transpose((((transpose(((((X+transpose(X,12) ) +transpose(X,4) ) +transpose(X,7) ) +transpose((X+transpose(arpeggio((X+transpose(X,12) ) ) ,7) ) ,12) ) ,-5) +transpose(echo((X+echo(transpose(X,-7) ,4,6) ) ,4,6) ,7) ) |((transpose(transpose(step(X,12) ,-7) ,-5) +transpose(transpose(echo((((X+transpose(X,4) ) +transpose(X,7) ) |(X+transpose(X,12) ) ) ,4,6) ,4) ,12) ) |(transpose(((X|X) +arpeggio(X) ) ,-7) +transpose((((X+transpose(X,12) ) +X) +transpose(step(X,12) ,12) ) ,12) ) ) ) +transpose((shuffle(arpeggio(((echo(echo(X,4,6) ,4,6) +transpose(X,12) ) +transpose(transpose((X+transpose(X,7) ) ,-7) ,7) ) ) ) +transpose(echo((transpose(arpeggio(arpeggio(((X+transpose(X,4) ) +transpose(X,7) ) ) ) ,-7) +transpose(transpose(transpose((echo(X,4,6) |step(echo(X,4,6) ,12) ) ,-7) ,-7) ,12) ) ,4,6) ,12) ) ,12) ) ,4) +transpose(echo(echo(transpose(step((transpose((((X+echo(X,4,6) ) +transpose(echo(step(X,12) ,4,6) ,7) ) +transpose(step(transpose(transpose(X,-7) ,-7) ,12) ,12) ) ,-7) +transpose(arpeggio(shuffle(X) ) ,7) ) ,12) ,-7) ,4,6) ,4,6) ,12) )
random seed used was 15 EXPR = transpose(((transpose(transpose(shuffle(transpose(transpose((((X+transpose((X+X) ,4) ) +transpose(step((X+transpose(X,7) ) ,12) ,7) ) +transpose((((X+transpose(X,7) ) +transpose(X,4) ) +transpose((X|X) ,7) ) ,7) ) ,-7) ,-7) ) ,-7) ,-7) +transpose(transpose(transpose(shuffle(X) ,-7) ,-7) ,4) ) +transpose((transpose(X,-7) +transpose(echo(X,4,6) ,12) ) ,7) ) ,4)
random seed used was 0 EXPR = echo(((echo((((((transpose(arpeggio(X) ,-7) +transpose((((X+transpose((shuffle(X) +transpose(step(X,12) ,12) ) ,12) ) +step(X,12) ) +transpose(((echo((X+transpose((X+transpose(X,7) ) ,7) ) ,4,6) +transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,4) ) +transpose(echo(arpeggio(X) ,4,6) ,7) ) ,12) ) ,12) ) |(echo(echo((((X+transpose(X,4) ) +transpose(X,7) ) |shuffle(X) ) ,4,6) ,4,6) +transpose(((transpose(X,-7) +transpose(((X+transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,4) ) +transpose(X,7) ) ,12) ) +transpose((((arpeggio(shuffle(X) ) |((X+X) |transpose(X,4) ) ) +transpose((X+transpose(X,7) ) ,4) ) +transpose(step(((X+X) +transpose((X+transpose(X,7) ) ,12) ) ,12) ,7) ) ,12) ) ,7) ) ) +transpose(transpose(step(((echo(transpose(((transpose(X,-7) +transpose(echo(X,4,6) ,4) ) +transpose(echo(X,4,6) ,7) ) ,-7) ,4,6) +transpose(((transpose(X,-7) +transpose((echo(X,4,6) |X) ,12) ) +transpose(((echo(((X+transpose(X,4) ) +transpose(X,7) ) ,4,6) |step(step(X,12) ,12) ) +transpose(X,12) ) ,12) ) ,4) ) +transpose((shuffle(((X+transpose(X,7) ) +transpose(transpose(X,-5) ,7) ) ) +((X+shuffle(X) ) +transpose(X,12) ) ) ,7) ) ,12) ,-7) ,4) ) +transpose(echo(shuffle(step(X,12) ) ,4,6) ,7) ) +arpeggio(((arpeggio(echo(transpose(X,-7) ,4,6) ) +(arpeggio(X) +transpose((X+X) ,7) ) ) +transpose(((transpose(X,-7) |echo(transpose((transpose(X,4) |X) ,-5) ,4,6) ) +transpose(transpose(shuffle((X|X) ) ,4) ,12) ) ,7) ) ) ) ,4,6) +transpose((((shuffle((transpose((((X|X) +transpose(step(X,12) ,4) ) +transpose(echo(X,4,6) ,7) ) ,-7) +transpose(((((((X+transpose(X,7) ) +transpose(transpose(X,4) ,4) ) +transpose(arpeggio(X) ,7) ) +transpose(transpose(X,4) ,12) ) |transpose((step(X,12) +transpose(X,12) ) ,-5) ) +transpose(transpose((X+transpose((X+transpose(X,12) ) ,12) ) ,-7) ,4) ) ,7) ) ) +(((((step(X,12) +transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,4) ) +transpose(X,7) ) |echo(X,4,6) ) +transpose((transpose(X,-5) +transpose(transpose(transpose((X+transpose(X,12) ) ,-5) ,4) ,12) ) ,12) ) |transpose(transpose((transpose(X,-7) +transpose(X,12) ) ,-7) ,-7) ) ) +transpose(echo((transpose(X,-7) +transpose((X+transpose((X|X) ,12) ) ,12) ) ,4,6) ,4) ) +transpose(transpose((echo(((transpose(transpose(X,-7) ,-7) +transpose(transpose(transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,-5) ,-5) ,4) ) +transpose(arpeggio(transpose((X|X) ,4) ) ,7) ) ,4,6) +transpose((((X+transpose(X,4) ) +transpose(transpose(X,-5) ,7) ) +echo(step(X,12) ,4,6) ) ,-7) ) ,-7) ,7) ) ,4) ) +transpose(((echo(((echo(shuffle(((X+transpose((X+transpose(X,12) ) ,12) ) +transpose(shuffle(X) ,12) ) ) ,4,6) +transpose(transpose(((((((X+transpose((transpose(X,4) +transpose(X,7) ) ,4) ) +transpose(echo(((X+transpose(X,4) ) +transpose(X,7) ) ,4,6) ,7) ) +transpose(((((echo(X,4,6) |(arpeggio(X) +transpose(shuffle(X) ,12) ) ) +transpose(echo(step(X,12) ,4,6) ,4) ) +transpose((((X+transpose(X,4) ) +transpose(X,7) ) +transpose(X,12) ) ,7) ) |(arpeggio(transpose(X,-7) ) +transpose(step(shuffle(X) ,12) ,12) ) ) ,4) ) +transpose(step((transpose(X,4) +transpose(((shuffle(transpose(X,-7) ) +transpose(transpose(X,-7) ,4) ) +transpose((X|X) ,7) ) ,12) ) ,12) ,7) ) +transpose(transpose(transpose((X+transpose(X,7) ) ,-7) ,-7) ,4) ) +transpose(((shuffle((X+transpose(X,7) ) ) +transpose((((X+transpose(X,12) ) +transpose(transpose(X,-7) ,4) ) +transpose(transpose(arpeggio(X) ,-5) ,7) ) ,4) ) +transpose(shuffle(transpose((X+transpose(X,7) ) ,4) ) ,7) ) ,7) ) ,-7) ,4) ) +transpose((arpeggio((((arpeggio(X) +transpose((X+X) ,4) ) +transpose(transpose(X,-7) ,7) ) +transpose(X,12) ) ) +transpose(arpeggio(((transpose(X,-7) +step(X,12) ) +echo(X,4,6) ) ) ,7) ) ,7) ) ,4,6) +transpose((transpose(((step(shuffle(X) ,12) +transpose(((transpose(echo(X,4,6) ,-7) +transpose(transpose(X,-7) ,4) ) +transpose((transpose(X,-7) +transpose(transpose(X,-7) ,12) ) ,7) ) ,12) ) +(((((X+transpose(X,4) ) +transpose(X,7) ) +transpose(echo(X,4,6) ,12) ) +transpose(transpose(arpeggio(X) ,-5) ,4) ) +transpose(echo((X+transpose(X,7) ) ,4,6) ,7) ) ) ,4) |step(step(transpose((((X+transpose(X,7) ) +transpose(X,-5) ) |shuffle((X+transpose(X,12) ) ) ) ,-7) ,12) ,12) ) ,7) ) +transpose((((((((X+transpose(X,12) ) +transpose(X,7) ) |echo(X,4,6) ) +transpose(transpose(((shuffle(((X+transpose(X,4) ) +transpose(X,7) ) ) +transpose(transpose(arpeggio(X) ,-7) ,4) ) +transpose(transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,-7) ,7) ) ,4) ,7) ) +transpose((transpose(transpose(shuffle(step(X,12) ) ,-7) ,4) +transpose(transpose(transpose(X,-7) ,-7) ,12) ) ,7) ) |transpose(transpose(step(shuffle(arpeggio(arpeggio(arpeggio(X) ) ) ) ,12) ,-7) ,4) ) +transpose(((step(((((shuffle(X) +transpose(arpeggio(echo(X,4,6) ) ,4) ) +transpose(((((X+transpose(X,4) ) +transpose(X,7) ) +transpose(X,4) ) +transpose(X,7) ) ,7) ) +transpose(shuffle(X) ,4) ) +transpose(X,7) ) ,12) +transpose(((((((X+transpose(step(X,12) ,4) ) +step(transpose(shuffle(X) ,-5) ,12) ) +transpose(step(X,12) ,4) ) +transpose((X|transpose((X+transpose(X,12) ) ,-7) ) ,7) ) |(X|(shuffle(arpeggio((X+transpose(X,7) ) ) ) +transpose(transpose(X,4) ,7) ) ) ) +(echo(transpose(((X|X) +transpose(transpose(X,-7) ,7) ) ,-7) ,4,6) +echo(echo(echo(X,4,6) ,4,6) ,4,6) ) ) ,4) ) +transpose(shuffle(transpose(transpose(step(transpose(X,-5) ,12) ,-7) ,4) ) ,7) ) ,12) ) ,7) ) ,7) ) ,4,6)
random seed used was 0

NOTE: Generated phrase was too large ( 29955 ) , it has been truncated at 5000 notes. EXPR = (((transpose(transpose(((transpose(echo((((X+transpose(X,4) ) +transpose(X,7) ) +transpose((X+transpose(X,7) ) ,7) ) ,4,6) ,-7) +transpose(echo(arpeggio(X) ,4,6) ,4) ) +transpose((X+transpose(transpose(X,-5) ,12) ) ,7) ) ,-7) ,-7) +transpose(((step(((transpose(shuffle((X+transpose(X,7) ) ) ,-7) +transpose(((echo(transpose(X,-7) ,4,6) +transpose(X,4) ) +transpose(echo(((X+transpose(X,12) ) |echo(X,4,6) ) ,4,6) ,7) ) ,4) ) +transpose((X+transpose((transpose(transpose(X,4) ,4) +transpose((X+transpose(X,12) ) ,-7) ) ,12) ) ,7) ) ,12) |transpose(echo(X,4,6) ,-7) ) +transpose((echo(arpeggio(echo(transpose(((X+transpose(echo(X,4,6) ,12) ) +transpose((transpose(X,-5) |(X+transpose(X,7) ) ) ,7) ) ,-7) ,4,6) ) ,4,6) +echo((echo((transpose((X+X) ,-7) +transpose(((((X+transpose(X,4) ) +transpose(X,7) ) |transpose(X,-7) ) +transpose(arpeggio((X+transpose(X,7) ) ) ,12) ) ,7) ) ,4,6) +transpose(shuffle(echo((transpose(X,-7) +transpose(transpose(echo(X,4,6) ,4) ,7) ) ,4,6) ) ,12) ) ,4,6) ) ,12) ) ,4) ) +transpose(step((transpose(shuffle(transpose(((transpose(transpose(transpose((((X+transpose(X,4) ) +transpose(X,7) ) +transpose((X|X) ,7) ) ,-7) ,-5) ,-7) +transpose(shuffle(((transpose(X,-5) +transpose(arpeggio(X) ,7) ) |X) ) ,4) ) +transpose((echo(transpose(X,-7) ,4,6) +(((X+transpose(transpose((X+transpose(X,7) ) ,-5) ,7) ) +transpose(step(shuffle(arpeggio(X) ) ,12) ,4) ) +transpose(((shuffle(X) +transpose((transpose(X,-7) +transpose(X,12) ) ,4) ) +transpose(transpose(X,4) ,7) ) ,7) ) ) ,7) ) ,4) ) ,4) +(transpose(arpeggio(((arpeggio(shuffle(transpose(transpose(X,-7) ,4) ) ) +transpose(((((step(echo(X,4,6) ,12) +transpose(transpose(X,4) ,7) ) +transpose((transpose(X,4) +transpose(step(X,12) ,7) ) ,4) ) +transpose(X,7) ) +transpose((echo(((X+transpose(X,12) ) +transpose(step(X,12) ,12) ) ,4,6) +transpose(step(X,12) ,12) ) ,7) ) ,7) ) +transpose(transpose(transpose((X|X) ,4) ,-7) ,12) ) ) ,-7) +(((transpose(transpose(arpeggio(transpose(transpose(X,-7) ,4) ) ,-7) ,-7) +transpose(((transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,-7) +transpose(((((X+transpose(X,4) ) +transpose(X,7) ) +transpose(step(X,12) ,4) ) +transpose(transpose(X,-7) ,7) ) ,7) ) +transpose((shuffle(echo(transpose(X,-5) ,4,6) ) +transpose(((((((X+transpose(X,4) ) +transpose(X,7) ) +transpose(shuffle(X) ,7) ) |(arpeggio(X) +transpose(transpose(X,-7) ,7) ) ) +transpose(((step(((X+transpose(X,4) ) +transpose(X,7) ) ,12) +transpose((transpose((X+transpose(X,12) ) ,-7) +transpose(transpose(X,-7) ,7) ) ,4) ) +transpose(arpeggio(shuffle(X) ) ,7) ) ,4) ) +transpose((shuffle(X) +transpose((((X+transpose(X,4) ) +transpose(X,7) ) +transpose((X+transpose(X,12) ) ,7) ) ,12) ) ,7) ) ,12) ) ,-7) ) ,7) ) +transpose(((transpose((transpose(step(X,12) ,-7) |echo(transpose(shuffle(step(X,12) ) ,4) ,4,6) ) ,-5) +transpose(shuffle(((((X+transpose(step((X+transpose(X,7) ) ,12) ,12) ) +transpose((((X+transpose((X+transpose(X,7) ) ,4) ) +transpose(X,7) ) +transpose(transpose(X,-7) ,12) ) ,4) ) +transpose(((((arpeggio(transpose(X,4) ) +transpose((transpose(X,-5) +X) ,4) ) +transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,7) ) +transpose(step((X|transpose(X,-7) ) ,12) ,4) ) +transpose((X+transpose((X|X) ,7) ) ,7) ) ,7) ) |step(transpose((X+transpose(X,7) ) ,-5) ,12) ) ) ,4) ) +transpose(shuffle(transpose(step((shuffle(step(X,12) ) |((((X+X) +transpose(X,-7) ) +transpose(transpose(transpose(X,-7) ,-7) ,4) ) +transpose((X+X) ,7) ) ) ,12) ,4) ) ,7) ) ,7) ) +transpose(((step(echo(transpose((echo(X,4,6) |X) ,-7) ,4,6) ,12) +transpose(step(step(transpose(echo((shuffle(X) +transpose(X,12) ) ,4,6) ,-7) ,12) ,12) ,4) ) +transpose((transpose(echo(echo(step(arpeggio(step(X,12) ) ,12) ,4,6) ,4,6) ,-5) |transpose((((((X|X) +transpose(X,12) ) +transpose(((X|X) +transpose(step(X,12) ,7) ) ,12) ) |((echo(transpose(X,-5) ,4,6) +transpose(transpose(transpose((X+transpose(X,12) ) ,-5) ,-7) ,4) ) +transpose(transpose(transpose(X,-7) ,-7) ,7) ) ) |shuffle((arpeggio(X) +transpose(arpeggio(X) ,12) ) ) ) ,-7) ) ,7) ) ,4) ) ) ) ,12) ,4) ) +transpose(echo(((transpose(step(arpeggio(transpose(arpeggio(transpose(((X+transpose((X+transpose(X,7) ) ,4) ) +transpose(X,7) ) ,-7) ) ,-7) ) ,12) ,-7) +transpose(step((echo((echo(transpose(transpose(X,-5) ,-7) ,4,6) +(arpeggio(transpose(arpeggio(X) ,-7) ) +transpose(((echo(X,4,6) +transpose(X,4) ) +transpose((X+X) ,7) ) ,7) ) ) ,4,6) |arpeggio(arpeggio(((transpose((X+transpose(transpose(X,-5) ,7) ) ,-7) +transpose(transpose(((echo(((X+transpose(X,4) ) +transpose(X,7) ) ,4,6) +transpose(transpose(X,4) ,12) ) +transpose((transpose(arpeggio(X) ,-5) +transpose(X,7) ) ,7) ) ,-7) ,4) ) +transpose(transpose((shuffle(transpose(X,-7) ) +transpose(transpose(X,-5) ,7) ) ,-7) ,7) ) ) ) ) ,12) ,4) ) +transpose((transpose(step(shuffle((transpose(transpose(X,-7) ,-7) +transpose((transpose(transpose(((X+transpose(X,12) ) +transpose(transpose(X,-7) ,12) ) ,4) ,4) +transpose(transpose(step((X+transpose(transpose(X,-7) ,12) ) ,12) ,-5) ,7) ) ,7) ) ) ,12) ,4) |((transpose(transpose(((echo(X,4,6) +transpose(X,7) ) +transpose(echo(X,4,6) ,7) ) ,4) ,4) +transpose(((echo(((arpeggio(step((shuffle(X) +(X+X) ) ,12) ) +transpose((transpose(((X+X) +transpose(X,-5) ) ,-7) +transpose((arpeggio(X) |step(X,12) ) ,12) ) ,4) ) +transpose(((shuffle(X) +transpose(X,4) ) +transpose(arpeggio(transpose((X+transpose(X,7) ) ,-7) ) ,7) ) ,7) ) ,4,6) +transpose(shuffle(shuffle(step(transpose(X,-7) ,12) ) ) ,4) ) +transpose((((((X+transpose(step(step(X,12) ,12) ,4) ) +transpose(step(X,12) ,7) ) +transpose((((arpeggio(((X+transpose(X,4) ) +transpose(X,7) ) ) +transpose((((X+transpose(X,12) ) +transpose(transpose(X,-7) ,4) ) +transpose(echo(X,4,6) ,7) ) ,4) ) +transpose(step(X,12) ,7) ) +transpose((step(X,12) +transpose(echo(X,4,6) ,12) ) ,12) ) ,7) ) +transpose(((step((X+transpose(X,12) ) ,12) +((transpose(X,-7) +transpose(((shuffle(X) +transpose(X,4) ) +transpose(X,7) ) ,4) ) +transpose(((X+transpose(X,4) ) +transpose(step(X,12) ,7) ) ,7) ) ) +((X|X) |(X+transpose(X,12) ) ) ) ,12) ) +transpose((transpose((shuffle(X) +transpose(echo((X+transpose(X,12) ) ,4,6) ,7) ) ,4) +transpose((echo(X,4,6) +transpose((echo((X+echo(X,4,6) ) ,4,6) +transpose(((arpeggio((X+X) ) +transpose((transpose(X,-7) +transpose(X,12) ) ,4) ) +transpose((X|X) ,7) ) ,7) ) ,12) ) ,12) ) ,12) ) ,7) ) ,4) ) +transpose((((echo(echo((shuffle(X) +transpose(transpose(X,-5) ,12) ) ,4,6) ,4,6) +transpose(echo((((shuffle(X) +transpose(X,4) ) +transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,7) ) +transpose(transpose((X+transpose(X,7) ) ,4) ,12) ) ,4,6) ,4) ) +transpose(echo(transpose(X,-5) ,4,6) ,7) ) |((((X+transpose(X,4) ) +transpose(X,7) ) +transpose(((shuffle(X) +transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,4) ) +transpose(X,7) ) ,7) ) +transpose(echo((arpeggio(X) |transpose((X|X) ,-5) ) ,4,6) ,7) ) ) ,7) ) ) ,7) ) ,4,6) ,7) )
random seed used was 0

NOTE: Generated phrase was too large ( 8163 ) , it has been truncated at 5000 notes.


The algorithm for Expresso is written in KeyKit, and here's the source code.