Database
public struct Database: Codable
The structure of the chord database
-
Init the database
Declaration
Swift
public init(instrument: Instrument, definitions: [String])
Parameters
instrument
The
Instrument
of the databasedefinitions
The chord definitions in ChordPro format
-
The
Instrument
of the databaseDeclaration
Swift
public let instrument: Instrument
-
The chord definitions in ChordPro format
Declaration
Swift
public let definitions: [String]