-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmidiTestAll.ck
More file actions
73 lines (58 loc) · 1.43 KB
/
Copy pathmidiTestAll.ck
File metadata and controls
73 lines (58 loc) · 1.43 KB
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
64
65
66
67
68
69
70
71
72
73
//Written by Colton Arnold Fall 2025
@import "./signalSendClasses/midi/midiInstrumentClass.ck";
@import "./templateFiles/bpmSetClass.ck";
@import "./signalSendClasses/OSC/globalOSCSendClass.ck";
oscSends osc;
midiInstrumentSends midiSend;
bpmSet bpmTime;
120 => int tempo;
<<<bpmTime.bpm(tempo)>>>;
bpmTime.bpm(tempo)::ms => dur beat;
//notes for breakBot
[0, 1, 3, 5, 11] @=> int breakBotArray[];
//notes for ganapati
[1, 2, 3, 7, 8, 10, 12, 13, 14] @=> int ganapatiArray[];
//notes for tammy
[2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14] @=> int tammyArray[];
//notes for rattleTron
[0, 1, 2, 3, 16] @=> int rattleArray[];
fun breakBot(){
midiSend.init(1);
for(int i; i < 4; i++){
midiSend.messageSend(breakBotArray[i], 127, 1);
beat => now;
}
}
fun ganapati(){
midiSend.init(0);
for(int i; i < 8; i++){
midiSend.messageSend(ganapatiArray[i], 127, 1);
beat => now;
}
}
fun tammyMyLove(){
midiSend.init(3);
for(int i; i < 10; i++){
midiSend.messageSend(tammyArray[i], 127, 1);
beat => now;
}
}
// fun rattleTron(){
// midiSend.init();
// for(int i; i < 4; i++){
// midiSend.messageSend(rattleArray[i], 127, 1);
// beat => now;
// }
// }
fun modulet(){
midiSend.init(4);
for(int i; i < 40; i++){
midiSend.messageSend(i, 127, 1);
beat => now;
}
}
ganapati();
breakBot();
tammyMyLove();
//rattleTron();
modulet();