[Code] Childhood Memory – Bandari in SONIC PI

summer-ani

Featured gif image source: https://mienar.com/portfolio/2uwc2mqxp7mpdz6zxhm2nj71ui05yf

Continue the series of raw Sonic Pi covers, the following is my Sonic Pi cover of the infamous symphony Childhood Memory – Bandari. There are no special sound effects added, just raw.

Save the following code to a file and load it into your Sonic Pi editor via run_file command (e.g: run_file(“path/childhood-memory.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] = [[:r],[:r],[:c4],[:f4],[:g4],[:ab4],[:bb4],[:c5],[:bb4],[:g4],[:eb4],[:f4],[:r],[:c4],[:f4],[:g4],[:ab4],[:bb4],[:c5],[:bb4],[:g4],[:eb4],[:eb5],[:r],[:c5],[:db5],[:eb5],[:f5],[:eb5],[:db5],[:c5],[:bb4],[:c5],[:ab4],[:g4],[:f4],[:f4],[:g4],[:ab4],[:g4],[:f4],[:g4],[:g4],[:f4],[:r],[:c4],[:f4],[:g4],[:ab4],[:bb4],[:c5],[:bb4],[:bb4],[:eb5],[:c5],[:r],[:c4],[:f4],[:g4],[:ab4],[:bb4],[:c5],[:bb4],[:bb4],[:eb5],[:c5],[:r],[:c5],[:db5],[:eb5],[:f5],[:eb5],[:db5],[:c5],[:bb4],[:c5],[:ab4],[:g4],[:f4],[:f4],[:g4],[:ab4],[:g4],[:f4],[:g4],[:e4],[:f4],[:r],[:ab4],[:bb4],[:c5],[:bb4],[:ab4],[:bb4],[:bb4],[:c5],[:db5],[:db5],[:eb5],[:c5],[:c5],[:c5],[:bb4],[:ab4],[:f5],[:f5],[:g5],[:ab5],[:eb5],[:c5],[:ab4],[:eb4],[:c4],[:bb4],[:c5],[:db5],[:c5],[:bb4],[:ab4],[:bb4],[:ab4],[:r],[:c6],[:r],[:bb5],[:c6],[:bb5],[:c6],[:bb5],[:bb4],[:c5],[:r],[:db6],[:c6],[:db6],[:db5],[:eb5],[:r],[:f6],[:eb6],[:db6],[:c5,:c6],[:bb4,:bb5],[:ab4,:ab5],[:r],[:ab5],[:db6],[:f6],[:ab4],[:bb4],[:r],[:ab5],[:eb6],[:db6],[:eb5,:c6],[:db5,:bb5],[:c5,:ab5],[:db5],[:c5],[:bb4],[:ab4],[:c5],[:r],[:c4],[:f4],[:g4],[:ab4],[:bb4],[:c5],[:bb4],[:g4],[:eb4],[:f4],[:r],[:c4],[:f4],[:g4],[:ab4],[:bb4],[:c5],[:bb4],[:g4],[:eb4],[:eb5],[:r],[:c5,:c6],[:db5,:db6],[:eb5,:eb6],[:f5,:f6],[:eb5,:eb6],[:db5,:db6],[:c5,:c6],[:bb4,:bb5],[:c5,:c6],[:ab4,:ab5],[:g4,:g5],[:f4,:f5],[:f4,:f5],[:g4,:g5],[:ab4,:ab5],[:g4,:g5],[:f4,:f5],[:g4,:g5],[:g4,:g5],[:f4,:f5],[:r],[:c5],[:f5],[:g5],[:ab5],[:bb5],[:c6],[:bb5],[:bb5],[:eb6],[:c6],[:r],[:c5],[:f5],[:g5],[:ab5],[:bb5],[:c6],[:bb5],[:bb5],[:eb6],[:c6],[:r],[:c6],[:db6],[:eb6],[:f6],[:eb6],[:db6],[:c6],[:bb5],[:c6],[:ab5],[:g5],[:f5],[:f5],[:g5],[:ab5],[:g5],[:f5],[:g5],[:e5],[:f5],[:r],[:f6],[:g6],[:ab6],[:g6],[:f6],[:g6],[:e6],[:f6]]
s[0] = [[2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[1.0],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[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],[1.0],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[1.0],[2.0],[1.0],[0.5],[0.5],[3.0],[0.5],[0.5],[3.0],[0.5],[0.5],[3.0],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[3.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[3.0],[1.0],[3.0],[0.5],[0.5],[1.0],[1.0],[2.0],[1.0],[0.25],[0.25],[0.25],[0.25],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[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],[0.5],[0.5],[1.0],[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],[1.0],[1.0],[1.0],[2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[2.0],[0.5],[0.5,0.5],[0.5,0.5],[0.5,0.5],[1.0,1.0],[0.5,0.5],[0.5,0.5],[1.0,1.0],[1.0,1.0],[1.0,1.0],[0.5,0.5],[0.5,0.5],[1.0,1.0],[0.5,0.5],[0.5,0.5],[1.0,1.0],[0.5,0.5],[0.5,0.5],[1.0,1.0],[1.0,1.0],[2.0,2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1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.5,0.5,0.5,2.0,0.5,0.5,0.5,0.5,1.0,0.5,0.5,1.0,0.5,0.5,1.0,0.5,0.5,1.0,1.0,2.0,1.0,0.5,0.5,1.0,0.5,0.5,1.0,1.0,4.0]
n[1] = [[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:c5],[:c5,:eb5],[:c5,:ab5],[:c5,:bb5],[:c5],[:bb4],[:ab4],[:bb4],[:r],[:db5],[:r],[:c5],[:r],[:f5],[:r],[:c5],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[: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],[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,0.5],[0.5,0.5],[0.5,0.5],[1.0],[0.5],[0.5],[3.0],[1.0],[3.0],[1.0],[2.0],[2.0],[3.0],[1.0],[3.0],[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],[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,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,0.5,0.5,1.0,0.5,0.5,3.0,1.0,3.0,1.0,2.0,2.0,3.0,1.0,3.0,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,4.0,4.0,4.0,4.0]
n[2] = [[:r],[:f2],[:c3],[:f3],[:ab3],[:eb2],[:bb2],[:eb3],[:g3],[:f2,:f3],[:c3],[:f3],[:g3],[:ab3],[:r],[:f2],[:c3],[:f3],[:ab3],[:eb2],[:bb2],[:eb3],[:g3],[:ab2,:ab3],[:eb3],[:ab3],[:c4],[:eb4],[:r],[:db3],[:ab3],[:db4],[:ab3],[:c3],[:g3],[:c4],[:g3],[:f2],[:c3],[:ab3],[:c3],[:db2],[:ab2],[:f3],[:ab2],[:c2],[:f2],[:c3],[:f2],[:c2],[:g2],[:c3],[:g2],[:f2,:f3],[:c3],[:f3],[:ab3],[:c4],[:r],[:db2],[:ab2],[:f3],[:ab3],[:eb2],[:bb2],[:eb3],[:g3],[:ab2,:ab3],[:eb3],[:ab3],[:c4],[:eb4],[:r],[:db2],[:ab2],[:db3],[:ab3],[:eb2],[:bb2],[:eb3],[:g3],[:ab2,:ab3],[:eb3],[:g3,:ab3],[:eb3],[:ab3],[:c4],[:eb4],[:db2],[:f2],[:ab2],[:db3],[:c2],[:g2],[:c3],[:e3],[:f2],[:c3],[:f3],[:ab3],[:db2],[:ab2],[:db3],[:f3],[:c2],[:f2],[:c3],[:f3],[:c2],[:g2],[:e3],[:g3],[:f2,:f3],[:c3],[:f3],[:ab3],[:c4],[:r],[:ab2],[:eb3],[:ab3],[:c4],[:ab2],[:eb3],[:ab3],[:c4],[:g2],[:eb3],[:g3],[:bb3],[:g2],[:eb3],[:g2],[:gb2],[:db2],[:db3],[:ab3],[:db4],[:db2],[:db3],[:ab3],[:db4],[:ab2],[:eb3],[:ab3],[:c4],[:ab2],[:ab3],[:g3],[:f3],[:db3],[:ab3],[:db4],[:f4],[:f4],[:ab3],[:db4],[:f4],[:ab2],[:c3],[:eb3],[:ab3],[:c4],[:ab3],[:g3],[:eb3],[:bb2],[:f3],[:bb3],[:db4],[:f4],[:r],[:g2],[:bb2],[:eb3],[:g3],[:bb3],[:r],[:ab2],[:eb3],[:ab3],[:c4],[:ab2],[:eb3],[:ab3],[:c4],[:g2],[:eb3],[:g3],[:bb3],[:g2],[:eb3],[:g2],[:gb2],[:f2],[:db3],[:ab3],[:db4],[:f2],[:db3],[:ab3],[:db4],[:ab2],[:eb3],[:ab3],[:c4],[:ab2],[:ab3],[:g3],[:f3],[:db3],[:ab3],[:db4],[:f4],[:f4],[:ab3],[:db4],[:f4],[:ab2],[:eb3],[:ab3],[:c4],[:ab3],[:c4],[:ab3],[:eb3],[:db2],[:ab2],[:db3],[:f3],[:ab3],[:db4],[:f4],[:db4],[:c2],[:c3],[:e3],[:g3],[:bb3],[:r],[:f2],[:c3],[:f3],[:ab3],[:eb2],[:bb2],[:eb3],[:g3],[:f2,:f3],[:c3],[:f3],[:g3],[:ab3],[:r],[:f2],[:c3],[:f3],[:ab3],[:eb2],[:bb2],[:eb3],[:g3],[:ab2,:ab3],[:eb3],[:ab3],[:c4],[:eb4],[:r],[:db3],[:ab3],[:db4],[:ab3],[:c3],[:g3],[:c4],[:g3],[:f2],[:c3],[:ab3],[:c3],[:db2],[:ab2],[:f3],[:ab2],[:c2],[:f2],[:c3],[:f2],[:c2],[:g2],[:c3],[:g2],[:f2,:f3],[:c3],[:f3],[:ab3],[:c4],[:r],[:db2],[:ab2],[:f3],[:ab3],[:eb2],[:bb2],[:eb3],[:g3],[:ab2,:ab3],[:eb3],[:ab3],[:c4],[:eb4],[:r],[:db2],[:ab2],[:db3],[:ab3],[:eb2],[:bb2],[:eb3],[:g3],[:ab2,:ab3],[:eb3],[:g3,:ab3],[:eb3],[:ab3],[:c4],[:eb4],[:db2],[:f2],[:ab2],[:db3],[:c2],[:g2],[:c3],[:e3],[:f2],[:c3],[:f3],[:ab3],[:db2],[:ab2],[:db3],[:f3],[:c2],[:f2],[:c3],[:f3],[:c2],[:g2],[:e3],[:g3],[:f2,:f3],[:c3],[:f3],[:ab3],[:c4],[:r],[:db3],[:ab3],[:db4],[:f4],[:c3],[:g3],[:c4],[:e4],[:r],[:r],[:r],[:r],[:f5],[:f5],[:f5],[:r]]
s[2] = [[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],[1.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],[1.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],[1.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],[1.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],[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],[1.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.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[0.5],[0.5],[0.5],[0.5],[1.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.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],[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],[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],[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],[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],[1.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],[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],[1.0],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[1.0],[0.5],[0.25],[0.125],[0.125],[1.5],[0.25],[0.25]]
d[2] = [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,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,0.5,0.5,0.5,0.5,0.5,0.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5,0.5,0.5,0.5,0.5,0.5,1.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,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,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,1.0,1.0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,1.0,0.5,0.25,0.125,0.125,1.5,0.25,0.25]
n[3] = [[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:c5],[:c5],[:c5],[: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],[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],[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],[4.0],[4.0],[1.0],[0.5],[0.25],[0.125],[0.0625],[0.0625],[1.5],[0.25],[0.25]]
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,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,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,4.0,4.0,1.0,0.5,0.25,0.125,0.0625,0.0625,1.5,0.25,0.25]
n[4] = [[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:c4],[:r]]
s[4] = [[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],[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],[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],[1.0],[0.5],[0.5],[2.0]]
d[4] = [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,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,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,1.0,0.5,0.5,2.0]
n[5] = [[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:f3],[:g3],[:ab3],[:f4]]
s[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],[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],[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],[4.0],[0.5],[0.5],[1.0],[2.0]]
d[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,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,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,4.0,0.5,0.5,1.0,2.0]
in_thread do
  use_synth :tri
  use_bpm 75
  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 :tri
  use_bpm 75
  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 :tri
  use_bpm 75
  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 :tri
  use_bpm 75
  for j in 0..n[3].length - 1
    fire n[3][j], d[3][j], s[3][j]
  end
end
in_thread do
  use_synth :tri
  use_bpm 75
  for j in 0..n[4].length - 1
    fire n[4][j], d[4][j], s[4][j]
  end
end
in_thread do
  use_synth :tri
  use_bpm 75
  for j in 0..n[5].length - 1
    fire n[5][j], d[5][j], s[5][j]
  end
end

Author: Fantashit