-
Imperfect unordered interval ordinals (e.g., unison, fourth).
Declaration
Swift
case perfect(Perfect) -
Perfect unordered interval ordinals (e.g., second, third).
Declaration
Swift
case imperfect(Imperfect) -
Undocumented
Declaration
Swift
public var inverse: UnorderedDiatonicInterval.Number { get } -
The amount of diatonic steps represented by this
UnorderedIntervalDescriptor.Ordinal.Declaration
Swift
public var steps: Int { get }
-
Createss a
UnorderedDiatonicIntervalwith the given amount ofsteps.Declaration
Swift
public init?(steps: Int) -
Creates an
UnorderedDiatonicIntervalwith the givenorderedinterval.In the case that the
orderedinterval is out of range (e.g.,.fifth,.sixth,.seventh), the.inverseis converted into an unordered interval (e.g., a.seventhbecomes a.second).Declaration
Swift
public init(_ ordered: DiatonicInterval.Number)
-
Declaration
Swift
public static func distanceToIdealInterval(for steps: Int, to interval: Double) -> DoubleReturn Value
The distance from the given
intervalto the ideal interval for the given amount ofsteps.
View on GitHub
Install in Dash
Number Enumeration Reference