Skip to content

module SunVox::Scales #

Constants#

CHROMATIC = SunVox::Scale.new([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]) #

HEPTATONIC = SunVox::Scale.new([3, 1, 1, 1, 1, 3]) #

HEXATONIC = SunVox::Scale.new([3, 2, 1, 1, 3]) #

MINOR_HEXATONIC = SunVox::Scale.new([2, 1, 2, 2, 3]) #

NONATONIC = SunVox::Scale.new([2, 1, 1, 1, 1, 1, 2, 1]) #

OCTATONIC_HALF_WHOLE = SunVox::Scale.new([1, 2, 1, 2, 1, 2, 1]) #

OCTATONIC_WHOLE_HALF = SunVox::Scale.new([2, 1, 2, 1, 2, 1, 2]) #

PENTATONIC = SunVox::Scale.new([3, 2, 1, 4]) #

Class methods#

.make(starting_note : SunVox::Note, scale : SunVox::Scale) #