13
0
livetrax/libs/surfaces/push2/mode.h

60 lines
831 B
C
Raw Normal View History

2016-07-07 09:26:06 -04:00
#ifndef __ardour_push2_mode_h__
#define __ardour_push2_mode_h__
#include <vector>
class MusicalMode
{
public:
enum Type {
Dorian,
IonianMajor,
Minor,
HarmonicMinor,
MelodicMinorAscending,
MelodicMinorDescending,
2016-07-07 09:26:06 -04:00
Phrygian,
Lydian,
Mixolydian,
Aeolian,
Locrian,
PentatonicMajor,
PentatonicMinor,
Chromatic,
BluesScale,
NeapolitanMinor,
NeapolitanMajor,
Oriental,
DoubleHarmonic,
Enigmatic,
Hirajoshi,
HungarianMinor,
HungarianMajor,
Kumoi,
Iwato,
Hindu,
Spanish8Tone,
Pelog,
HungarianGypsy,
Overtone,
LeadingWholeTone,
Arabian,
Balinese,
Gypsy,
Mohammedan,
Javanese,
Persian,
Algerian
};
MusicalMode (Type t);
~MusicalMode ();
std::vector<float> steps;
private:
static void fill (MusicalMode&, Type);
};
#endif /* __ardour_push2_mode_h__ */