Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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