-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaux-test.scd
39 lines (39 loc) · 1.03 KB
/
aux-test.scd
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
(
Pdef(0,
Pbind(*[
type: \cln,
snd: \fmx,
hr1: Pwrand2((0 .. 10), (11 .. 1), inf),
hr2: Pwrand2((0 .. 10), (11 .. 1), inf),
hr3: Pwrand2((0 .. 10), (11 .. 1), inf),
hr4: Pwrand2((0 .. 10), (11 .. 1), inf),
mi1: Plprand(0.0, 1000.0),
mi2: Plprand(0.0, 100.0),
mi3: Plprand(0.0, 10.0),
mi4: Plprand(0.0, 1.0),
en1: Pwhite(0.0, 1.0),
en2: Pwhite(0.0, 1.0),
en3: Pwhite(0.0, 1.0),
en4: Pwhite(0.0, 1.0),
scale: Scale.harmonicMinor(\sept1),
degree: Plprand(0, 7),
octave: Plprand(1, 6),
dur: 1 / Prand([Pdup(Prand([3, 5, 7], 1), Prand([5, 7, 9], 1)), Pdup(Prand([3, 5, 7], 1), Prand([4, 6, 8], 1))], inf),
pan: Pwhite(0.0, 1.0),
aux: Pwhite(0, 10),
atk: Plprand(0.0, 30.0),
hld: Plprand(1.0, 30.0),
rel: Plprand(1.0, 30.0),
crv: Pmeanrand(-8.0, 8.0),
legato: Pkey(\atk) + Pkey(\hld) + Pkey(\rel),
amp: Plprand(1/16, 1/3),
cav: 10,
shp: Plprand(0.0, 1.0),
sho: Pmeanrand(0.0, 1.0),
shi: Pmeanrand(0.0, 1.0),
slo: Pmeanrand(0.0, 1.0),
hit: Pmeanrand(0.0, 1.0),
lot: Pmeanrand(0.0, 1.0),
])
).play
)