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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

PortMidi.CurrentEvent

Queries current event.

Component Version macOS Windows Linux Server iOS SDK
PortMidi 7.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "PortMidi.CurrentEvent" )

Parameters

none

Result

Returns list of values or error.

Description

Queries current event.
Returns several values: status, data1, data2 and timestamp.
You can use this to show current note playing.

Examples

Queries current event:

MBS( "PortMidi.CurrentEvent" )

Example result:
128
56
95
0

Release notes

Blog Entries

Created 10th February 2017, last changed 11st February 2017


PortMidi.Close - PortMidi.DeviceCount

Feedback: Report problem or ask question.