TuneDescription
public struct TuneDescription : Equatable
Tune description, containing song elements and tempo.
-
Undocumented
Declaration
Swift
public let songElements: [SongElement]
-
Undocumented
Declaration
Swift
public let tempo: Int32
-
Initializes a new
TuneDescription
.Declaration
Swift
public init(songElements: [SongElement], tempo: Int32)
Parameters
songElements
The list of song elements (notes, pauses, …) to be played
tempo
The tempo of the song (range: 32 - 255)
-
Declaration
Swift
public static func == (lhs: TuneDescription, rhs: TuneDescription) -> Bool