[Code] Beethoven – Für Elise in SONIC PI

Continue the series of raw Sonic Pi covers, the following is my Sonic Pi cover of the infamous symphony Für Elise. There are no special sound effects added, just raw for version 0.01.

Save the following code to a file and load it into your Sonic Pi editor via run_file command (e.g: run_file(“path/pirate.rb”) – this is because the code is too large for the buffer of Sonic Pi Editor) and have fun.

define :fire do |n, d, s|
  for j in 0..n.length-1
    play n[j], sustain: s[j], release: s[j]
  end
  sleep d
end
n=[]
d=[]
s=[]
n[0] = [[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a4],[:r],[:b4],[:e3],[:gs3],[:e4],[:gs4],[:b4],[:bs4],[:e3],[:a3],[:e4],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a4],[:r],[:r],[:b4],[:r],[:a4],[:e3],[:a3],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a4],[:r],[:r],[:b4],[:r],[:bs4],[:r],[:r],[:a4],[:r],[:r],[:b4],[:r],[:a4],[:r],[:r],[:e5],[:r],[:r],[:r],[:bs4],[:a3],[:e4],[:d5],[:bs4],[:b4],[:r],[:r],[:r],[:r],[:r],[:a4],[:r],[:r],[:b4],[:r],[:bs4],[:r],[:r],[:r],[:a4],[:r],[:r],[:b4],[:r],[:a4],[:r],[:bs4],[:es4],[:a4],[:r],[:a3],[:bs3],[:a3],[:es5],[:r],[:e5],[:e5],[:as3,:r],[:d5],[:as3],[:as5],[:a5],[:a5],[:g5],[:es5],[:e5],[:d5],[:r],[:r],[:e5],[:r],[:es5],[:a4],[:bs4],[:d5],[:bs4],[:b4],[:d5],[:es4],[:b4],[:bs4],[:g5],[:g4],[:g5],[:a4],[:g5],[:b4],[:g5],[:bs4],[:g5],[:d5],[:g5],[:e5],[:g5],[:bs5],[:b5],[:a5],[:r],[:r],[:r],[:a5],[:r],[:e5],[:es5],[:e5],[:ds5],[:e5],[:b4],[:e5],[:ds5],[:e5],[:b4],[:e5],[:ds5],[:e5],[:b4],[:e5],[:ds5],[:e5],[:b4],[:e5],[:ds5],[:e5],[:e5],[:r],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:d5],[:bs4],[:a4],[:r],[:r],[:r],[:bs4],[:r],[:d5],[:bs4],[:a4],[:r],[:b4],[:r],[:r],[:a4],[:r],[:e5],[:r],[:r],[:d5],[:r],[:bs4],[:r],[:b4],[:r],[:r],[:r],[:r],[:r],[:a4],[:r],[:b4],[:r],[:r],[:bs4],[:r],[:r],[:r],[:a4],[:r],[:b4],[:r],[:r],[:r],[:r],[:cs5],[:r],[:r],[:cs5,:e5],[:d5,:es5],[:gs4,:d5,:es5],[:r],[:gs4,:d5,:es5],[:r],[:r],[:es4,:d5],[:r,:r],[:r],[:e4,:bs4],[:r,:r],[:fs4],[:r],[:bs3,:a4],[:e4,:bs4],[:d4,:b4],[:r],[:r],[:es4,:a4,:d5],[:cs5,:e5],[:d5,:es5],[:d5,:es5],[:r,:r],[:d5,:es5],[:d5,:es5],[:r],[:g4,:ds5],[:r],[:es4,:d5],[:ds4,:bs4],[:d4,:es4,:as4],[:d4,:es4,:a4],[:d4,:es4,:gs4],[:r],[:bs3,:e4,:a4],[:r,:r,:r],[:r],[:r],[:b4],[:r],[:a3],[:bs3],[:e4],[:a4],[:bs4],[:e5],[:d5],[:bs4],[:b4],[:a4],[:bs4],[:e5],[:a5],[:bs5],[:e6],[:d6],[:bs5],[:b5],[:a5],[:bs5],[:e6],[:a6],[:bs6],[:e7],[:d7],[:bs6],[:b6],[:as6],[:a6],[:gs6],[:g6],[:fs6],[:es6],[:e6],[:ds6],[:d6],[:cs6],[:bs5],[:b5],[:as5],[:a5],[:gs5],[:g5],[:fs5],[:es5],[:e5],[:ds5],[:e5],[:b4],[:r,:d5],[:bs4],[:a4],[:e3],[:a3],[:bs3],[:e4],[:a4],[:b4],[:r],[:bs4],[:r],[:a4],[:r],[:b4],[:r],[:a4],[:r],[:b4],[:r],[:r],[:r],[:es5],[:r],[:r],[:r],[:bs4],[:e3],[:a3],[:e4],[:d5],[:bs4],[:b4],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:a4],[:r],[:r],[:r],[:e4],[:r],[:r],[:r],[:bs4],[:e3],[:a3],[:e4],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a4],[:r],[:b4],[:r],[:bs4],[:b4],[:bs3,:a4],[:r,:r],[:r],[:r]]
s[0] = [[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[2.0],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[1.0],[1.0],[2.0],[0.5],[0.5],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[1.0],[1.0],[2.0],[1.0],[1.0],[4.0],[1.0],[1.0],[1.0],[1.0],[2.0],[1.0],[1.0],[1.0],[1.0],[2.0],[2.0],[1.0],[1.0],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[4.0],[4.0],[4.0],[2.0],[1.0],[1.0],[1.0],[1.0],[2.0],[1.0],[1.0],[2.0],[2.0],[1.0],[1.0],[1.0],[1.0],[2.0],[2.0],[2.0],[0.5],[0.25],[0.25],[0.5],[0.5],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.166666666667],[0.833333333333],[0.333333333333,0.333333333333],[0.333333333333],[0.333333333333],[0.75],[0.25],[0.4],[0.4],[0.4],[0.4],[0.4],[4.0],[2.0],[1.0],[1.0],[0.5],[0.5],[1.0],[0.5],[0.25],[0.25],[0.5],[0.125],[0.375],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[1.0],[1.0],[2.0],[2.0],[1.0],[1.0],[0.5],[0.25],[0.25],[0.5],[0.25],[0.25],[0.333333333333],[0.333333333333],[0.333333333333],[0.25],[0.25],[0.5],[2.0],[0.5],[0.5],[1.0],[2.0],[1.0],[1.0],[1.0],[1.0],[1.0],[1.0],[1.0],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[2.0],[1.0],[2.0],[1.0],[1.0],[4.0],[0.5],[0.5],[1.0],[2.0],[1.0],[1.0],[1.0],[1.0],[2.0],[1.0],[1.0],[1.0],[1.0],[2.0],[2.0],[1.0],[1.0],[4.0],[4.0],[4.0],[2.0],[1.0],[1.0],[2.0],[1.0],[1.0],[1.0],[1.0],[2.0],[2.0],[1.0],[1.0],[2.0],[1.0],[1.0],[2.0],[1.0],[0.5],[2.5],[2.0],[2.0],[0.5,0.5],[0.5,0.5],[1.0,1.0,1.0],[1.0],[1.0,1.0,1.0],[2.0],[1.0],[1.5,1.5],[0.5,0.5],[0.25],[0.75,0.75],[0.5,0.5],[0.5],[2.0],[1.0,1.0],[1.0,1.0],[1.0,1.0],[1.0],[4.0],[2.0,2.0,2.0],[0.5,0.5],[0.5,0.5],[1.5,1.5],[0.5,0.5],[1.5,1.5],[1.0,1.0],[1.0],[1.0,1.0],[0.5],[0.5,0.5],[0.5,0.5],[1.5,1.5,1.5],[1.0,1.0,1.0],[1.0,1.0,1.0],[1.0],[2.0,2.0,2.0],[1.0,1.0,1.0],[1.0],[1.0],[1.0],[2.0],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.333333333333],[0.5],[0.5],[1.0],[1.0],[0.5],[0.5],[0.8875],[0.44375,0.44375],[0.889583333333],[0.44375],[0.44375],[0.44375],[0.44375],[0.44375],[0.5],[1.5],[1.0],[1.0],[4.0],[1.0],[1.0],[2.0],[1.0],[1.0],[0.5],[1.5],[1.0],[0.5],[0.25],[1.25],[1.0],[1.0],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[2.0],[4.0],[4.0],[2.0],[1.0],[0.5],[0.5],[1.0],[0.25],[0.125],[0.625],[0.5],[2.0],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[2.0],[1.0],[1.0],[1.0],[1.0],[3.0,3.0],[1.0,1.0],[1.0],[2.0]]
d[0] = [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,2.0,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,1.0,1.0,1.0,2.0,0.5,0.5,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,1.0,1.0,1.0,2.0,1.0,1.0,4.0,1.0,1.0,1.0,1.0,2.0,1.0,1.0,1.0,1.0,2.0,2.0,1.0,1.0,0.5,0.5,0.5,0.5,1.0,1.0,4.0,4.0,4.0,2.0,1.0,1.0,1.0,1.0,2.0,1.0,1.0,2.0,2.0,1.0,1.0,1.0,1.0,2.0,2.0,2.0,0.5,0.25,0.25,0.5,0.5,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.166666666667,0.5,0.333333333333,0.333333333333,0.333333333333,0.75,0.25,0.4,0.4,0.4,0.4,0.4,4.0,2.0,1.0,1.0,0.5,0.5,1.0,0.5,0.25,0.25,0.5,0.125,0.375,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,1.0,1.0,2.0,2.0,1.0,1.0,0.5,0.25,0.25,0.5,0.25,0.25,0.333333333333,0.333333333333,0.333333333333,0.25,0.25,0.5,2.0,0.5,0.5,1.0,2.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.5,0.5,1.0,0.5,0.5,2.0,1.0,2.0,1.0,1.0,4.0,0.5,0.5,1.0,2.0,1.0,1.0,1.0,1.0,2.0,1.0,1.0,1.0,1.0,2.0,2.0,1.0,1.0,4.0,4.0,4.0,2.0,1.0,1.0,2.0,1.0,1.0,1.0,1.0,2.0,2.0,1.0,1.0,2.0,1.0,1.0,2.0,1.0,0.5,0.5,2.0,2.0,0.5,0.5,1.0,1.0,1.0,2.0,1.0,1.0,0.5,0.25,0.25,0.5,0.5,2.0,1.0,1.0,1.0,1.0,4.0,2.0,0.5,0.5,1.0,0.5,1.5,1.0,1.0,1.0,0.5,0.5,0.5,1.5,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,2.0,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.333333333333,0.5,0.5,1.0,1.0,0.5,0.5,0.44375,0.44375,0.889583333333,0.44375,0.44375,0.44375,0.44375,0.44375,0.5,1.5,1.0,1.0,4.0,1.0,1.0,2.0,1.0,1.0,0.5,1.5,1.0,0.5,0.25,0.25,1.0,1.0,1.0,0.5,0.5,0.5,0.5,0.5,0.5,1.0,1.0,2.0,4.0,4.0,2.0,1.0,0.5,0.5,1.0,0.25,0.125,0.125,0.5,2.0,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,2.0,1.0,1.0,1.0,1.0,2.0,1.0,1.0,2.0]
n[1] = [[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:d5],[:r],[:r],[:r],[:e3],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:e3],[:a3],[:r],[:bs4],[:r],[:bs4],[:r],[:bs4],[:r],[:a3],[:r],[:r],[:as3],[:r],[:bs4],[:as4],[:a4],[:a3],[:r],[:as4],[:a4],[:g4],[:a4],[:as4],[:bs4],[:r],[:r],[:d5],[:ds5],[:r],[:a3],[:bs3],[:e5],[:r],[:r],[:r],[:r],[:bs4],[:r],[:r],[:r],[:g5],[:es5],[:e5],[:d5],[:g5],[:es5],[:d5],[:bs4],[:g5],[:g4],[:g5],[:a4],[:g5],[:b4],[:g5],[:bs4],[:g5],[:d5],[:r],[:g5],[:e5],[:g5],[:bs5],[:b5],[:r],[:g5],[:es5],[:e5],[:d5],[:g5],[:es5],[:d5],[:r],[:r],[:r],[:r],[:r],[:ds5],[:r],[:ds5],[:r],[:r],[:r],[:r],[:b4],[:r],[:r],[:r],[:b4],[:r],[:r],[:r],[:e3],[:r,:a3],[:e4],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:a4],[:r],[:r],[:e4,:g4,:as4],[:r,:r,:r],[:r],[:r],[:es4,:a4,:d5],[:r],[:r],[:a4,:bs4,:e5],[:r],[:r],[:a2],[:a2],[:a2],[:r],[:d4,:b4],[:bs3,:a4],[:a2,:r,:r],[:a2,:r],[:r],[:a2],[:bs3,:a4],[:a2],[:r],[:e2,:a2],[:r],[:e2,:a2],[:r],[:r],[:gs2],[:r],[:bs3,:a4],[:r,:r],[:r],[:e4,:g4,:as4,:cs5],[:r],[:r],[:r],[:r],[:r],[:d4,:es4,:gs4],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:e3],[:a3],[:bs4],[:d5],[:e5],[:g3],[:bs3],[:g4],[:e5],[:d5],[:r],[:r],[:r],[:r],[:r],[:r],[:e3],[:a3],[:bs3],[:a4],[:r,:b4],[:r],[:r],[:r],[:r],[:r],[:r]]
s[1] = [[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[1.0],[1.0],[1.0],[0.5],[0.5],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[1.0],[0.5],[1.16666666667],[0.666666666667],[0.333333333333],[0.333333333333],[0.666666666667],[1.0],[1.0],[1.0],[1.0],[1.0],[0.5],[0.5],[2.0],[1.0],[0.5],[0.5],[0.25],[0.125],[0.125],[0.125],[0.125],[0.25],[0.166666666667],[1.83333333333],[0.666666666667],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.25],[0.125],[1.125],[1.0],[4.0],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.1875],[0.3125],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[0.25],[4.0],[4.0],[4.0],[1.0],[0.5],[1.5],[1.0],[2.0],[1.0],[1.0],[1.0],[0.5],[1.5],[1.0],[1.0],[2.0],[1.0],[1.0],[1.0],[0.5],[1.0],[0.5,0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[0.5],[1.5],[1.0],[0.5],[1.5,1.5,1.5],[1.0,1.0,1.0],[1.0],[0.25],[0.75,0.75,0.75],[1.0],[4.0],[2.0,2.0,2.0],[1.0],[0.5],[0.5],[0.375],[0.125],[0.5],[0.5,0.5],[0.75,1.0],[0.25,0.25,0.25],[0.25,0.25],[0.125],[0.375],[0.5,0.5],[0.5],[0.5],[0.5,0.5],[0.5],[0.5,0.5],[0.25],[0.125],[0.625],[0.5],[2.0,2.0],[1.0,1.0],[1.0],[2.0,2.0,2.0,2.0],[4.0],[4.0],[4.0],[2.0],[0.5],[1.5,1.5,1.5],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[4.0],[4.0],[4.0],[4.0],[4.0],[0.5],[0.5],[0.5],[1.5],[1.0,2.0],[1.0],[4.0],[4.0],[4.0],[4.0],[4.0]]
d[1] = [4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,1.0,1.0,1.0,0.5,0.5,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,1.0,0.5,0.5,0.666666666667,0.333333333333,0.333333333333,0.666666666667,1.0,1.0,1.0,1.0,1.0,0.5,0.5,2.0,1.0,0.5,0.5,0.25,0.125,0.125,0.125,0.125,0.25,0.166666666667,0.166666666667,0.666666666667,1.0,0.5,0.5,0.5,0.5,0.5,0.5,2.0,0.5,0.25,0.125,0.125,1.0,4.0,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.1875,0.0625,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,0.25,4.0,4.0,4.0,1.0,0.5,0.5,1.0,1.0,1.0,1.0,1.0,0.5,0.5,1.0,1.0,2.0,1.0,1.0,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.5,1.5,1.0,0.5,0.5,1.0,1.0,0.25,0.75,1.0,4.0,2.0,1.0,0.5,0.5,0.375,0.125,0.5,0.5,0.5,0.25,0.25,0.125,0.375,0.5,0.5,0.5,0.5,0.5,0.5,0.25,0.125,0.125,0.5,1.0,1.0,1.0,2.0,4.0,4.0,4.0,2.0,0.5,1.5,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,1.0,0.5,0.5,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,4.0,4.0,4.0,4.0,4.0,0.5,0.5,0.5,0.5,1.0,1.0,4.0,4.0,4.0,4.0,4.0]
n[2] = [[:r],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:r],[:a2],[:r],[:r],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:e4],[:bs4],[:b4],[:a2],[:r],[:r],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:e4],[:gs4],[:b4],[:a2],[:e3],[:a3],[:e4],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:e4],[:bs4],[:b4],[:a2],[:e3],[:a3],[:b4],[:bs4],[:d5],[:bs2],[:g3],[:r],[:g4],[:r,:es5],[:e5],[:g2],[:g3],[:b3],[:es4],[:e5],[:d5],[:a2],[:r],[:e2],[:e3],[:r],[:e4],[:e5],[:e4],[:r],[:e5],[:r],[:e5],[:e6],[:r],[:ds5],[:e5],[:ds5],[:ds5],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:e4],[:gs4],[:b4],[:a2],[:e3],[:a3],[:e4],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a2],[:e3],[:a3],[:bs3],[:r],[:r],[:e4],[:b4],[:a2],[:r],[:r],[:as3,:bs3,:e4],[:r],[:a3,:bs3,:es4],[:g3,:as3,:bs3,:e4,:g4],[:es3],[:r],[:r],[:bs3],[:r],[:es3],[:d4],[:d4],[:es3],[:e4],[:es3,:g3,:as3],[:r,:r],[:e4],[:es3,:g3,:as3],[:e4],[:es3],[:a3],[:bs3],[:r],[:bs3],[:a3],[:r],[:es3],[:bs3],[:a3],[:bs3],[:a3],[:e3],[:a3],[:d3,:d4],[:es3],[:g3],[:e4],[:g3],[:e4],[:r],[:g3],[:bs3,:e4],[:r],[:es4,:g4],[:e4,:g4],[:d4,:g4],[:bs3,:e4,:g4],[:es3,:a3],[:g3,:b3],[:bs3],[:r],[:es4,:g4],[:e4,:g4],[:d4,:g4],[:bs3,:e4,:g4],[:es3,:a3],[:g3,:b3],[:gs3,:b3],[:r],[:r],[:r],[:r],[:r],[:r],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:e4],[:gs4],[:b4],[:a2],[:r],[:r],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:e4],[:bs4],[:b4],[:a2],[:e3],[:a3],[:b4],[:bs4],[:d5],[:bs2],[:g3],[:bs3],[:g4],[:es5],[:e5],[:g2],[:g3],[:b3],[:es4],[:e5],[:d5],[:a2],[:e3],[:a3],[:e4],[:d5],[:bs4],[:e2],[:e3],[:e4],[:e4],[:e5],[:e4],[:e5],[:e5],[:e6],[:ds5],[:e5],[:ds5],[:e5],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:r],[:b4],[:r],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:e4],[:gs4],[:b4],[:a2],[:e3],[:a3],[:e4],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:r],[:gs3],[:e4],[:bs4],[:b4],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:r],[:r],[:a2],[:r],[:a2],[:r],[:a2],[:a2],[:r],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:d2,:a2],[:d2],[:d2],[:r],[:r],[:d2],[:r],[:r],[:d2,:a2],[:r,:r],[:d2,:a2],[:ds2,:a2],[:ds2],[:r],[:ds2],[:r],[:r],[:ds2],[:r],[:ds2,:a2],[:ds2],[:r],[:r],[:r],[:r],[:gs2],[:r],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:r],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:a2],[:as2],[:as2],[:as2],[:r],[:as2],[:r],[:as2],[:as2],[:as2],[:as2],[:r],[:as2],[:r],[:as2],[:as2],[:as2],[:r],[:as2],[:r],[:as2],[:r],[:as2],[:as2],[:as2],[:as2],[:b2],[:b2],[:r],[:b2],[:r],[:b2],[:r],[:b2],[:r],[:bs2],[:r],[:r],[:r],[:e3,:gs3,:d4,:e4],[:r],[:a1],[:r],[:a3,:bs3,:e4],[:a3,:bs3,:e4],[:r],[:a3,:bs3,:e4],[:a3,:bs3,:e4],[:r],[:a3,:bs3,:e4],[:a3,:bs3,:e4],[:r,:r,:r],[:r],[:r],[:r],[:r],[:a2],[:r],[:r],[:e2],[:e3],[:gs3],[:e4],[:gs4],[:b4],[:a2],[:e3],[:a3],[:e4],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:b4],[:d5],[:bs4],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:e4],[:r],[:bs4],[:b4],[:a2],[:r],[:bs2],[:r],[:r],[:g2],[:g3],[:b3],[:es4],[:e5],[:d5],[:a2],[:r],[:e2],[:e3],[:e4],[:e4],[:e5],[:e4],[:r],[:e5],[:e5],[:e6],[:ds5],[:r],[:e5],[:r],[:ds5],[:e5],[:ds5],[:e5],[:ds5],[:e5],[:r],[:r],[:e5],[:r],[:r],[:r],[:r],[:e2],[:e3],[:gs3],[:e4],[:gs4],[:b4],[:a2],[:r],[:r],[:r],[:a2],[:e3],[:a3],[:bs3],[:e4],[:a4],[:e2],[:e3],[:gs3],[:d4],[:r],[:r],[:a1,:a2],[:r,:r],[:r],[:r]]
s[2] = [[4.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[2.0],[1.0],[1.0],[4.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[4.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5,0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[2.0],[0.666666666667],[0.333333333333],[0.333333333333],[0.666666666667],[0.75],[0.625],[0.375],[0.625],[0.5],[0.666666666667],[0.333333333333],[0.333333333333],[0.666666666667],[1.0],[1.0],[1.0],[1.0],[1.0],[1.0],[0.5],[0.5],[0.5],[0.5],[0.666666666667],[0.666666666667],[0.666666666667],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[1.5],[0.5],[0.5],[1.0],[0.666666666667],[0.666666666667,0.333333333333,0.333333333333],[0.333333333333],[0.666666666667,0.666666666667,0.666666666667],[1.0,1.0,1.0,1.0,1.0],[1.0],[0.5],[0.25],[0.25],[0.5],[0.5],[1.0],[1.0],[0.4],[0.4],[0.2,0.4,0.4],[0.2,0.2],[0.4],[0.4,0.4,0.4],[0.5],[0.5],[0.5],[0.5],[0.5],[0.25],[0.5],[0.25],[0.75],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[0.5,0.5],[0.5],[0.5],[0.5],[0.333333333333],[0.333333333333],[0.333333333333],[1.0],[1.0,1.0],[0.5],[0.5,0.5],[0.5,0.5],[0.5,0.5],[1.0,1.0,1.0],[1.0,1.0],[1.0,1.0],[1.0],[0.5],[0.5,0.5],[0.5,0.5],[0.5,0.5],[1.0,1.0,1.0],[1.0,1.0],[1.0,1.0],[2.0,2.0],[2.0],[4.0],[4.0],[4.0],[4.0],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[4.0],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.666666666667],[0.666666666667],[0.666666666667],[1.0],[1.0],[1.0],[1.0],[1.0],[1.0],[1.0],[0.5],[0.5],[1.0],[1.0],[2.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.25],[0.5],[0.25],[0.5],[0.125],[0.375],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.375],[0.125],[0.25],[0.125],[0.125],[0.25],[0.25],[0.25],[0.5],[0.25],[0.25],[0.25],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5,0.5],[0.5],[0.25],[0.0625],[0.03125],[0.34375],[0.125],[0.1875],[0.3125,0.3125],[0.25,0.25],[0.5,0.5],[0.5,0.5],[0.166666666667],[0.166666666667],[0.166666666667],[0.125],[0.03125],[0.09375],[0.25],[0.5,0.5],[0.5],[1.0],[0.5],[0.25],[0.125],[0.125],[2.0],[0.5],[0.5],[0.5],[0.5],[0.4],[0.4],[0.2],[0.2],[0.4],[0.4],[0.5],[0.5],[0.333333333333],[0.333333333333],[0.333333333333],[0.5],[0.5],[0.333333333333],[0.333333333333],[0.333333333333],[0.5],[0.5],[0.5],[0.5],[0.375],[0.125],[0.25],[0.25],[0.125],[0.375],[0.5],[0.375],[0.375],[0.25],[0.25],[0.25],[0.25],[0.5],[0.5],[0.0833333333333],[0.0833333333333],[0.166666666667],[0.166666666667],[0.25],[0.25],[0.5],[0.5],[0.5],[0.375],[0.375],[0.25],[0.25],[0.25],[0.25],[0.0625],[0.1875],[0.25],[2.0],[1.0],[1.0],[1.0],[1.0,1.0,1.0,1.0],[2.0],[1.0],[1.0],[1.0,1.0,1.0],[1.0,1.0,1.0],[1.0],[1.0,1.0,1.0],[1.0,1.0,1.0],[1.0],[1.0,1.0,1.0],[2.0,2.0,2.0],[1.0,1.0,1.0],[1.0],[2.0],[4.0],[2.0],[1.0],[1.0],[0.4],[0.4],[0.4],[0.4],[0.4],[0.4],[0.4],[0.4],[0.4],[0.4],[0.5],[0.5],[0.5],[0.5],[0.333333333333],[0.333333333333],[0.333333333333],[0.5],[0.5],[0.5],[0.5],[0.333333333333],[0.333333333333],[0.333333333333],[0.5],[0.5],[0.5],[0.25],[0.5],[0.25],[0.25],[0.5],[1.0],[2.0],[1.0],[1.0],[0.5],[0.5],[0.333333333333],[0.333333333333],[0.333333333333],[0.5],[0.5],[1.0],[2.0],[0.666666666667],[0.666666666667],[0.666666666667],[0.5],[0.5],[0.333333333333],[0.333333333333],[0.333333333333],[1.0],[0.5],[1.16666666667],[0.666666666667],[0.333333333333],[0.333333333333],[0.666666666667],[0.8],[0.8],[0.8],[0.8],[0.8],[1.0],[0.5],[1.5],[1.0],[1.0],[2.0],[0.2],[0.6],[0.4],[0.4],[0.4],[0.5],[0.5],[1.0],[2.0],[2.0],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.5],[1.0],[1.0],[3.0,3.0],[1.0,1.0],[1.0],[2.0]]
d[2] = [4.0,0.5,0.5,0.5,0.5,0.5,0.5,1.0,2.0,1.0,1.0,4.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,1.0,4.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,2.0,0.666666666667,0.333333333333,0.333333333333,0.666666666667,0.75,0.25,0.375,0.125,0.5,0.666666666667,0.333333333333,0.333333333333,0.666666666667,1.0,1.0,1.0,1.0,1.0,1.0,0.5,0.5,0.5,0.5,0.666666666667,0.666666666667,0.666666666667,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,2.0,0.5,1.5,0.5,0.5,1.0,0.666666666667,0.333333333333,0.333333333333,0.666666666667,1.0,1.0,0.5,0.25,0.25,0.5,0.5,1.0,1.0,0.4,0.4,0.2,0.2,0.4,0.4,0.5,0.5,0.5,0.5,0.5,0.25,0.25,0.25,0.75,0.5,0.5,0.5,0.5,1.5,0.5,0.5,0.5,0.5,0.5,0.333333333333,0.333333333333,0.333333333333,1.0,1.0,0.5,0.5,0.5,0.5,1.0,1.0,1.0,1.0,0.5,0.5,0.5,0.5,1.0,1.0,1.0,2.0,2.0,4.0,4.0,4.0,4.0,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,4.0,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.666666666667,0.666666666667,0.666666666667,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.5,0.5,1.0,1.0,2.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.25,0.5,0.25,0.5,0.125,0.375,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.375,0.125,0.25,0.125,0.125,0.25,0.25,0.25,0.5,0.25,0.25,0.25,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.25,0.0625,0.03125,0.03125,0.125,0.1875,0.0625,0.25,0.5,0.5,0.166666666667,0.166666666667,0.166666666667,0.125,0.03125,0.09375,0.25,0.5,0.5,1.0,0.5,0.25,0.125,0.125,2.0,0.5,0.5,0.5,0.5,0.4,0.4,0.2,0.2,0.4,0.4,0.5,0.5,0.333333333333,0.333333333333,0.333333333333,0.5,0.5,0.333333333333,0.333333333333,0.333333333333,0.5,0.5,0.5,0.5,0.375,0.125,0.25,0.25,0.125,0.375,0.5,0.375,0.125,0.25,0.25,0.25,0.25,0.5,0.5,0.0833333333333,0.0833333333333,0.166666666667,0.166666666667,0.25,0.25,0.5,0.5,0.5,0.375,0.125,0.25,0.25,0.25,0.25,0.0625,0.1875,0.25,1.0,1.0,1.0,1.0,1.0,2.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,2.0,4.0,2.0,1.0,1.0,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.4,0.5,0.5,0.5,0.5,0.333333333333,0.333333333333,0.333333333333,0.5,0.5,0.5,0.5,0.333333333333,0.333333333333,0.333333333333,0.5,0.5,0.5,0.25,0.25,0.25,0.25,0.5,1.0,2.0,1.0,1.0,0.5,0.5,0.333333333333,0.333333333333,0.333333333333,0.5,0.5,1.0,2.0,0.666666666667,0.666666666667,0.666666666667,0.5,0.5,0.333333333333,0.333333333333,0.333333333333,1.0,0.5,0.5,0.666666666667,0.333333333333,0.333333333333,0.666666666667,0.8,0.8,0.8,0.8,0.8,1.0,0.5,0.5,1.0,1.0,2.0,0.2,0.6,0.4,0.4,0.4,0.5,0.5,1.0,2.0,2.0,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,1.0,2.0,1.0,1.0,2.0]
n[3] = [[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:bs3],[:r],[:r],[:r],[:r],[:r],[:r],[:e5],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:e4],[:a4],[:e2],[:e3],[:gs3],[:bs4],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:a3],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:ds5],[:r],[:r],[:r],[:ds5],[:e5],[:r],[:d5],[:bs4,:r],[:a2],[:e3],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:e2,:a2],[:e2,:a2],[:r],[:e2],[:r],[:e2],[:r],[:a1,:a2],[:a2],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:b2],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:ds5],[:e5],[:ds5],[:b4],[:d5],[:bs4],[:a2],[:r],[:r],[:r],[:r],[:r],[:r]]
s[3] = [[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[2.0],[1.0],[1.0],[4.0],[4.0],[4.0],[1.0],[0.5],[1.5],[1.0],[1.0],[4.0],[4.0],[4.0],[4.0],[4.0],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[4.0],[4.0],[4.0],[2.0],[1.0],[0.5],[0.25],[1.25],[1.0],[1.0],[2.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[2.0],[1.0],[0.5],[1.5],[1.0],[1.0],[2.0],[0.5],[0.5],[0.5],[1.5],[1.0,1.0],[0.5],[0.5],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[1.0,1.0],[0.75,0.75],[0.125],[0.5],[0.375],[0.625],[0.5],[0.5,0.5],[0.5],[4.0],[4.0],[4.0],[4.0],[2.0],[0.5],[0.25],[1.25],[1.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[0.5],[0.5],[1.0],[0.5],[0.5],[0.5],[0.5],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0]]
d[3] = [4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,2.0,1.0,1.0,4.0,4.0,4.0,1.0,0.5,0.5,1.0,1.0,4.0,4.0,4.0,4.0,4.0,0.5,0.5,0.5,0.5,1.0,1.0,4.0,4.0,4.0,2.0,1.0,0.5,0.25,0.25,1.0,1.0,2.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,2.0,1.0,0.5,0.5,1.0,1.0,2.0,0.5,0.5,0.5,0.5,1.0,0.5,0.5,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,1.0,0.75,0.125,0.125,0.375,0.125,0.5,0.5,0.5,4.0,4.0,4.0,4.0,2.0,0.5,0.25,0.25,1.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.5,0.5,1.0,0.5,0.5,0.5,0.5,4.0,4.0,4.0,4.0,4.0,4.0]
in_thread do
  use_synth :piano
  use_bpm 123
  for j in 0..n[0].length - 1
    fire n[0][j], d[0][j], s[0][j]
  end
end
in_thread do
  use_synth :piano
  use_bpm 123
  for j in 0..n[1].length - 1
    fire n[1][j], d[1][j], s[1][j]
  end
end
in_thread do
  use_synth :piano
  use_bpm 123
  for j in 0..n[2].length - 1
    fire n[2][j], d[2][j], s[2][j]
  end
end
in_thread do
  use_synth :piano
  use_bpm 123
  for j in 0..n[3].length - 1
    fire n[3][j], d[3][j], s[3][j]
  end
end

Author: Fantashit