Control Surface stm32
MIDI Control Surface library for Arduino
Classes | Functions | Variables
MIDI_Notes Namespace Reference

Detailed Description

MIDI note names.

Classes

class  Note
 

Functions

constexpr int8_t note (Note note, int8_t numOctave)
 Get the MIDI note in the given octave. More...
 

Variables

constexpr Note C = Note::C()
 C (Do) More...
 
constexpr Note Db = Note::Db()
 C♯, D♭ (Do sharp, Re flat) More...
 
constexpr Note D = Note::D()
 D (Re) More...
 
constexpr Note Eb = Note::Eb()
 D♯, E♭ (Re sharp, Mi flat) More...
 
constexpr Note E = Note::E()
 E (Mi) More...
 
constexpr Note F_ = Note::F_()
 F (Fa) More...
 
constexpr Note Gb = Note::Gb()
 F♯, G♭ (Fa sharp, Sol flat) More...
 
constexpr Note G = Note::G()
 G (Sol) More...
 
constexpr Note Ab = Note::Ab()
 G♯, A♭ (Sol sharp, La flat) More...
 
constexpr Note A = Note::A()
 A (La) More...
 
constexpr Note Bb = Note::Bb()
 A♯, B♭ (La sharp, Si flat) More...
 
constexpr Note B = Note::B()
 B (Si) More...
 

Function Documentation

◆ note()

constexpr int8_t note ( Note  note,
int8_t  numOctave 
)
constexpr

Get the MIDI note in the given octave.

Examples
MIDI-Input-Fine-Grained-All-Callbacks.ino, MIDI-Input-Fine-Grained.ino, and Send-All-MIDI-Messages.ino.

Definition at line 56 of file Notes.hpp.

Variable Documentation

◆ C

constexpr Note C = Note::C()
constexpr

◆ Db

constexpr Note Db = Note::Db()
constexpr

C♯, D♭ (Do sharp, Re flat)

Definition at line 41 of file Notes.hpp.

◆ D

constexpr Note D = Note::D()
constexpr

D (Re)

Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 42 of file Notes.hpp.

◆ Eb

constexpr Note Eb = Note::Eb()
constexpr

D♯, E♭ (Re sharp, Mi flat)

Definition at line 43 of file Notes.hpp.

◆ E

constexpr Note E = Note::E()
constexpr

E (Mi)

Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 44 of file Notes.hpp.

◆ F_

constexpr Note F_ = Note::F_()
constexpr

F (Fa)

Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 45 of file Notes.hpp.

◆ Gb

constexpr Note Gb = Note::Gb()
constexpr

F♯, G♭ (Fa sharp, Sol flat)

Definition at line 46 of file Notes.hpp.

◆ G

constexpr Note G = Note::G()
constexpr

G (Sol)

Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 47 of file Notes.hpp.

◆ Ab

constexpr Note Ab = Note::Ab()
constexpr

G♯, A♭ (Sol sharp, La flat)

Definition at line 48 of file Notes.hpp.

◆ A

constexpr Note A = Note::A()
constexpr

A (La)

Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 49 of file Notes.hpp.

◆ Bb

constexpr Note Bb = Note::Bb()
constexpr

A♯, B♭ (La sharp, Si flat)

Definition at line 50 of file Notes.hpp.

◆ B

constexpr Note B = Note::B()
constexpr

B (Si)

Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 51 of file Notes.hpp.