5#include <Settings/NamespaceSettings.hpp>
23 return base + 12 * (octave + 1);
54[[deprecated(
"Instead of `note(C, 4)`, use `MIDI_Notes::C(4)`")]]
57 return note(numOctave);
#define BEGIN_CS_NAMESPACE
constexpr static Note Ab()
constexpr static Note E()
constexpr static Note Gb()
constexpr static Note Db()
constexpr static Note C()
constexpr static Note B()
constexpr static Note Eb()
constexpr static Note G()
constexpr Note(int8_t base)
constexpr static Note A()
constexpr static Note Bb()
constexpr int8_t operator()(int8_t octave=-1) const
constexpr static Note D()
constexpr static Note F_()
constexpr Note Bb
A♯, B♭ (La sharp, Si flat)
constexpr Note Db
C♯, D♭ (Do sharp, Re flat)
constexpr int8_t note(Note note, int8_t numOctave)
Get the MIDI note in the given octave.
constexpr Note Gb
F♯, G♭ (Fa sharp, Sol flat)
constexpr Note Eb
D♯, E♭ (Re sharp, Mi flat)
constexpr Note Ab
G♯, A♭ (Sol sharp, La flat)