Instrument

enum Instrument: Int, CaseIterable, Codable, Sendable

The available MIDI instruments for the player

  • Acoustic Nylon Guitar

    Declaration

    Swift

    case acousticNylonGuitar = 24
  • Acoustic Steel Guitar

    Declaration

    Swift

    case acousticSteelGuitar
  • Electric Jazz Guitar

    Declaration

    Swift

    case electricJazzGuitar
  • Electric Clean Guitar

    Declaration

    Swift

    case electricCleanGuitar
  • Electric Muted Guitar

    Declaration

    Swift

    case electricMutedGuitar
  • Overdriven Guitar

    Declaration

    Swift

    case overdrivenGuitar
  • Distortion Guitar

    Declaration

    Swift

    case distortionGuitar
  • / The label for the instrument

    Declaration

    Swift

    public var label: String