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

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


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