|
Console Library 4.7.0
A header-only library that makes C++ simple
|
Variables | |
| const int | REST = -1 |
| 休止符(不发音,仅占用时值) | |
自然音(C D E F G A B) | |
| const int | C0 = 12 |
| const int | D0 = 14 |
| const int | E0 = 16 |
| const int | F0 = 17 |
| const int | G0 = 19 |
| const int | A0 = 21 |
| const int | B0 = 23 |
| const int | C1 = 24 |
| const int | D1 = 26 |
| const int | E1 = 28 |
| const int | F1 = 29 |
| const int | G1 = 31 |
| const int | A1 = 33 |
| const int | B1 = 35 |
| const int | C2 = 36 |
| const int | D2 = 38 |
| const int | E2 = 40 |
| const int | F2 = 41 |
| const int | G2 = 43 |
| const int | A2 = 45 |
| const int | B2 = 47 |
| const int | C3 = 48 |
| const int | D3 = 50 |
| const int | E3 = 52 |
| const int | F3 = 53 |
| const int | G3 = 55 |
| const int | A3 = 57 |
| const int | B3 = 59 |
| const int | C4 = 60 |
| const int | D4 = 62 |
| const int | E4 = 64 |
| const int | F4 = 65 |
| const int | G4 = 67 |
| const int | A4 = 69 |
| const int | B4 = 71 |
| const int | C5 = 72 |
| const int | D5 = 74 |
| const int | E5 = 76 |
| const int | F5 = 77 |
| const int | G5 = 79 |
| const int | A5 = 81 |
| const int | B5 = 83 |
| const int | C6 = 84 |
| const int | D6 = 86 |
| const int | E6 = 88 |
| const int | F6 = 89 |
| const int | G6 = 91 |
| const int | A6 = 93 |
| const int | B6 = 95 |
| const int | C7 = 96 |
| const int | D7 = 98 |
| const int | E7 = 100 |
| const int | F7 = 101 |
| const int | G7 = 103 |
| const int | A7 = 105 |
| const int | B7 = 107 |
| const int | C8 = 108 |
| const int | D8 = 110 |
| const int | E8 = 112 |
| const int | F8 = 113 |
| const int | G8 = 115 |
| const int | A8 = 117 |
| const int | B8 = 119 |
| const int | C9 = 120 |
| const int | D9 = 122 |
| const int | E9 = 124 |
| const int | F9 = 125 |
| const int | G9 = 127 |
变化音(升号 #) | |
| const int | Cs0 = 13 |
| const int | Ds0 = 15 |
| const int | Fs0 = 18 |
| const int | Gs0 = 20 |
| const int | As0 = 22 |
| const int | Cs1 = 25 |
| const int | Ds1 = 27 |
| const int | Fs1 = 30 |
| const int | Gs1 = 32 |
| const int | As1 = 34 |
| const int | Cs2 = 37 |
| const int | Ds2 = 39 |
| const int | Fs2 = 42 |
| const int | Gs2 = 44 |
| const int | As2 = 46 |
| const int | Cs3 = 49 |
| const int | Ds3 = 51 |
| const int | Fs3 = 54 |
| const int | Gs3 = 56 |
| const int | As3 = 58 |
| const int | Cs4 = 61 |
| const int | Ds4 = 63 |
| const int | Fs4 = 66 |
| const int | Gs4 = 68 |
| const int | As4 = 70 |
| const int | Cs5 = 73 |
| const int | Ds5 = 75 |
| const int | Fs5 = 78 |
| const int | Gs5 = 80 |
| const int | As5 = 82 |
| const int | Cs6 = 85 |
| const int | Ds6 = 87 |
| const int | Fs6 = 90 |
| const int | Gs6 = 92 |
| const int | As6 = 94 |
| const int | Cs7 = 97 |
| const int | Ds7 = 99 |
| const int | Fs7 = 102 |
| const int | Gs7 = 104 |
| const int | As7 = 106 |
| const int | Cs8 = 109 |
| const int | Ds8 = 111 |
| const int | Fs8 = 114 |
| const int | Gs8 = 116 |
| const int | As8 = 118 |
| const int | Cs9 = 121 |
| const int | Ds9 = 123 |
| const int | Fs9 = 126 |
| const int console::pitches::A0 = 21 |
| const int console::pitches::A1 = 33 |
| const int console::pitches::A2 = 45 |
| const int console::pitches::A3 = 57 |
| const int console::pitches::A4 = 69 |
| const int console::pitches::A5 = 81 |
| const int console::pitches::A6 = 93 |
| const int console::pitches::A7 = 105 |
| const int console::pitches::A8 = 117 |
| const int console::pitches::As0 = 22 |
| const int console::pitches::As1 = 34 |
| const int console::pitches::As2 = 46 |
| const int console::pitches::As3 = 58 |
| const int console::pitches::As4 = 70 |
| const int console::pitches::As5 = 82 |
| const int console::pitches::As6 = 94 |
| const int console::pitches::As7 = 106 |
| const int console::pitches::As8 = 118 |
| const int console::pitches::B0 = 23 |
| const int console::pitches::B1 = 35 |
| const int console::pitches::B2 = 47 |
| const int console::pitches::B3 = 59 |
| const int console::pitches::B4 = 71 |
| const int console::pitches::B5 = 83 |
| const int console::pitches::B6 = 95 |
| const int console::pitches::B7 = 107 |
| const int console::pitches::B8 = 119 |
| const int console::pitches::C0 = 12 |
| const int console::pitches::C1 = 24 |
| const int console::pitches::C2 = 36 |
| const int console::pitches::C3 = 48 |
| const int console::pitches::C4 = 60 |
| const int console::pitches::C5 = 72 |
| const int console::pitches::C6 = 84 |
| const int console::pitches::C7 = 96 |
| const int console::pitches::C8 = 108 |
| const int console::pitches::C9 = 120 |
| const int console::pitches::Cs0 = 13 |
| const int console::pitches::Cs1 = 25 |
| const int console::pitches::Cs2 = 37 |
| const int console::pitches::Cs3 = 49 |
| const int console::pitches::Cs4 = 61 |
| const int console::pitches::Cs5 = 73 |
| const int console::pitches::Cs6 = 85 |
| const int console::pitches::Cs7 = 97 |
| const int console::pitches::Cs8 = 109 |
| const int console::pitches::Cs9 = 121 |
| const int console::pitches::D0 = 14 |
| const int console::pitches::D1 = 26 |
| const int console::pitches::D2 = 38 |
| const int console::pitches::D3 = 50 |
| const int console::pitches::D4 = 62 |
| const int console::pitches::D5 = 74 |
| const int console::pitches::D6 = 86 |
| const int console::pitches::D7 = 98 |
| const int console::pitches::D8 = 110 |
| const int console::pitches::D9 = 122 |
| const int console::pitches::Ds0 = 15 |
| const int console::pitches::Ds1 = 27 |
| const int console::pitches::Ds2 = 39 |
| const int console::pitches::Ds3 = 51 |
| const int console::pitches::Ds4 = 63 |
| const int console::pitches::Ds5 = 75 |
| const int console::pitches::Ds6 = 87 |
| const int console::pitches::Ds7 = 99 |
| const int console::pitches::Ds8 = 111 |
| const int console::pitches::Ds9 = 123 |
| const int console::pitches::E0 = 16 |
| const int console::pitches::E1 = 28 |
| const int console::pitches::E2 = 40 |
| const int console::pitches::E3 = 52 |
| const int console::pitches::E4 = 64 |
| const int console::pitches::E5 = 76 |
| const int console::pitches::E6 = 88 |
| const int console::pitches::E7 = 100 |
| const int console::pitches::E8 = 112 |
| const int console::pitches::E9 = 124 |
| const int console::pitches::F0 = 17 |
| const int console::pitches::F1 = 29 |
| const int console::pitches::F2 = 41 |
| const int console::pitches::F3 = 53 |
| const int console::pitches::F4 = 65 |
| const int console::pitches::F5 = 77 |
| const int console::pitches::F6 = 89 |
| const int console::pitches::F7 = 101 |
| const int console::pitches::F8 = 113 |
| const int console::pitches::F9 = 125 |
| const int console::pitches::Fs0 = 18 |
| const int console::pitches::Fs1 = 30 |
| const int console::pitches::Fs2 = 42 |
| const int console::pitches::Fs3 = 54 |
| const int console::pitches::Fs4 = 66 |
| const int console::pitches::Fs5 = 78 |
| const int console::pitches::Fs6 = 90 |
| const int console::pitches::Fs7 = 102 |
| const int console::pitches::Fs8 = 114 |
| const int console::pitches::Fs9 = 126 |
| const int console::pitches::G0 = 19 |
| const int console::pitches::G1 = 31 |
| const int console::pitches::G2 = 43 |
| const int console::pitches::G3 = 55 |
| const int console::pitches::G4 = 67 |
| const int console::pitches::G5 = 79 |
| const int console::pitches::G6 = 91 |
| const int console::pitches::G7 = 103 |
| const int console::pitches::G8 = 115 |
| const int console::pitches::G9 = 127 |
| const int console::pitches::Gs0 = 20 |
| const int console::pitches::Gs1 = 32 |
| const int console::pitches::Gs2 = 44 |
| const int console::pitches::Gs3 = 56 |
| const int console::pitches::Gs4 = 68 |
| const int console::pitches::Gs5 = 80 |
| const int console::pitches::Gs6 = 92 |
| const int console::pitches::Gs7 = 104 |
| const int console::pitches::Gs8 = 116 |
| const int console::pitches::REST = -1 |
休止符(不发音,仅占用时值)