Class: Musa::Scales::MinorScaleKind
- Inherits:
-
ScaleKind
- Object
- ScaleKind
- Musa::Scales::MinorScaleKind
show all
- Defined in:
- lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb
Constant Summary
collapse
- @@pitches =
{ functions: %i[i _1 tonic],
pitch: 0 },
{ functions: %i[ii _2 supertonic],
pitch: 2 },
{ functions: %i[iii _3 mediant relative relative_major],
pitch: 3 },
{ functions: %i[iv _4 subdominant],
pitch: 5 },
{ functions: %i[v _5 dominant],
pitch: 7 },
{ functions: %i[vi _6 submediant],
pitch: 8 },
{ functions: %i[vii _7],
pitch: 10 },
{ functions: %i[viii _8],
pitch: 12 },
{ functions: %i[ix _9],
pitch: 12 + 2 },
{ functions: %i[x _10],
pitch: 12 + 3 },
{ functions: %i[xi _11],
pitch: 12 + 5 },
{ functions: %i[xii _12],
pitch: 12 + 7 },
{ functions: %i[xiii _13],
pitch: 12 + 8 }].freeze
Instance Attribute Summary
Attributes inherited from ScaleKind
#tuning
Class Method Summary
collapse
Methods inherited from ScaleKind
#==, #[], #absolut, #chromatic?, chromatic?, 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
|