Chord
public struct Chord
Collection of pitches.
Example usage
let cMajor: Chord = [60,64,67]
let gMinor: Chord = [67,70,74]
-
Creates a
Chordwith the givenfirstpitch and the givenintervals.Declaration
Swift
public init(_ lowest: Pitch, _ intervals: IntervalPattern) -
Creates a
Chordwith the intervals in the givensequence.Declaration
Swift
public init<S>(_ sequence: S) where S : Sequence, S.Element == Pitch -
Creates a
Chordwith the givenlowestpitch and the givenChordDescriptor.Declaration
Swift
public init(lowest: Pitch, descriptor: ChordDescriptor)
-
Declaration
Swift
public init(arrayLiteral pitches: Pitch...)
View on GitHub
Install in Dash
Chord Structure Reference