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

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

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


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