class Juicy::ScaleDegree
some index of a given scale. if scale is [2,4,5,7,9,11,12], then a scale degree of 3 is 4. scale degree of 1 is 0 by definition. That is, the root of the scale is defined to be a scale degree of 1.
Attributes
degree[R]
Public Class Methods
new(degree)
click to toggle source
# File lib/juicy/scale_degree.rb, line 12 def initialize(degree) @degree = degree end
Public Instance Methods
to_s()
click to toggle source
# File lib/juicy/scale_degree.rb, line 16 def to_s @degree end