-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.h
17 lines (16 loc) · 1.11 KB
/
notes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*************************************************
* Public Constants
*************************************************/
int notes[9][12] = {
// 0 1 2 3 4 5 6 7 8 9 10 11
// C C# D D# E F F# G G# A Bb B
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31 }, // Octave 0
{ 33, 35, 37, 39, 41, 44, 46, 49, 52, 55, 58, 62 }, // Octave 1
{ 65, 69, 73, 78, 82, 87, 93, 98, 104, 110, 117, 123 }, // Octave 2
{ 131, 139, 147, 156, 165, 175, 185, 196, 208, 220, 233, 247 }, // Octave 3
{ 262, 277, 294, 311, 330, 349, 370, 392, 415, 440, 466, 494 }, // Octave 4
{ 523, 554, 587, 622, 659, 698, 740, 784, 831, 880, 932, 988 }, // Octave 5
{ 1047, 1109, 1175, 1245, 1319, 1397, 1480, 1568, 1661, 1760, 1865, 1976 }, // Octave 6
{ 2093, 2217, 2349, 2489, 2637, 2794, 2960, 3136, 3322, 3520, 3729, 3951 }, // Octave 7
{ 4186, 4435, 4699, 4978, 0, 0, 0, 0, 0, 0, 0, 0 } // Octave 8
};