ToneRow

public struct ToneRow: Equatable, ExpressibleByArrayLiteral, MutableCollection

The ToneRow type deals with ordered collections of pitch-classes and adds utility methods for working with tone rows in compositional contexts.

  • Declaration

    Swift

    public static func ==(lhs: ToneRow, rhs: ToneRow) -> Bool
  • Declaration

    Swift

    public init(arrayLiteral: Element...)
  • Initialize from a PCSet.

    Declaration

    Swift

    public init(_ pcSet: PCSet)
  • Initialize from an array of PitchClasses.

    Declaration

    Swift

    public init(_ pitchClasses: [Element])
  • Declaration

    Swift

    public var startIndex: Index
  • Declaration

    Swift

    public var endIndex: Index
  • Declaration

    Swift

    public func index(after i: Index) -> Index
  • Generate a ToneMatrix from the current ToneRow.

    Declaration

    Swift

    public func buildMatrix() -> ToneMatrix