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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
PortMidi.OpenInput
Opens an input device.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PortMidi | 4.2 | Yes | Yes | No | No | No |
MBS( "PortMidi.OpenInput"; DeviceID { ; BufferSize; Latency } ) More
Parameters
| 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 |
Result
Returns StreamRef or error.
Description
Opens an input device.Midi reference numbers are starting at 17000 and counting up for each new midi stream.
See also
- PortMidi.CheckHostError
- PortMidi.DeviceCount
- PortMidi.GetDeviceName
- PortMidi.OpenOutput
- PortMidi.Poll
- PortMidi.SendMessage
- PortMidi.SendMessageRaw
- PortMidi.SendSysExHex
- PortMidi.SetChannelMask
- PortMidi.SetFilter
Example Databases
Created 18th August 2014, last changed 9th January 2015
PortMidi.GetFilter - PortMidi.OpenOutput
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins