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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    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

This function is free to use.

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


PortMidi.Close - PortMidi.DeviceCount

💬 Ask a question or report a problem