ChordProgressionNode

public enum ChordProgressionNode: Int, CustomStringConvertible, Codable

A node of chord progression in intervals.

  • i

    First-degree node

    Declaration

    Swift

    case i
  • ii

    Second-degree node

    Declaration

    Swift

    case ii
  • iii

    Third-degree node

    Declaration

    Swift

    case iii
  • iv

    Fourth-degree node

    Declaration

    Swift

    case iv
  • v

    Fifth-degree node

    Declaration

    Swift

    case v
  • vi

    Sixth-degree node

    Declaration

    Swift

    case vi
  • vii

    Seventh-degree node

    Declaration

    Swift

    case vii
  • Meaningful next nodes, useful for a recommendation engine.

    Declaration

    Swift

    public var next: [ChordProgressionNode]
  • all

    All nodes.

    Declaration

    Swift

    public static let all: [ChordProgressionNode] = [.i, .ii, .iii, .iv, .v, .vi, .vii]
  • Returns roman numeric string of the node.

    Declaration

    Swift

    public var description: String