Control Surface  1.1.1
MIDI Control Surface library for Arduino
Intervals.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 
5 namespace Intervals {
6 
7 constexpr int8_t P1 = 0; // Perfect unison
8 constexpr int8_t m2 = 1; // Minor second
9 constexpr int8_t M2 = 2; // Major second
10 constexpr int8_t m3 = 3; // Minor third
11 constexpr int8_t M3 = 4; // Major third
12 constexpr int8_t P4 = 5; // Perfect fourth
13 constexpr int8_t d5 = 6; // Diminished fifth
14 constexpr int8_t P5 = 7; // Perfect fifth
15 constexpr int8_t m6 = 8; // Minor sixth
16 constexpr int8_t M6 = 9; // Major sixth
17 constexpr int8_t m7 = 10; // Minor seventh
18 constexpr int8_t M7 = 11; // Major seventh
19 constexpr int8_t P8 = 12; // Perfect octave
20 
21 }
Intervals::d5
constexpr int8_t d5
Definition: Intervals.hpp:13
Intervals::M6
constexpr int8_t M6
Definition: Intervals.hpp:16
Intervals::P5
constexpr int8_t P5
Definition: Intervals.hpp:14
Intervals::M7
constexpr int8_t M7
Definition: Intervals.hpp:18
Intervals::m2
constexpr int8_t m2
Definition: Intervals.hpp:8
Intervals::m7
constexpr int8_t m7
Definition: Intervals.hpp:17
Intervals
Definition: Intervals.hpp:5
Intervals::M2
constexpr int8_t M2
Definition: Intervals.hpp:9
Intervals::m3
constexpr int8_t m3
Definition: Intervals.hpp:10
Intervals::m6
constexpr int8_t m6
Definition: Intervals.hpp:15
Intervals::P1
constexpr int8_t P1
Definition: Intervals.hpp:7
Intervals::P8
constexpr int8_t P8
Definition: Intervals.hpp:19
Intervals::M3
constexpr int8_t M3
Definition: Intervals.hpp:11
Intervals::P4
constexpr int8_t P4
Definition: Intervals.hpp:12