-
Notifications
You must be signed in to change notification settings - Fork 3
/
modeSelect.ino
59 lines (47 loc) · 883 Bytes
/
modeSelect.ino
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
#define numberOfModes 9
void modeSelect() {
if (bools.limbo) {
bools.disablePortB = true;
bools.play = true;
playPortBsamp(t, 1);
}
else {
switch (mode) {
//case 1:
//musicbox(); //INIT STATE, WILL GENERATE ITS OWN BEAT AND MELODY WHEN IT CANT FIND A USER MADE CONTENT
//break;
case 2:
bools.TMelOrFBass = true;
//dingDong();
myFirstSong();
bools.BASS = true;
break;
case 3:
bools.TMelOrFBass = false;
myFirstSong();
bools.BASS = true;
break;
case 4:
myFirstBeat();
//HHseq = 0B0001000100010001;
break;
case 6:
//musicbox();
buttonSolos();
// trigOnPurifySolo();
break;
case 7:
portBplayer();
break;
case 8:
//trigOnChangeSolo();
break;
default:
musicbox(); // will use myBeat and myMelody
break;
}
}
}
//unused wont fit:
//buttonSolos()
//trig on change solo