-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbow.ck
More file actions
38 lines (29 loc) · 764 Bytes
/
bow.ck
File metadata and controls
38 lines (29 loc) · 764 Bytes
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
Bowed bow => dac;
3 => int fingering;
1 => int bowOn;
2.0 => float vibrato;
5::ms => dur atomicDuration;
[ 0, 2, 4, 5,
7, 9, 11, 12,
14, 16, 17, 19,
21, 23, 24, 26, 28] @=> int GMajor[];
[ 0, 2, 3, 5,
7, 9, 10, 12,
14, 15, 17, 19,
21, 22, 24, 26, 27] @=> int FMajor[];
while (true) {
0 => bow.bowPressure;
2.0 => bow.bowPosition;
0 => bow.vibratoFreq;
0 => bow.vibratoGain;
1 => bow.volume;
//<<< "---", "" >>>;
//<<< "bow pressure:", bow.bowPressure() >>>;
//<<< "bow position:", bow.bowPosition() >>>;
//<<< "vibrato freq:", bow.vibratoFreq() >>>;
//<<< "vibrato gain:", bow.vibratoGain() >>>;
//<<< "volume:", bow.volume() >>>;
0.8 => bow.noteOn;
100 => bow.freq;
atomicDuration => now;
}