live_loop :drum_chop do
  with_fx :reverb do |fx|
    number_of_slices = 8
    random_slice = rand_i(number_of_slices)
    length_of_slice = 1.0/number_of_slices
    
    if random_slice.even? then
      control fx, mix: 0.55
    else
      control fx, mix: 0.3
    end
    
    s = length_of_slice * random_slice
    f = s + length_of_slice
    
    sample :loop_amen, start: s, finish: f
    sleep  (sample_duration :loop_amen) * length_of_slice
  end
end

live_loop :andy do
  sync :drum_chop
  use_synth :fm
  use_synth_defaults depth: rrand(0,2), pan: rrand(-1,1)
  notes = (chord :d2, :m9, num_octaves: 1).shuffle
  play notes.tick, release: 0.28
end

Link: https://sonic-pi-gallery.s3.amazonaws.com/d68c63ff79a55672abf24f9bb4be8547.wav