This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
Functions | Variables
MIDI_Notes Namespace Reference

MIDI note names. More...

Functions

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

Variables

constexpr int8_t C = 0
 
constexpr int8_t Db = 1
 
constexpr int8_t D = 2
 
constexpr int8_t Eb = 3
 
constexpr int8_t E = 4
 
constexpr int8_t F = 5
 
constexpr int8_t Gb = 6
 
constexpr int8_t G = 7
 
constexpr int8_t Ab = 8
 
constexpr int8_t A = 9
 
constexpr int8_t Bb = 10
 
constexpr int8_t B = 11
 

Detailed Description

MIDI note names.

Function Documentation

◆ octave()

constexpr int8_t MIDI_Notes::octave ( int8_t  numOctave)
constexpr

Get the first MIDI note in the given octave.

Definition at line 32 of file Notes.hpp.

◆ note()

constexpr int8_t MIDI_Notes::note ( int8_t  note,
int8_t  numOctave 
)
constexpr

Variable Documentation

◆ C

constexpr int8_t MIDI_Notes::C = 0
constexpr

◆ Db

constexpr int8_t MIDI_Notes::Db = 1
constexpr

Definition at line 19 of file Notes.hpp.

◆ D

constexpr int8_t MIDI_Notes::D = 2
constexpr
Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 20 of file Notes.hpp.

◆ Eb

constexpr int8_t MIDI_Notes::Eb = 3
constexpr

Definition at line 21 of file Notes.hpp.

◆ E

constexpr int8_t MIDI_Notes::E = 4
constexpr
Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 22 of file Notes.hpp.

◆ F

constexpr int8_t MIDI_Notes::F = 5
constexpr

◆ Gb

constexpr int8_t MIDI_Notes::Gb = 6
constexpr

Definition at line 24 of file Notes.hpp.

◆ G

constexpr int8_t MIDI_Notes::G = 7
constexpr
Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 25 of file Notes.hpp.

◆ Ab

constexpr int8_t MIDI_Notes::Ab = 8
constexpr

Definition at line 26 of file Notes.hpp.

◆ A

constexpr int8_t MIDI_Notes::A = 9
constexpr
Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 27 of file Notes.hpp.

◆ Bb

constexpr int8_t MIDI_Notes::Bb = 10
constexpr

Definition at line 28 of file Notes.hpp.

◆ B

constexpr int8_t MIDI_Notes::B = 11
constexpr
Examples
2.First-Input.ino, and Transposer.ino.

Definition at line 29 of file Notes.hpp.