Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
MIDI_Constants
Chords
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;
8
constexpr
int8_t
m2
= 1;
9
constexpr
int8_t
M2
= 2;
10
constexpr
int8_t
m3
= 3;
11
constexpr
int8_t
M3
= 4;
12
constexpr
int8_t
P4
= 5;
13
constexpr
int8_t
d5
= 6;
14
constexpr
int8_t
P5
= 7;
15
constexpr
int8_t
m6
= 8;
16
constexpr
int8_t
M6
= 9;
17
constexpr
int8_t
m7
= 10;
18
constexpr
int8_t
M7
= 11;
19
constexpr
int8_t
P8
= 12;
20
21
}
// namespace Intervals
Intervals
Definition
Intervals.hpp:5
Intervals::m2
constexpr int8_t m2
Minor second.
Definition
Intervals.hpp:8
Intervals::m3
constexpr int8_t m3
Minor third.
Definition
Intervals.hpp:10
Intervals::M2
constexpr int8_t M2
Major second.
Definition
Intervals.hpp:9
Intervals::P8
constexpr int8_t P8
Perfect octave.
Definition
Intervals.hpp:19
Intervals::d5
constexpr int8_t d5
Diminished fifth.
Definition
Intervals.hpp:13
Intervals::m7
constexpr int8_t m7
Minor seventh.
Definition
Intervals.hpp:17
Intervals::M7
constexpr int8_t M7
Major seventh.
Definition
Intervals.hpp:18
Intervals::P1
constexpr int8_t P1
Perfect unison.
Definition
Intervals.hpp:7
Intervals::M3
constexpr int8_t M3
Major third.
Definition
Intervals.hpp:11
Intervals::P4
constexpr int8_t P4
Perfect fourth.
Definition
Intervals.hpp:12
Intervals::M6
constexpr int8_t M6
Major sixth.
Definition
Intervals.hpp:16
Intervals::m6
constexpr int8_t m6
Minor sixth.
Definition
Intervals.hpp:15
Intervals::P5
constexpr int8_t P5
Perfect fifth.
Definition
Intervals.hpp:14
Generated by
1.10.0