Guest User

Untitled

a guest
Feb 19th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. use_bpm 144
  2. # Droplets
  3. # Coded by Adam Baranec
  4. # 2018
  5.  
  6. live_loop :echoes do
  7. use_synth :square
  8. play ([:b3, :cs4, :ds4, :e4, :fs4, :gs4]).choose, cutoff: rrand(40, 100), amp: 0.5, attack: 0, release: 4, cutoff_max: 100
  9. sleep [0.25, 0.5].choose
  10. end
  11.  
  12. live_loop :bassdrum do
  13. sample :drum_cymbal_pedal
  14. sleep 2
  15. end
  16.  
  17. live_loop :multibeat do
  18. use_random_seed 100
  19. 8.times do
  20. sample :bd_haus,amp: 0.5 if one_in(5)
  21. sample :sn_dub,amp: 0.5 if one_in(8)
  22. sleep 0.25
  23. end
  24. end
  25.  
  26. use_synth :fm
  27. use_synth_defaults attack: 0.01, release: 0.01
  28. 4.times do
  29. 4.times do
  30. play_pattern_timed [:cs3, :gs2, :b2], [3, 1, 4]
  31. end
  32. 4.times do
  33. play_pattern_timed [:cs3, :ds3, :e3], [2, 1.5, 4.5]
  34. end
  35. wait 8
  36. 4.times do
  37. play_pattern_timed [:fs2, :e2, :gs2], [2, 1.5, 4.5]
  38. end
  39. 4.times do
  40. play_pattern_timed [:fs2, :b2, :gs2], [3, 1, 4]
  41. end
  42. wait 8
  43. end
Add Comment
Please, Sign In to add comment