Scale
public struct Scale: Equatable, Codable
Scale object with ScaleType and scale’s key of NoteType.
Could calculate note sequences in [Note] format.
-
Stack of notes to generate chords for each note in the scale.
See moreDeclaration
Swift
public enum HarmonicField: Int, Codable -
Generates chords for harmonic field of scale.
Declaration
Swift
public func harmonicField(for field: HarmonicField, inversion: Int = 0) -> [Chord?]Parameters
fieldType of chords you want to generate.
inversionInversion degree of the chords. Defaults 0.
Return Value
Returns triads or tetrads of chord for each note in scale.
-
Converts
Scaleto string with its key and type.Declaration
Swift
public var description: String
View on GitHub
Scale Structure Reference