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

OpenPort

RtMidiOut:OpenPort(number port)

Description

Opens a port to send messages to.

Only one port can be open at a time per RtMidiOut instance.
If you need to send messages to multiple ports simultaneously, create another RtMidiOut instance with rtmidi.CreateOutput.

Arguments

  1. number port
    The port number.