git ssb

1+

Zach! / kriya-helper



Tree: d40d4eb7917990aa2e886b6827155eef378f567d

Files: d40d4eb7917990aa2e886b6827155eef378f567d / asanas / sounds / scuttlebutt.rb

731 bytesRaw
1ssb = (scale :c2, :major_pentatonic, num_octaves: 3).shuffle
2
3define :scuttlebutt do |s,h, a|
4 use_random_seed s
5 play ssb.tick, attack: h
6 sleep a
7end
8
9live_loop :patchbay do
10 use_synth_defaults
11 use_synth :tri
12 scuttlebutt 201560, 16, 8
13end
14
15live_loop :patchwork do
16 use_synth_defaults sustain: 1, release: 2, cutoff: 80, amp: 0.4
17 sleep 4
18 256.times do
19 use_synth :prophet
20 scuttlebutt 102616, 8, 12
21 end
22end
23
24live_loop :patchfoo do
25 use_synth_defaults amp: 0.6
26 sleep 8
27 256.times do
28 use_synth :hoover
29 scuttlebutt 8027, 8, 7
30 end
31end
32
33live_loop :minbay do
34 use_synth_defaults cutoff: 80, amp: 0.5
35 use_synth :dpulse
36 sleep 12
37 256.times do
38 scuttlebutt 94609, 1, [0.25, 0.5].choose
39 end
40end
41

Built with git-ssb-web