-
Notifications
You must be signed in to change notification settings - Fork 0
/
2018-08-11.py
45 lines (41 loc) · 957 Bytes
/
2018-08-11.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FoxDot.start
from FoxDot import *
Clock.clear()
Scale.default = Scale.phrygian
Root.default = var(P[0], 1)
m = Master()
Clock.bpm = 120
Root.default = 5
(
d1
>> play(
"= (ho)(o -)",
echo=(0, 0.1),
hpf=(0, sinvar([100, 3000], 20)),
room=(0, 0.4),
mix=(0, 0.5),
amp=(1, 0.7),
),
k1 >> play("X ", sample=2, shape=(0, 0.1), amp=1.7),
b1 >> evilbass(s1.degree, dur=PDur(3, 8) * 1 / 2, sus=0.4, amp=1.4),
d2
>> play(
"-",
dur=0.25,
pan=PWhite(-1, 1),
sample=PRand(list(range(5))),
delay=PRand([0.01, 0.02, -0.02, -0.01, 0]),
amp=PEuclid(P[11, 14, 9, 12], 16) * PWhite(1, 0.8),
),
s1
>> sitar(
var([0, -1, 3, 1], 4) + PRand([0, 1, 0, 0, 0]),
chop=0,
shape=(0, 0.1),
oct=(4, 5),
sus=0.2,
dur=0.25,
amp=PEuclid(P[11, 14, 9, 12], 16) * 0.7,
),
)
Group(k1, s1).solo()