5#include <Settings/NamespaceSettings.hpp>
38 return base + 12 * (octave + 1);
40 constexpr int8_t
operator[](int8_t octave)
const {
return (*
this)(octave); }
69CS_DEPREC(
"Instead of `MIDI_Notes::F_(4)`, use `MIDI_Notes::F[4]`")
#define BEGIN_CS_NAMESPACE
static constexpr Note F()
static constexpr Note A()
constexpr int8_t operator[](int8_t octave) const
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()
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)