Class: Musa::Scales::TwelveSemitonesScaleSystem
- Inherits:
-
ScaleSystem
- Object
- ScaleSystem
- Musa::Scales::TwelveSemitonesScaleSystem
show all
- Defined in:
- lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb
Constant Summary
collapse
- @@intervals =
{ P0: 0, m2: 1, M2: 2, m3: 3, M3: 4, P4: 5, TT: 6, P5: 7, m6: 8, M6: 9, m7: 10, M7: 11, P8: 12 }
Class Method Summary
collapse
Methods inherited from ScaleSystem
#==, [], chromatic_class, #default_a_frequency, default_a_frequency, default_tuning, frequency_of_pitch, #frequency_of_pitch, #id, #intervals, #notes_in_octave, offset_of_interval, #part_of_tone_size, register, scale_kind_class, scale_kind_class?, scale_kind_classes
Class Method Details
.id ⇒ Object
9
10
11
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 9
def id
:et12
end
|
.intervals ⇒ Object
21
22
23
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 21
def intervals
@@intervals
end
|
.notes_in_octave ⇒ Object
13
14
15
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 13
def notes_in_octave
12
end
|
.part_of_tone_size ⇒ Object
17
18
19
|
# File 'lib/musa-dsl/music/equally-tempered-12-tone-scale-system.rb', line 17
def part_of_tone_size
1
end
|