DiatonicIntervalProtocol

public protocol DiatonicIntervalProtocol

Interface for intervals between two Pitch values.

  • Unison interval descriptor.

    Declaration

    Swift

    static var unison: Self { get }
  • Creates a DiatonicIntervalProtocol with the given quality and the given number.

    Declaration

    Swift

    init(_ quality: Quality, _ ordinal: Number)