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