Files: d40d4eb7917990aa2e886b6827155eef378f567d / asanas / sounds / scuttlebutt.rb
731 bytesRaw
1 | ssb = (scale :c2, :major_pentatonic, num_octaves: 3).shuffle |
2 | |
3 | define :scuttlebutt do |s,h, a| |
4 | use_random_seed s |
5 | play ssb.tick, attack: h |
6 | sleep a |
7 | end |
8 | |
9 | live_loop :patchbay do |
10 | use_synth_defaults |
11 | use_synth :tri |
12 | scuttlebutt 201560, 16, 8 |
13 | end |
14 | |
15 | live_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 |
22 | end |
23 | |
24 | live_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 |
31 | end |
32 | |
33 | live_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 |
40 | end |
41 |
Built with git-ssb-web