DiatonicIntervalQuality

public enum DiatonicIntervalQuality : Invertible

The quality of an interval between two Pitch values.

  • Perfect interval qualities (e.g., perfect).

    Declaration

    Swift

    case perfect(Perfect)
  • Imperfect interval qualities (e.g., major or minor).

    Declaration

    Swift

    case imperfect(Imperfect)
  • Extended interval qualities (e.g., augmented or diminished).

    Declaration

    Swift

    case extended(Extended)
  • A perfect interval quality.

    See more

    Declaration

    Swift

    public enum Perfect : Double
  • An imperfect interval quality.

    See more

    Declaration

    Swift

    public enum Imperfect : Double, InvertibleEnum
  • An augmented or diminished interval quality

    See more

    Declaration

    Swift

    public struct Extended : Invertible
  • Declaration

    Swift

    public var inverse: DiatonicIntervalQuality { get }

    Return Value

    Inversion of self

  • Declaration

    Swift

    public var adjustment: Double { get }

    Return Value

    The amount of adjustment in semitones from the ideal interval represented by this IntervalQuality.

  • Printable description of IntervalQuality.

    Declaration

    Swift

    public var description: String { get }