Skip to main content
gmcl_rtmidi
Realtime MIDI for Garry's Mod
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

CreateOutput

RtMidiOut rtmidi.CreateOutput(number api = rtmidi.API.UNSPECIFIED, string client_name = "Garry's Mod Output Client")

Description

Creates a new instance of the RtMidiOut class.

Arguments

  1. 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)
  2. string client_name = "Garry's Mod Input Client"
    The name of the MIDI client.

Returns

  1. RtMidiOut
    The created RtMidiOut instance.