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