mnOpenInput

Open a new input handle to receive events from a port.

  1. MnInputHandle mnOpenInput(string portName)
  2. MnInputHandle mnOpenInput(uint portId)
    MnInputHandle
    mnOpenInput
    (
    uint portId = 0
    )

Parameters

portId uint

The id of the port to open (0: default)

Return Value

Type: MnInputHandle

A new handle to receive midi events or null if the port doesn't exist

Meta