Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the data available handler for this midi port.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PortMidi | 8.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
StreamRef | The reference to the midi stream. You create those with PortMidi.OpenInput or PortMidi.OpenOutput and finally close them with PortMidi.Close. | $stream |
FileName | The name of the FileMaker File that contains the script | "MyDatabase.fp7" |
ScriptName | The name of the script to run | "DataAvailable" |
Returns OK or error.
Set script to be triggered if data is available:
Set Variable [$r; Value:MBS("PortMidi.SetDataAvailableHandler"; $$port; Get(FileName); "ReadMessage")]
This function checks for a license.
Created 24th November 2018, last changed 26th November 2018