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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

PortMidi.CurrentEvent

Queries current event.

Component Version macOS Windows Server FileMaker Cloud FileMaker 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


PortMidi.Close   -   PortMidi.DeviceCount

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos