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
field
Type of chords you want to generate.
inversion
Inversion degree of the chords. Defaults 0.
Return Value
Returns triads or tetrads of chord for each note in scale.
-
Converts
Scale
to string with its key and type.Declaration
Swift
public var description: String