Quality

enum Quality : Sendable

The quality of the interval

  • Perfect

    Declaration

    Swift

    case perfect
  • Major.

    Declaration

    Swift

    case major
  • Minor

    Declaration

    Swift

    case minor
  • Augmented

    Note

    major or perfect interval is increased by one semitone

    Declaration

    Swift

    case augmented
  • Diminished

    Note

    minor or perfect interval is decreased by one semitone

    Declaration

    Swift

    case diminished

CustomStringConvertible

  • Returns the notation of the interval quality

    Declaration

    Swift

    public var notation: String { get }
  • Returns the name of the interval quality

    Declaration

    Swift

    public var description: String { get }