PlayButton
public struct PlayButton: View
SwiftUI Button
to play the chord with MIDI
-
Public init
Declaration
Swift
public init(chord: ChordDefinition, instrument: Midi.Instrument)
-
The chord to play
Declaration
Swift
let chord: ChordDefinition
-
The instrument to use
Declaration
Swift
let instrument: Midi.Instrument
-
The body of the
View
Declaration
Swift
public var body: some View