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 20 generations the expression "X" became this:
((echo(((((step(step(arpeggio((transpose((step(shuffle(transpose(step((transpose((X|X) ,-7) +transpose((X|X) ,7) ) ,12) ,4) ) ,12) +transpose(arpeggio(transpose((echo(step(step(X,12) ,12) ,4,6) +transpose(transpose(X,-5) ,12) ) ,-7) ) ,7) ) ,-5) |shuffle(shuffle(transpose(step((arpeggio(echo(X,4,6) ) +transpose(shuffle(arpeggio(X) ) ,12) ) ,12) ,4) ) ) ) ) ,12) ,12) +transpose(((transpose(transpose(transpose(shuffle(X) ,-7) ,-5) ,4) +echo((transpose((step(arpeggio(echo(X,4,6) ) ,12) +(shuffle(step(X,12) ) +shuffle(echo(X,4,6) ) ) ) ,4) |echo(echo(transpose(step(transpose(echo((X+X) ,4,6) ,-5) ,12) ,-5) ,4,6) ,4,6) ) ,4,6) ) +transpose(step(echo(transpose(transpose(step((((echo(X,4,6) +transpose((X+X) ,7) ) +transpose(echo(X,4,6) ,12) ) +(X+transpose(X,7) ) ) ,12) ,-5) ,-5) ,4,6) ,12) ,7) ) ,4) ) +transpose((echo(echo((arpeggio((arpeggio((transpose((transpose(X,-7) |X) ,-5) +transpose((echo((X+X) ,4,6) +transpose(X,-7) ) ,-7) ) ) +transpose(arpeggio(arpeggio((arpeggio(X) +step((X|X) ,12) ) ) ) ,12) ) ) +transpose((echo(step(echo((transpose(step(X,12) ,4) |shuffle((X+transpose(arpeggio(X) ,12) ) ) ) ,4,6) ,12) ,4,6) |transpose(shuffle(step(transpose(X,4) ,12) ) ,-5) ) ,7) ) ,4,6) ,4,6) +transpose(shuffle(((arpeggio((transpose(((transpose(X,-7) +((shuffle(arpeggio(X) ) +transpose(shuffle(echo(X,4,6) ) ,4) ) +transpose((X+transpose(X,12) ) ,7) ) ) |((echo(X,4,6) +transpose((echo(X,4,6) +transpose((X|transpose(X,-5) ) ,7) ) ,4) ) +transpose(transpose((echo(X,4,6) +transpose(transpose(X,4) ,12) ) ,4) ,7) ) ) ,4) +arpeggio(transpose(transpose(arpeggio((transpose(X,-5) +transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,12) ) ) ,-5) ,-7) ) ) ) +transpose(arpeggio(transpose((arpeggio((X|X) ) +transpose((X+transpose(transpose(((transpose(X,-5) +transpose(shuffle(X) ,4) ) +transpose(X,7) ) ,-7) ,12) ) ,12) ) ,-7) ) ,4) ) +transpose(echo(transpose(echo(transpose(transpose(transpose((transpose(X,4) +transpose((step(X,12) +(transpose(X,-5) +transpose(X,7) ) ) ,12) ) ,-5) ,-7) ,-7) ,4,6) ,-5) ,4,6) ,7) ) ) ,12) ) ,7) ) +transpose(transpose(transpose(transpose(transpose(echo(echo(step((shuffle((X|X) ) +transpose(transpose(X,-5) ,-7) ) ,12) ,4,6) ,4,6) ,-7) ,-7) ,4) ,-5) ,4) ) +transpose(transpose(shuffle((((shuffle(((echo(step((transpose(X,-5) +X) ,12) ,4,6) +transpose((transpose((arpeggio(X) +transpose(step(X,12) ,7) ) ,4) |echo((((X+transpose(X,4) ) +transpose(X,7) ) +echo(X,4,6) ) ,4,6) ) ,12) ) +transpose(transpose(transpose(arpeggio(arpeggio(X) ) ,-7) ,-7) ,7) ) ) |((echo(transpose(transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,-5) ,-7) ,4,6) +transpose((transpose(echo(step(transpose((X|X) ,-7) ,12) ,4,6) ,-5) +transpose((shuffle((arpeggio((X+(X+X) ) ) +transpose(echo(X,4,6) ,12) ) ) |(((transpose((X+transpose(X,12) ) ,-7) |step(X,12) ) +transpose(transpose(X,-5) ,12) ) +transpose(arpeggio((X+echo(echo(X,4,6) ,4,6) ) ) ,12) ) ) ,7) ) ,7) ) +echo(arpeggio((((arpeggio(step(X,12) ) |(X|X) ) |((arpeggio(X) +transpose(arpeggio(X) ,4) ) +transpose(X,7) ) ) +transpose(((arpeggio((X+transpose(X,7) ) ) +transpose(step(arpeggio(shuffle(X) ) ,12) ,4) ) +transpose((shuffle(transpose(X,4) ) |arpeggio(transpose(X,-5) ) ) ,7) ) ,7) ) ) ,4,6) ) ) +transpose(arpeggio(echo(((transpose(X,-7) +(X+transpose(X,12) ) ) +echo(X,4,6) ) ,4,6) ) ,12) ) +transpose(transpose(shuffle(((X+transpose(X,12) ) |(transpose(X,-7) +transpose(shuffle(X) ,12) ) ) ) ,-7) ,-5) ) ) ,-5) ,7) ) ,4,6) |arpeggio(transpose((transpose(shuffle(echo(arpeggio(arpeggio((transpose(step((X+X) ,12) ,4) |arpeggio(transpose(((transpose((X+X) ,4) +(X+transpose(X,12) ) ) +step(X,12) ) ,4) ) ) ) ) ,4,6) ) ,-5) |((transpose(transpose(step(arpeggio(transpose(((X+transpose((X|X) ,12) ) |(X+X) ) ,-7) ) ,12) ,4) ,-7) +transpose(((arpeggio(shuffle(transpose(transpose(X,-5) ,-7) ) ) +transpose((((transpose(X,-7) |X) +transpose((X+X) ,7) ) +transpose(arpeggio(shuffle(X) ) ,12) ) ,4) ) +transpose(shuffle(arpeggio(arpeggio(arpeggio(echo(echo(shuffle((X+X) ) ,4,6) ,4,6) ) ) ) ) ,7) ) ,-5) ) +transpose(((transpose((transpose((X+transpose(X,7) ) ,-7) +transpose(arpeggio((X+transpose(X,-7) ) ) ,7) ) ,-5) +transpose(transpose(step(step(X,12) ,12) ,4) ,7) ) +transpose((echo((transpose(step(X,12) ,4) +transpose(transpose(step(X,12) ,-5) ,12) ) ,4,6) +((((((X+transpose(transpose(X,4) ,12) ) |((X+X) +transpose(shuffle(X) ,12) ) ) +step(arpeggio(transpose(X,4) ) ,12) ) +transpose(((((arpeggio(X) +X) |arpeggio(X) ) |step(X,12) ) |step(transpose(shuffle(arpeggio(X) ) ,-7) ,12) ) ,4) ) +transpose(shuffle((((transpose(transpose(X,-5) ,4) +transpose((X|X) ,4) ) +transpose(transpose(X,-7) ,7) ) +transpose((shuffle(((X+transpose(X,4) ) +transpose(X,7) ) ) +echo(X,4,6) ) ,12) ) ) ,7) ) +transpose(shuffle(((step(((X+transpose(X,12) ) +arpeggio(((X+transpose(X,4) ) +transpose(X,7) ) ) ) ,12) +transpose(echo(echo(echo(shuffle(((X+transpose(X,4) ) +transpose(X,7) ) ) ,4,6) ,4,6) ,4,6) ,4) ) +transpose((shuffle(((step(X,12) +transpose((X+transpose(X,12) ) ,4) ) +transpose(shuffle(X) ,7) ) ) +transpose((((X+transpose(arpeggio(X) ,12) ) +transpose((X+transpose(X,12) ) ,12) ) +transpose(((((X|X) +transpose(transpose(X,-7) ,12) ) +transpose(transpose(X,4) ,4) ) +transpose(X,7) ) ,12) ) ,7) ) ,7) ) ) ,7) ) ) ,7) ) ,7) ) ) ,4) ) ) +transpose((arpeggio(transpose((transpose(((echo(shuffle((transpose(transpose(transpose(X,-7) ,-5) ,-7) +transpose(((X+transpose(X,4) ) +transpose(X,7) ) ,-5) ) ) ,4,6) |shuffle(arpeggio(step(echo(X,4,6) ,12) ) ) ) +shuffle(arpeggio((arpeggio(step(shuffle(X) ,12) ) +transpose((((echo(((X+transpose(X,4) ) +transpose(X,7) ) ,4,6) |shuffle(((X+transpose(X,4) ) +transpose(X,7) ) ) ) +transpose(X,4) ) +transpose(arpeggio(X) ,7) ) ,12) ) ) ) ) ,-5) +transpose((shuffle(transpose(arpeggio(echo((echo(arpeggio(X) ,4,6) |transpose(((echo(X,4,6) +transpose((X+X) ,4) ) +transpose(X,7) ) ,-7) ) ,4,6) ) ,-5) ) |(((((((arpeggio(X) +transpose(echo(X,4,6) ,4) ) +transpose(X,7) ) +arpeggio((transpose(X,4) |X) ) ) |(echo(echo(X,4,6) ,4,6) +transpose(arpeggio((X+transpose(X,12) ) ) ,12) ) ) +transpose(shuffle(echo((step(X,12) +transpose(X,7) ) ,4,6) ) ,12) ) +transpose((transpose(arpeggio(transpose(shuffle(((X+transpose(X,4) ) +transpose(X,7) ) ) ,-7) ) ,4) +(echo(((step(step(X,12) ,12) |(X|X) ) +transpose(arpeggio((X+transpose(X,12) ) ) ,7) ) ,4,6) +(echo(transpose(transpose(X,-5) ,-7) ,4,6) |transpose(step(X,12) ,4) ) ) ) ,4) ) +transpose((shuffle(transpose((echo(step(step((arpeggio(X) +transpose(X,12) ) ,12) ,12) ,4,6) +((step((X+transpose(step(transpose(X,4) ,12) ,7) ) ,12) +transpose(arpeggio(arpeggio(X) ) ,4) ) +transpose(shuffle(shuffle(X) ) ,7) ) ) ,-5) ) |arpeggio(((shuffle(arpeggio(((transpose(X,-5) +transpose(X,4) ) +transpose(echo(X,4,6) ,7) ) ) ) +transpose(arpeggio(shuffle(transpose(X,-7) ) ) ,4) ) +transpose(shuffle(arpeggio(echo(echo(X,4,6) ,4,6) ) ) ,7) ) ) ) ,7) ) ) ,12) ) ,-5) ) +step(transpose(transpose(arpeggio(transpose(shuffle(echo((arpeggio(step(((transpose(X,4) +X) +((echo(X,4,6) +transpose(echo(X,4,6) ,4) ) +transpose((X+X) ,7) ) ) ,12) ) +step((transpose(arpeggio(X) ,-5) |transpose(X,-7) ) ,12) ) ,4,6) ) ,-7) ) ,-7) ,-7) ,12) ) ,-7) )
random seed used was 177436589

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

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

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


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