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
static constexpr Note A()
static constexpr Note Bb()
static constexpr Note E()
static constexpr Note D()
static constexpr Note Db()
constexpr Note(int8_t base)
static constexpr Note C()
static constexpr Note Eb()
static constexpr Note F_()
constexpr int8_t operator()(int8_t octave=-1) const
static constexpr Note G()
static constexpr Note Gb()
static constexpr Note B()
static constexpr Note Ab()
constexpr int8_t note(Note note, int8_t numOctave)
Get the MIDI note in the given octave.
constexpr Note Bb
A♯, B♭ (La sharp, Si flat)
constexpr Note Db
C♯, D♭ (Do sharp, Re flat)
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)