DiatonicIntervalProtocol
public protocol DiatonicIntervalProtocol
Interface for intervals between two Pitch
values.
-
The
DiatonicIntervalNumber
-conforming type for thisDiatonicIntervalProtocol
.Declaration
Swift
associatedtype Number : DiatonicIntervalNumber
-
IntervalQuality value of a
OrderedIntervalDescriptor
.(e.g.,
.diminished
,.minor
,.perfect
,.major
,.augmented
).Declaration
Swift
typealias Quality = DiatonicIntervalQuality
-
Unison interval descriptor.
Declaration
Swift
static var unison: Self { get }