Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Opens an input device.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PortMidi | 4.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
DeviceID | The device ID, a number from 0 to PortMidi.DeviceCount-1. | 0 | |
BufferSize | Optional, number of events to buffer. Default is 100 if you don't pass this parameter. | 0 | Optional |
Latency | The desired latency. By default 0 is used which means no latency. | 0 | Optional |
Returns StreamRef or error.
This function checks for a license.
Created 18th August 2014, last changed 9th January 2015