CreateOutput
RtMidiOut rtmidi.CreateOutput(number api = rtmidi.API.UNSPECIFIED, string client_name = "Garry's Mod Output Client")
Creates a new instance of the RtMidiOut class.
- number
api = rtmidi.API.UNSPECIFIED
The MIDI API to use. See the rtmidi.API enumerations.
The default value,rtmidi.API.UNSPECIFIED, will choose a supported API automatically.
Specifying this argument is only useful when using an alternative API (e.g. JACK) - string
client_name = "Garry's Mod Input Client"
The name of the MIDI client.
- RtMidiOut
The created RtMidiOut instance.