Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Opens an input device.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PortMidi 4.2 Yes Yes No No No

MBS( "PortMidi.OpenInput"; DeviceID { ; BufferSize; Latency } )


Parameter Description Example value
DeviceID The device ID, a number from 0 to PortMidi.DeviceCount-1. 0
BufferSize Optional
Optional, number of events to buffer. Default is 100 if you don't pass this parameter.
Latency Optional
The desired latency. By default 0 is used which means no latency.


Returns StreamRef or error.


Opens an input device.
Midi reference numbers are starting at 17000 and counting up for each new midi stream.

See also

Example Databases

PortMidi.GetFilter   -   PortMidi.OpenOutput

Feedback: Report problem or ask question.

MBS FileMaker blog