class MusicTheory::Modes

Constants

CHROMATIC
I
II
III
IV
S
T
V
VI
VII

Public Class Methods

aeolian() click to toggle source
# File lib/music_theory/modes.rb, line 32
def self.aeolian; VI; end
chromatic() click to toggle source
# File lib/music_theory/modes.rb, line 39
def self.chromatic; CHROMATIC; end
dorian() click to toggle source
# File lib/music_theory/modes.rb, line 20
def self.dorian; II; end
ionian() click to toggle source

Map the music theory names as class methods

# File lib/music_theory/modes.rb, line 16
def self.ionian; I; end
locrian() click to toggle source
# File lib/music_theory/modes.rb, line 36
def self.locrian; VII; end
lydian() click to toggle source
# File lib/music_theory/modes.rb, line 26
def self.lydian; IV; end
mixolydian() click to toggle source
# File lib/music_theory/modes.rb, line 29
def self.mixolydian; V; end
phrygian() click to toggle source
# File lib/music_theory/modes.rb, line 23
def self.phrygian; III; end