ChordExtensionType

public struct ChordExtensionType: ChordPart

Defines extended chords. If you add one octave up of second, fourth or sixth notes of the chord, you have extended chords. You can combine extended chords more than one in a chord.

  • Defines type of the extended chords.

    See more

    Declaration

    Swift

    public enum ExtensionType: Int, ChordDescription
  • Type of extended chord.

    Declaration

    Swift

    public var type: ExtensionType
  • Accident of extended chord.

    Declaration

    Swift

    public var accidental: Accidental
  • Initilizes extended chord.

    Declaration

    Swift

    public init(type: ExtensionType, accidental: Accidental = .natural)

    Parameters

    type

    Type of extended chord.

    accident

    Accident of extended chord. Defaults natural.

  • Initilize chord part with interval

    Declaration

    Swift

    public init?(interval: Interval)
  • Interval between root.

    Declaration

    Swift

    public var interval: Interval
  • Notation of chord part.

    Declaration

    Swift

    public var notation: String
  • Description of chord part.

    Declaration

    Swift

    public var description: String
  • all

    All values of ChordExtensionType

    Declaration

    Swift

    public static var all: [ChordExtensionType]