MIDI note names.
Uses the Scientific Pitch Notation system, where A4 is 440 Hz, and C-1 is 8.1758 Hz.
Octave | C | C♯/D♭ | D | D♯/E♭ | E | F | F♯/G♭ | G | G♯/A♭ | A | A♯/B♭ | B |
---|---|---|---|---|---|---|---|---|---|---|---|---|
-1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
0 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
1 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
2 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
3 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
4 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 |
5 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 |
6 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 |
7 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 |
8 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 |
Classes | |
class | Note |
Functions | |
constexpr int8_t | note (Note note, int8_t numOctave) |
Get the MIDI note in the given octave. | |
Variables | |
constexpr Note | C = (Note::C)() |
C (Do) | |
constexpr Note | Db = (Note::Db)() |
C♯, D♭ (Do sharp, Re flat) | |
constexpr Note | D = (Note::D)() |
D (Re) | |
constexpr Note | Eb = (Note::Eb)() |
D♯, E♭ (Re sharp, Mi flat) | |
constexpr Note | E = (Note::E)() |
E (Mi) | |
constexpr Note | F = (Note::F)() |
F (Fa) | |
constexpr Note | Gb = (Note::Gb)() |
F♯, G♭ (Fa sharp, Sol flat) | |
constexpr Note | G = (Note::G)() |
G (Sol) | |
constexpr Note | Ab = (Note::Ab)() |
G♯, A♭ (Sol sharp, La flat) | |
constexpr Note | A = (Note::A)() |
A (La) | |
constexpr Note | Bb = (Note::Bb)() |
A♯, B♭ (La sharp, Si flat) | |
constexpr Note | B = (Note::B)() |
B (Si) | |
constexpr Note | F_ = (Note::F)() |
F (Fa) | |
|
constexpr |
|
constexpr |
C (Do)
|
constexpr |
C♯, D♭ (Do sharp, Re flat)
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
F (Fa)
|
constexpr |
F♯, G♭ (Fa sharp, Sol flat)
|
constexpr |
G (Sol)
|
constexpr |
G♯, A♭ (Sol sharp, La flat)
|
constexpr |
|
constexpr |
|
constexpr |