Class: Musa::Scales::ChromaticScaleKind
- Inherits:
-
ScaleKind
- Object
- ScaleKind
- Musa::Scales::ChromaticScaleKind
show all
- Defined in:
- lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb
Constant Summary
collapse
- @@pitches =
[{ functions: [:_1], pitch: 0 },
{ functions: [:_2], pitch: 1 },
{ functions: [:_3], pitch: 2 },
{ functions: [:_4], pitch: 3 },
{ functions: [:_5], pitch: 4 },
{ functions: [:_6], pitch: 5 },
{ functions: [:_7], pitch: 6 },
{ functions: [:_8], pitch: 7 },
{ functions: [:_9], pitch: 8 },
{ functions: [:_10], pitch: 9 },
{ functions: [:_11], pitch: 10 },
{ functions: [:_12], pitch: 11 }].freeze
Instance Attribute Summary
Attributes inherited from ScaleKind
#tuning
Class Method Summary
collapse
Methods inherited from ScaleKind
#==, #[], #absolut, #chromatic?, #default_root, grade_of_function, #grades, grades, grades_functions, #id, #initialize, #inspect, #pitches
Class Method Details
.chromatic? ⇒ Boolean
62
63
64
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 62
def chromatic?
true
end
|
.id ⇒ Object
58
59
60
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 58
def id
:chromatic
end
|
.pitches ⇒ Object
54
55
56
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 54
def pitches
@@pitches
end
|