Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Both live loops play in total rhythmical sync.
- # Notice that they are both using the same seed
- # One in Ruby and the other in the synthdef ;-)
- live_loop :foo do
- use_random_seed 10
- 64.times do
- play :e5, release: 0.1 if rand < 0.2
- sleep 0.125
- end
- end
- live_loop :bar do
- with_fx :slicer, probability: 0.2, seed: 10, phase: 0.125 do
- synth :prophet, release: 8, note: :e2, cutoff: 70
- sleep 8
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement