Class: Musa::Scales::MinorNaturalScaleKind
- Inherits:
-
ScaleKind
- Object
- ScaleKind
- Musa::Scales::MinorNaturalScaleKind
show all
- Defined in:
- lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb
Constant Summary
collapse
- @@pitches =
{ functions: %i[i _1 tonic first],
pitch: 0 },
{ functions: %i[ii _2 supertonic second],
pitch: 2 },
{ functions: %i[iii _3 mediant relative relative_major third],
pitch: 3 },
{ functions: %i[iv _4 subdominant fourth],
pitch: 5 },
{ functions: %i[v _5 dominant fifth],
pitch: 7 },
{ functions: %i[vi _6 submediant sixth],
pitch: 8 },
{ functions: %i[vii _7 seventh],
pitch: 10 },
{ functions: %i[viii _8 eighth],
pitch: 12 },
{ functions: %i[ix _9 ninth],
pitch: 12 + 2 },
{ functions: %i[x _10 tenth],
pitch: 12 + 3 },
{ functions: %i[xi _11 eleventh],
pitch: 12 + 5 },
{ functions: %i[xii _12 twelfth],
pitch: 12 + 7 },
{ functions: %i[xiii _13 thirteenth],
pitch: 12 + 8 }].freeze
Instance Attribute Summary
Attributes inherited from ScaleKind
#tuning
Class Method Summary
collapse
Methods inherited from ScaleKind
#==, #[], #absolut, chromatic?, #chromatic?, #default_root, grade_of_function, #grades, grades_functions, #id, #initialize, #inspect, #pitches
Class Method Details
.grades ⇒ Object
150
151
152
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 150
def grades
7
end
|
.id ⇒ Object
154
155
156
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 154
def id
:minor
end
|
.pitches ⇒ Object
146
147
148
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 146
def pitches
@@pitches
end
|