Ardour  8.7-14-g57a6773833
mode.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1999-2016 Paul Davis <paul@linuxaudiosystems.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef __ardour_mode_h__
20 #define __ardour_mode_h__
21 
22 #include <vector>
23 
25 {
26  public:
27  enum Type {
64  Algerian
65  };
66 
69 
70  std::vector<float> steps;
71 
72  private:
73  static void fill (MusicalMode&, Type);
74 };
75 
76 #endif /* __ardour_mode_h__ */
static void fill(MusicalMode &, Type)
MusicalMode(Type t)
std::vector< float > steps
Definition: mode.h:70
@ Oriental
Definition: mode.h:44
@ Phrygian
Definition: mode.h:34
@ Algerian
Definition: mode.h:64
@ Mixolydian
Definition: mode.h:36
@ Gypsy
Definition: mode.h:60
@ Lydian
Definition: mode.h:35
@ LeadingWholeTone
Definition: mode.h:57
@ Locrian
Definition: mode.h:37
@ Spanish8Tone
Definition: mode.h:53
@ Overtone
Definition: mode.h:56
@ Javanese
Definition: mode.h:62
@ Persian
Definition: mode.h:63
@ BluesScale
Definition: mode.h:41
@ HungarianMinor
Definition: mode.h:48
@ Mohammedan
Definition: mode.h:61
@ AeolianMinor
Definition: mode.h:30
@ NeapolitanMinor
Definition: mode.h:42
@ PentatonicMajor
Definition: mode.h:38
@ Hirajoshi
Definition: mode.h:47
@ Iwato
Definition: mode.h:51
@ PentatonicMinor
Definition: mode.h:39
@ Dorian
Definition: mode.h:28
@ MelodicMinorDescending
Definition: mode.h:33
@ DoubleHarmonic
Definition: mode.h:45
@ IonianMajor
Definition: mode.h:29
@ HarmonicMinor
Definition: mode.h:31
@ Pelog
Definition: mode.h:54
@ Arabian
Definition: mode.h:58
@ Kumoi
Definition: mode.h:50
@ Chromatic
Definition: mode.h:40
@ MelodicMinorAscending
Definition: mode.h:32
@ NeapolitanMajor
Definition: mode.h:43
@ HungarianMajor
Definition: mode.h:49
@ Enigmatic
Definition: mode.h:46
@ HungarianGypsy
Definition: mode.h:55
@ Balinese
Definition: mode.h:59
@ Hindu
Definition: mode.h:52