Class: MusicTheory::Modes
- Inherits:
-
Object
- Object
- MusicTheory::Modes
- Defined in:
- lib/music_theory/modes.rb
Constant Summary collapse
- S =
1- T =
2- I =
[T, T, S, T, T, T, S]
- II =
I.rotate
- III =
I.rotate(2)
- IV =
I.rotate(3)
- V =
I.rotate(4)
- VI =
I.rotate(5)
- VII =
I.rotate(6)
- CHROMATIC =
[S,S,S,S,S,S,S,S,S,S,S,S]
Class Method Summary collapse
- .aeolian ⇒ Object
- .chromatic ⇒ Object
- .dorian ⇒ Object
-
.ionian ⇒ Object
Map the music theory names as class methods.
- .locrian ⇒ Object
- .lydian ⇒ Object
- .mixolydian ⇒ Object
- .phrygian ⇒ Object
Class Method Details
.aeolian ⇒ Object
32 |
# File 'lib/music_theory/modes.rb', line 32 def self.aeolian; VI; end |
.chromatic ⇒ Object
39 |
# File 'lib/music_theory/modes.rb', line 39 def self.chromatic; CHROMATIC; end |
.dorian ⇒ Object
20 |
# File 'lib/music_theory/modes.rb', line 20 def self.dorian; II; end |
.ionian ⇒ Object
Map the music theory names as class methods
16 |
# File 'lib/music_theory/modes.rb', line 16 def self.ionian; I; end |
.locrian ⇒ Object
36 |
# File 'lib/music_theory/modes.rb', line 36 def self.locrian; VII; end |
.lydian ⇒ Object
26 |
# File 'lib/music_theory/modes.rb', line 26 def self.lydian; IV; end |
.mixolydian ⇒ Object
29 |
# File 'lib/music_theory/modes.rb', line 29 def self.mixolydian; V; end |
.phrygian ⇒ Object
23 |
# File 'lib/music_theory/modes.rb', line 23 def self.phrygian; III; end |