Synth.cpp
 All Data Structures Namespaces Files Functions Variables Macros
tune.cpp
Go to the documentation of this file.
1 #include <stdint.h>
2 
3 uint32_t tune[] = {
4  0, 1, 50, 0, // keydown major C chord
5  300, 1, 54, 0,
6  600, 1, 57, 0,
7  900, 1, 62, 0,
8  2000, 2, 50, 0, // keyup
9  2000, 2, 54, 0,
10  2000, 2, 57, 0,
11  2000, 2, 62, 0,
12 
13  2500, 1, 47, 0, // keydown IV chord
14  2800, 1, 50, 0,
15  3100, 1, 55, 0,
16  3400, 1, 59, 0,
17  3700, 1, 62, 0,
18  4500, 2, 47, 0, // keyup
19  4500, 2, 50, 0,
20  4500, 2, 55, 0,
21  4500, 2, 59, 0,
22  4500, 2, 62, 0,
23 
24  5000, 1, 49, 0, // keydown V chord
25  5300, 1, 52, 0,
26  5600, 1, 57, 0,
27  5900, 1, 61, 0,
28  6200, 1, 64, 0,
29  7000, 2, 49, 0, // keyup
30  7000, 2, 52, 0,
31  7000, 2, 57, 0,
32  7000, 2, 61, 0,
33  7000, 2, 64, 0,
34 
35  7500, 1, 50, 0, // keydown I chord
36  7800, 1, 54, 0,
37  8100, 1, 57, 0,
38  8400, 1, 62, 0,
39  8700, 1, 66, 0,
40  9500, 2, 50, 0, // keyup
41  9500, 2, 54, 0,
42  9500, 2, 57, 0,
43  9500, 2, 62, 0,
44  9500, 2, 66, 0,
45 
46  10000, 0, 0, 0 // end of tune
47 };
uint32_t tune[]
Definition: tune.cpp:3