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: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Phrase for X: Basic 1 - c,e,gBasic 2 - c,g,e,b-Basic 3 - c,gBasic 4 - cBasic 5 - co3,co4,co3,co2Chord 1 - c e gChord 2 - c e- gChord 3 - c e- g b-Chord 4 - c f gFile 1 - bachinv1.midFile 2 - bachinv2.midFile 3 - bachinv3.midFile 4 - bachinv4.midFile 5 - bachinv5.midFile 6 - bachinv6.midFile 7 - bachinv7.midFile 8 - bachinv8.mid # of Tracks: 1234 Randomize patches: noyes 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 theTune Trove! See what's alreadyin the Tune Trove! After 12 generations the expression "X" became this: step(shuffle(transpose(transpose(shuffle(step(((X+transpose(X,4) ) +transpose(X,7) ) ,12) ) ,4) ,-5) ) ,12) random seed used was 217264988 EXPR = (transpose(step((((X|(shuffle(transpose(X,-7) ) |(X|X) ) ) +transpose(echo((transpose((X+transpose(X,7) ) ,-7) +transpose(X,12) ) ,4,6) ,4) ) +transpose(transpose(shuffle((X+transpose(X,12) ) ) ,4) ,7) ) ,12) ,-5) +(transpose(transpose((arpeggio(echo((echo(X,4,6) |(X|(X|X) ) ) ,4,6) ) +((transpose(transpose(X,-5) ,-5) +transpose(shuffle(transpose(transpose((X+transpose(X,12) ) ,4) ,-5) ) ,4) ) +transpose(arpeggio(transpose((X|X) ,-7) ) ,7) ) ) ,-7) ,-5) |echo(transpose((arpeggio(transpose((((X|X) +transpose(transpose(X,-7) ,12) ) +transpose(transpose(X,4) ,12) ) ,4) ) |((arpeggio((X+X) ) +transpose((X+transpose(transpose(X,4) ,12) ) ,4) ) +transpose(transpose(X,-5) ,7) ) ) ,-5) ,4,6) ) ) random seed used was 0

The algorithm for Expresso is written in KeyKit, and here's the source code.
{"ft_lang_label":"__label__en","ft_lang_prob":0.810396,"math_prob":0.9762602,"size":1541,"snap":"2019-13-2019-22","text_gpt3_token_len":496,"char_repetition_ratio":0.27456084,"word_repetition_ratio":0.0,"special_character_ratio":0.35171968,"punctuation_ratio":0.19407895,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9934274,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-03-23T17:26:55Z\",\"WARC-Record-ID\":\"<urn:uuid:18f8163f-93bf-4b62-9d0d-6579c41fb37e>\",\"Content-Length\":\"8795\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9adf2221-77bc-485e-9bac-6b933b1af3c6>\",\"WARC-Concurrent-To\":\"<urn:uuid:e01e1256-6484-48cd-b01d-f1e4eba735a7>\",\"WARC-IP-Address\":\"45.55.18.50\",\"WARC-Target-URI\":\"http://nosuch.com/music/expresso.cgi?generations=12&seed=217264988&ntracks=2&patches=yes&randomseed=off&x=Chord+4+-+c+f+g\",\"WARC-Payload-Digest\":\"sha1:ZR66EZSITM4DB72WXUUBVYOX2JVK4NJ3\",\"WARC-Block-Digest\":\"sha1:RSIUUIBSNZWMES55ZD6SSKTANZOBSFN3\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-13/CC-MAIN-2019-13_segments_1552912202889.30_warc_CC-MAIN-20190323161556-20190323183556-00108.warc.gz\"}"}