-
Notifications
You must be signed in to change notification settings - Fork 2
/
defaultSuperDirtPlayers-revised.js
executable file
·64 lines (54 loc) · 2.04 KB
/
defaultSuperDirtPlayers-revised.js
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//--------------------------------------------------------------------------
//-- defaultSuperDirtPlayers-revised.js
//-- Wed Feb 2 07:20:11 PM JST 2022
//--------------------------------------------------------------------------
// change this path to the path on your computer
//let superDirtSamplesPath = "/home/renick/.local/share/SuperCollider/downloaded-quarks/Dirt-Samples/"
samples4 = buildSampleArray (superDirtSamplesPath)
e.players.kick = new Player("kick")
e.players.snare = new Player("snare")
e.players.perc = new Player("perc")
e.players.hat = new Player("hat")
e.players.sub = new Player("sub")
e.players.stab1 = new Player("stab1")
e.players.stab2 = new Player("stab2")
e.players.atmo = new Player("atmo")
e.players.kick.rhythmMap = "straight";
e.players.snare.rhythmMap = "straight";
e.players.perc.rhythmMap = "straight";
e.players.hat.rhythmMap = "straight";
e.players.sub.rhythmMap = "straight";
e.players.stab1.rhythmMap = "straight";
e.players.stab2.rhythmMap = "straight";
e.players.atmo.rhythmMap = "straight";
e.players.atmo.densityGraph = "defaultTechno";
e.players.kick.samplePattern = "kick"
e.players.snare.samplePattern = "snare";
e.players.perc.samplePattern = "perc";
e.players.hat.samplePattern = "hat";
e.players.sub.samplePattern = "sub";
e.players.stab1.samplePattern = "stab1";
e.players.stab2.samplePattern = "stab2";
e.players.atmo.samplePattern = "atmo";
{
e.players.kick.action = "superDirt"
e.players.snare.action = "superDirt";
e.players.perc.action = "superDirt";
e.players.hat.action = "superDirt";
e.players.sub.action = "superDirt";
e.players.stab1.action = "superDirt";
e.players.stab2.action = "superDirt";
e.players.atmo.action = "superDirt";
}
e.players.atmo.densityGraph = 'sparse';
{
e.players.kick.cut = A.pick([0,1,1,2])
e.players.snare.cut = A.pick([3,4])
e.players.perc.cut = A.pick([5,6])
e.players.hat.cut = A.pick([7])
e.players.sub.cut = A.pick([8,8,8])
e.players.stab1.cut = A.pick([9,9,10])
e.players.stab2.cut = A.pick([9,9,10])
e.players.atmo.cut = A.pick([11,11,12])
e.players.atmo.cut = 11
}