Skip to content

Commit d813280

Browse files
committed
Modify square skit example for smoother RP playback
1 parent 1de5e18 commit d813280

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

etc/examples/sorcerer/square_skit.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
live_loop :foo, auto_cue: false do |idx|
1515
#idx = 0
1616
use_synth :square
17-
density 4 do
18-
play (knit :c2, 2, :e1, 1, :f3, 1)[idx], release: 0, attack: 0.25, amp: 1.5, cutoff: rrand_i(70, 120)
17+
density 2 do
18+
play (knit :c2, 2, :e1, 1, :f3, 1)[idx], release: 0, attack: 0.25, amp: 1, cutoff: rrand_i(70, 130)
1919
sleep 0.5
2020
end
2121
idx += 0.25
@@ -29,8 +29,9 @@
2929
end
3030

3131
live_loop :piano, auto_cue: false do
32+
sleep 4
3233
with_fx :slicer, phase: 0.25, wave: 1, invert_wave: true do
33-
sample :ambi_piano, amp: 1
34-
sleep 8
34+
sleep 4
35+
sample :ambi_piano, amp: 2
3536
end
3637
end

0 commit comments

Comments
 (0)