Ambient song ! Go to sleep xD!

A little ambient drone made with Sonic Pi to help you relax.
Feel free to listen and share your thoughts!

live_loop :ambient_lead do
  use_bpm 60
  use_synth :prophet
  
  notes = scale(:e3, :minor, num_octaves: 2)
  n = notes.choose
  
  with_fx :reverb, room: 0.9, mix: 0.6 do
    with_fx :echo, phase: 0.75, decay: 6, mix: 0.35 do
      with_fx :lpf, cutoff: rrand(70, 120) do
        play n,
          attack: 4.0,
          sustain: 5.0,
          release: 6.0,
          amp: 0.25,
          pan: rrand(-0.4, 0.4)
      end
    end
  end
  
  sleep [2, 4, 6].choose
end

1 Like

I really got into this. So hypnotic!

I added a whole boatload of randomizations, and came up with this:


live_loop :ambient_lead do
  use_bpm 60
  
  notes = scale(:e3, :minor, num_octaves: 3)
  n = notes.choose
  
  with_fx :reverb, room: 0.9, mix: 0.6 do
    with_fx :echo, phase: [0.75, 0.5, 1, 1.5].choose, decay: [6, 8, 12].choose, mix: [0.35, 0.65].choose do
      with_fx :lpf, cutoff: rrand(40, 90) do
        with_synth [:prophet, :blade, :fm, :saw, :pulse, :winwood_lead].choose do
          play n,
            attack: [4.0, 2.0, 3.0].choose,
            sustain: [2.0, 5.0, 8.0].choose,
            release: [6.0, 4.0, 9.0].choose,
            amp: [0.0625, 0.125, 0.25].choose,
            pan: rrand(-0.4, 0.4)
        end
      end
    end
  end
  
  sleep [0.001, 1, 2, 4, 6, 8].choose
end