Collection

extension Collection where Element: NoteNumberRepresentable
  • Declaration

    Swift

    public var intervals: [OrderedInterval<Element>] { get }

    Return Value

    The intervals between each adjacent pair of pitches contained herein.

  • Declaration

    Swift

    public var dyads: [Dyad<Element>] { get }

    Return Value

    The dyads between each pitch and each other pitch contained herein.