Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. # Both live loops play in total rhythmical sync.
  2. # Notice that they are both using the same seed
  3. # One in Ruby and the other in the synthdef ;-)
  4.  
  5. live_loop :foo do
  6. use_random_seed 10
  7. 64.times do
  8. play :e5, release: 0.1 if rand < 0.2
  9. sleep 0.125
  10. end
  11. end
  12.  
  13. live_loop :bar do
  14. with_fx :slicer, probability: 0.2, seed: 10, phase: 0.125 do
  15. synth :prophet, release: 8, note: :e2, cutoff: 70
  16. sleep 8
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement