Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Note Class Reference

#include <MIDI_Constants/Notes.hpp>

Detailed Description

Definition at line 31 of file Notes.hpp.

Collaboration diagram for Note:

Public Member Functions

constexpr int8_t operator() (int8_t octave=-1) const
constexpr int8_t operator[] (int8_t octave) const

Static Public Member Functions

static constexpr Note C ()
static constexpr Note Db ()
static constexpr Note D ()
static constexpr Note Eb ()
static constexpr Note E ()
static constexpr Note F ()
static constexpr Note Gb ()
static constexpr Note G ()
static constexpr Note Ab ()
static constexpr Note A ()
static constexpr Note Bb ()
static constexpr Note B ()

Private Member Functions

constexpr Note (int8_t base)

Private Attributes

int8_t base

Constructor & Destructor Documentation

◆ Note()

Note ( int8_t base)
inlineconstexprprivate

Definition at line 34 of file Notes.hpp.

Member Function Documentation

◆ operator()()

int8_t operator() ( int8_t octave = -1) const
inlineconstexpr

Definition at line 37 of file Notes.hpp.

◆ operator[]()

int8_t operator[] ( int8_t octave) const
inlineconstexpr

Definition at line 40 of file Notes.hpp.

◆ C()

constexpr Note C ( )
inlinestaticconstexpr

Definition at line 42 of file Notes.hpp.

◆ Db()

constexpr Note Db ( )
inlinestaticconstexpr

Definition at line 43 of file Notes.hpp.

◆ D()

constexpr Note D ( )
inlinestaticconstexpr

Definition at line 44 of file Notes.hpp.

◆ Eb()

constexpr Note Eb ( )
inlinestaticconstexpr

Definition at line 45 of file Notes.hpp.

◆ E()

constexpr Note E ( )
inlinestaticconstexpr

Definition at line 46 of file Notes.hpp.

◆ F()

constexpr Note F ( )
inlinestaticconstexpr

Definition at line 47 of file Notes.hpp.

◆ Gb()

constexpr Note Gb ( )
inlinestaticconstexpr

Definition at line 48 of file Notes.hpp.

◆ G()

constexpr Note G ( )
inlinestaticconstexpr

Definition at line 49 of file Notes.hpp.

◆ Ab()

constexpr Note Ab ( )
inlinestaticconstexpr

Definition at line 50 of file Notes.hpp.

◆ A()

constexpr Note A ( )
inlinestaticconstexpr

Definition at line 51 of file Notes.hpp.

◆ Bb()

constexpr Note Bb ( )
inlinestaticconstexpr

Definition at line 52 of file Notes.hpp.

◆ B()

constexpr Note B ( )
inlinestaticconstexpr

Definition at line 53 of file Notes.hpp.

Member Data Documentation

◆ base

int8_t base
private

Definition at line 33 of file Notes.hpp.


The documentation for this class was generated from the following file: