This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
Classes | Namespaces | Variables
Chords.hpp File Reference
#include "Intervals.hpp"
#include <Helpers/ArrayHelpers.hpp>
Include dependency graph for Chords.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IChord
 
class  Chord< N >
 

Namespaces

 Chords
 Predefined Chord constants.
 
 Bass
 Predefined Chord constants with bass notes.
 

Variables

const Chord< 2 > Chords::Major = {{M3, P5}}
 
const Chord< 2 > Chords::MajorFirstInv = {{M3, P5 - P8}}
 
const Chord< 2 > Chords::MajorSecondInv = {{M3 - P8, P5 - P8}}
 
const Chord< 2 > Chords::Minor = {{m3, P5}}
 
const Chord< 2 > Chords::MinorFirstInv = {{m3, P5 - P8}}
 
const Chord< 2 > Chords::MinorSecondInv = {{m3 - P8, P5 - P8}}
 
const Chord< 2 > Chords::Diminished = {{m3, d5}}
 
const Chord< 2 > Chords::Augmented = {{m3, m6}}
 
const Chord< 3 > Chords::DominantSeventh = {{M3, P5, m7}}
 
const Chord< 3 > Chords::MajorSeventh = {{M3, P5, M7}}
 
const Chord< 1 > Bass::Single = {{-P8}}
 
const Chord< 2 > Bass::Double = {{-P8, -2 * P8}}
 
const Chord< 3 > Bass::Triple = {{-P8, -2 * P8, -3 * P8}}