Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. samps = "C:/Program Files (x86)/Sonic Pi/etc/my-samples"
  2. use_bpm 170
  3.  
  4. live_loop :metro do
  5. sleep 1
  6. cue :beat
  7. sleep 7
  8. cue :ambient
  9. end
  10.  
  11. live_loop :ambi, sync: :ambient do
  12. with_fx :reverb, room: 0.1 do
  13. sample samps, 0, attack: 8, amp: 0.1
  14. sleep 25
  15. end
  16. end
  17.  
  18. with_fx :reverb, mix: 0.7 do
  19. use_synth :hollow
  20. live_loop :note1 do
  21. play choose([:D5, :E5]), attack: 6, release: 6, amp: 0.5
  22. sleep 8
  23. end
  24. end
  25.  
  26. live_loop :hihat, sync: :beat do
  27. # stop
  28. with_fx :sound_out_stereo, output: 10 do
  29. sample :drum_splash_soft, attack: 0.02, sustain: 0.01, release: 0.03
  30. sleep 0.5
  31. 2.times do
  32. sample :drum_splash_soft, attack: 0.02, sustain: 0.01, release: 0.03
  33. sleep 2
  34. end
  35. sample :drum_splash_soft, attack: 0.02, sustain: 0.01, release: 0.03
  36. sleep 0.5
  37. end
  38. end
  39.  
  40. live_loop :amen, sync: :beat do
  41. with_bpm 170 do
  42. amen = :loop_amen
  43. sample amen, amp: 0.3, rate: 1.25
  44. sleep (sample_duration amen, amp: 0.3, rate: 1.2419)
  45. end
  46. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement