Ardour  9.2-129-gdf5e1050bd
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 #pragma once
20 
21 #include <vector>
22 
24 
26 {
27  public:
28  enum Type {
65  Algerian
66  };
67 
70 
71  std::vector<float> steps;
72 
73  private:
74  static void fill (MusicalMode&, Type);
75 };
76 
static void fill(MusicalMode &, Type)
MusicalMode(Type t)
std::vector< float > steps
Definition: mode.h:71
@ Oriental
Definition: mode.h:45
@ Phrygian
Definition: mode.h:35
@ Mixolydian
Definition: mode.h:37
@ Gypsy
Definition: mode.h:61
@ Lydian
Definition: mode.h:36
@ LeadingWholeTone
Definition: mode.h:58
@ Locrian
Definition: mode.h:38
@ Spanish8Tone
Definition: mode.h:54
@ Overtone
Definition: mode.h:57
@ Javanese
Definition: mode.h:63
@ Persian
Definition: mode.h:64
@ BluesScale
Definition: mode.h:42
@ HungarianMinor
Definition: mode.h:49
@ Mohammedan
Definition: mode.h:62
@ AeolianMinor
Definition: mode.h:31
@ NeapolitanMinor
Definition: mode.h:43
@ PentatonicMajor
Definition: mode.h:39
@ Hirajoshi
Definition: mode.h:48
@ Iwato
Definition: mode.h:52
@ PentatonicMinor
Definition: mode.h:40
@ Dorian
Definition: mode.h:29
@ MelodicMinorDescending
Definition: mode.h:34
@ DoubleHarmonic
Definition: mode.h:46
@ IonianMajor
Definition: mode.h:30
@ HarmonicMinor
Definition: mode.h:32
@ Pelog
Definition: mode.h:55
@ Arabian
Definition: mode.h:59
@ Kumoi
Definition: mode.h:51
@ Chromatic
Definition: mode.h:41
@ MelodicMinorAscending
Definition: mode.h:33
@ NeapolitanMajor
Definition: mode.h:44
@ HungarianMajor
Definition: mode.h:50
@ Enigmatic
Definition: mode.h:47
@ HungarianGypsy
Definition: mode.h:56
@ Balinese
Definition: mode.h:60
@ Hindu
Definition: mode.h:53
#define LIBARDOUR_API