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.SendMessageRaw

Sends a raw message.

Component Version macOS Windows Linux Server iOS SDK
PortMidi 4.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "PortMidi.SendMessageRaw"; StreamRef; Message { ; timestamp } )   More

Parameters

Parameter Description Example Flags
StreamRef The reference to the midi stream. You create those with PortMidi.OpenInput or PortMidi.OpenOutput and finally close them with PortMidi.Close. $stream
Message The message encoded as a 32bit integer number. $msg
timestamp The timestamp. Optional

Result

Returns OK or error.

Description

Sends a raw message.
This allows you to encode your own message data like this: status + data1 * 256 + data2 * 65536 + data3 * 16777216.
You can send this way also 4 byte messages by including a third data item.

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


PortMidi.SendMessage - PortMidi.SendSysExHex

💬 Ask a question or report a problem