[Code] Song from a secret garden in SONIC PI

song-from-a-secret-garden

Here is my first try to do a cover of Song from a secret garden in Sonic Pi. There are no special sound effects added yet, 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] = [[:r],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:eb5],[:eb5],[:f5],[:d5],[:c5],[:d5],[:d5],[:eb5],[:c5],[:bb4],[:c5],[:bb4],[:g4],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:g4,:eb5],[:g4,:eb5],[:f5],[:d5],[:c5],[:d5],[:f4,:d5],[:eb5],[:c5],[:bb4],[:c5],[:bb4],[:c5],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:eb5],[:eb5],[:f5],[:d5],[:c5],[:d5],[:c5],[:d5],[:d5],[:eb5],[:c5],[:bb4],[:c5],[:bb4],[:g4],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:r],[:r],[:ab4],[:eb5],[:r],[:d5],[:d5],[:r],[:r],[:c5],[:r],[:r],[:d5],[:eb5],[:bb5],[:c6],[:r],[:r],[:d6],[:bb5],[:ab5],[:bb5],[:ab5],[:bb5],[:r],[:d5],[:eb5],[:g5],[:ab5],[:ab5],[:bb5],[:g5],[:f5],[:g5],[:r],[:d5],[:eb5],[:bb5],[:c6],[:c6],[:d6],[:bb5],[:a5],[:bb5],[:bb5],[:c6],[:ab5],[:g5],[:ab5],[:ab5],[:bb5],[:g5],[:f5],[:g5],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:eb5],[:eb5],[:f5],[:d5],[:c5],[:d5],[:d5],[:eb5],[:c5],[:bb4],[:c5],[:bb4],[:g4],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:g4,:eb5],[:g4,:eb5],[:f5],[:d5],[:c5],[:d5],[:f4,:d5],[:eb5],[:c5],[:bb4],[:c5],[:bb4],[:c5],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:eb5],[:eb5],[:f5],[:d5],[:c5],[:d5],[:c5],[:d5],[:d5],[:eb5],[:c5],[:bb4],[:c5],[:bb4],[:g4],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:r],[:r],[:ab4],[:eb5],[:r],[:d5],[:d5],[:r],[:r],[:c5],[:r],[:r],[:d5],[:eb5],[:bb5],[:c6],[:r],[:r],[:d6],[:bb5],[:ab5],[:bb5],[:ab5],[:bb5],[:r],[:d5],[:eb5],[:g5],[:ab5],[:ab5],[:bb5],[:g5],[:f5],[:g5],[:r],[:d5],[:eb5],[:bb5],[:c6],[:c6],[:d6],[:bb5],[:a5],[:bb5],[:bb5],[:c6],[:ab5],[:g5],[:ab5],[:ab5],[:bb5],[:g5],[:f5],[:g5],[:r],[:g4],[:c5],[:d5],[:eb5],[:d5],[:eb5],[:eb5],[:f5],[:d5],[:c5],[:d5],[:c5],[:d5],[:d5],[:eb5],[:c5],[:bb4],[:c5],[:bb4],[:g4],[:r],[:g3],[:c4],[:d4],[:eb4,:g4],[:d4,:f4],[:eb4,:g4],[:eb4,:g4],[:f4,:ab4],[:d4,:f4],[:c4,:eb4],[:d4],[:c4],[:d4,:f4],[:d4,:f4],[:d4,:f4],[:eb4,:g4],[:c4,:eb4],[:bb3,:d4],[:c4,:eb4],[:bb3,:d4],[:c4],[:d5],[:eb5],[:c5],[:bb4],[:c5],[:bb4],[:eb4,:g4,:c5],[:r,:r,:r]]
s[0] = [[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0,2.0],[0.5,0.5],[0.5],[0.5],[0.5],[2.0],[0.5,0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.25],[0.125],[0.125],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[1.0],[0.5],[0.5],[1.0],[1.0],[2.0],[1.0],[1.0],[2.0],[2.25],[0.25],[0.25],[0.5],[0.5],[0.5],[2.25],[0.25],[0.25],[0.5],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.75],[0.25],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[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.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0,2.0],[0.5,0.5],[0.5],[0.5],[0.5],[2.0],[0.5,0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.25],[0.125],[0.125],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[1.0],[0.5],[0.5],[1.0],[1.0],[2.0],[1.0],[1.0],[2.0],[2.25],[0.25],[0.25],[0.5],[0.5],[0.5],[2.25],[0.25],[0.25],[0.5],[0.5],[0.5],[0.5],[0.5],[1.5],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.75],[0.25],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[0.5],[0.5],[2.0],[0.5],[0.5],[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,0.25,0.125,0.125,2.0,0.5,0.5,0.5,0.5,1.5,0.5,2.0,0.5,0.5,0.5,0.5,1.5,0.5,1.0,0.5,0.5,1.0,1.0,2.0,1.0,1.0,2.0,2.0,0.25,0.25,0.5,0.5,0.5,2.0,0.25,0.25,0.5,0.5,0.5,0.5,0.5,1.0,0.5,0.5,0.5,0.5,2.0,0.5,0.5,0.75,0.25,2.0,0.5,0.5,0.5,0.5,2.0,0.5,0.5,0.5,0.5,2.0,0.5,0.5,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.5,0.5,2.0,0.5,0.5,0.5,0.25,0.125,0.125,2.0,0.5,0.5,0.5,0.5,1.5,0.5,2.0,0.5,0.5,0.5,0.5,1.5,0.5,2.0,0.5,0.5,0.5,0.25,0.125,0.125,1.5,0.5,0.5,0.5,0.5,0.5,1.5,0.5,4.0,0.5,0.5,0.5,0.5,1.5,0.5,4.0,4.0]
n[1] = [[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:eb4],[:r],[:eb5],[:f4],[:r,:f5],[:r,:d5],[:r,:c5],[:r,:d5],[:r,:c5],[:r],[:r],[:r],[:g4],[:eb4],[:r,:eb5],[:r,:c5],[:r,:bb4],[:c5],[:bb4],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:eb4],[:r],[:eb5],[:f4],[:r,:f5],[:r,:d5],[:r,:c5],[:r,:d5],[:r,:c5],[:r],[:r],[:r],[:g4],[:eb4],[:r,:eb5],[:r,:c5],[:r,:bb4],[:c5],[:bb4],[: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],[1.0],[1.0],[2.0],[3.25],[0.5,0.5],[0.5,0.5],[0.25,0.25],[0.125,0.125],[0.125,0.125],[1.0],[0.25],[0.25],[0.5],[2.0],[0.5,0.5],[0.5,0.5],[0.5,0.5],[1.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],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[4.0],[1.0],[1.0],[2.0],[3.25],[0.5,0.5],[0.5,0.5],[0.25,0.25],[0.125,0.125],[0.125,0.125],[1.0],[0.25],[0.25],[0.5],[2.0],[0.5,0.5],[0.5,0.5],[0.5,0.5],[1.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],[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,1.0,1.0,2.0,0.5,0.5,0.5,0.25,0.125,0.125,1.0,0.25,0.25,0.5,0.5,0.5,0.5,0.5,1.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,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,1.0,1.0,2.0,0.5,0.5,0.5,0.25,0.125,0.125,1.0,0.25,0.25,0.5,0.5,0.5,0.5,0.5,1.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,4.0,4.0,4.0,4.0,4.0,4.0,4.0]
n[2] = [[:r],[:c3],[:g3],[:c4],[:f2],[:c3],[:ab3],[:bb2],[:f3],[:d4],[:eb2],[:bb2],[:g3],[:d4],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:g2],[:d3],[:g3],[:a3],[:b3],[:d4],[:c3],[:g3],[:eb4],[:f4],[:ab2],[:c3],[:ab3],[:bb2],[:f3],[:c4],[:d4],[:eb2],[:bb2],[:g3],[:d4],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:c3],[:g3],[:c4],[:d4],[:eb4],[:c3],[:g3],[:eb4],[:f2],[:c3],[:ab3],[:bb2],[:f3],[:d4],[:eb2],[:bb2],[:g3],[:d4],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:g2],[:d3],[:g3],[:a3],[:b3],[:d4],[:r],[:eb4],[:bb2],[:f3],[:d4],[:eb2],[:bb2],[:g3],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:c2],[:c3],[:g3],[:c4],[:eb4],[:g4],[:c5],[:ab2],[:ab3],[:c4],[:ab3],[:ab2],[:f3],[:d4],[:f3],[:g2],[:d3],[:bb3],[:d3],[:c3],[:g3],[:c4],[:g3],[:f2],[:c3],[:ab3],[:c3],[:bb2],[:f3],[:d4],[:f3],[:eb2],[:bb2],[:d4],[:c4],[:bb3],[:a2],[:g3],[:eb4],[:g3],[:gb2],[:a3],[:d4],[:g2],[:d3],[:bb3],[:e2],[:g3],[:c4],[:f2],[:ab3],[:f4],[:eb2],[:c4],[:g4],[:c4],[:d2],[:ab3],[:c4],[:ab3],[:g2],[:c3],[:g3],[:c4],[:f2],[:c3],[:ab3],[:bb2],[:f3],[:d4],[:eb2],[:bb2],[:g3],[:d4],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:g2],[:d3],[:g3],[:a3],[:b3],[:d4],[:c3],[:g3],[:eb4],[:f4],[:ab2],[:c3],[:ab3],[:bb2],[:f3],[:c4],[:d4],[:eb2],[:bb2],[:g3],[:d4],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:c3],[:g3],[:c4],[:d4],[:eb4],[:c3],[:g3],[:eb4],[:f2],[:c3],[:ab3],[:bb2],[:f3],[:d4],[:eb2],[:bb2],[:g3],[:d4],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:g2],[:d3],[:g3],[:a3],[:b3],[:d4],[:r],[:eb4],[:bb2],[:f3],[:d4],[:eb2],[:bb2],[:g3],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:c2],[:c3],[:g3],[:c4],[:eb4],[:g4],[:c5],[:ab2],[:ab3],[:c4],[:ab3],[:ab2],[:f3],[:d4],[:f3],[:g2],[:d3],[:bb3],[:d3],[:c3],[:g3],[:c4],[:g3],[:f2],[:c3],[:ab3],[:c3],[:bb2],[:f3],[:d4],[:f3],[:eb2],[:bb2],[:d4],[:c4],[:bb3],[:a2],[:g3],[:eb4],[:g3],[:gb2],[:a3],[:d4],[:g2],[:d3],[:bb3],[:e2],[:g3],[:c4],[:f2],[:ab3],[:f4],[:eb2],[:c4],[:g4],[:c4],[:d2],[:ab3],[:c4],[:ab3],[:g2],[:c3],[:g3],[:eb4],[:f2],[:c3],[:ab3],[:bb2],[:f3],[:d4],[:eb2],[:bb2],[:g3],[:d4],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:g2],[:d3],[:g3],[:a3],[:b3],[:c3],[:g3],[:c4],[:f2],[:c3],[:ab3],[:bb2],[:f3],[:bb3],[:eb2],[:bb2],[:g3],[:ab2],[:eb3],[:ab3],[:f2],[:c3],[:ab3],[:c2],[:g2],[:c3],[:d3],[:eb3],[:g3],[:ab2],[:eb3],[:c4],[:f2],[:c3],[:ab3],[:c2],[:g2],[:c3],[:d3],[:eb3],[:r]]
s[2] = [[4.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],[1.0],[0.5],[0.5],[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],[1.0],[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],[1.0],[0.5],[0.5],[0.5],[0.5],[2.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],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[1.0],[3.0],[0.5],[0.5],[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],[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],[1.0],[1.0],[1.0],[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],[1.0],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[0.5],[2.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],[1.0],[0.5],[0.5],[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],[1.0],[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],[1.0],[0.5],[0.5],[0.5],[0.5],[2.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],[1.0],[0.5],[0.5],[1.0],[0.5],[0.5],[0.5],[0.5],[1.0],[1.0],[1.0],[3.0],[0.5],[0.5],[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],[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],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[:ab3],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:c3],[:g3],[:r],[:f2],[:c3],[:ab3],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[:r],[: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],[4.0],[0.5],[0.5],[1.0],[0.5],[0.5],[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],[4.0],[4.0],[4.0],[0.5],[0.5],[1.0],[0.5],[0.5],[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],[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,4.0,0.5,0.5,1.0,0.5,0.5,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,4.0,4.0,4.0,0.5,0.5,1.0,0.5,0.5,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,4.0,4.0]
in_thread do
  use_synth :pretty_bell
  use_bpm 55
  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 :pretty_bell
  use_bpm 55
  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 :pretty_bell
  use_bpm 55
  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 :pretty_bell
  use_bpm 55
  for j in 0..n[3].length - 1
    fire n[3][j], d[3][j], s[3][j]
  end
end

Author: Fantashit