Platforms to show: All Mac Windows Linux Cross-Platform

PortMidiMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class MIDI MBS Audio Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The PortMidi library wrapped for use in Xojo.

Error codes:
const pmNoError= 0
const pmHostError= -10000
const pmInvalidDeviceId= -9999
const pmInsufficientMemory= -9998
const pmBufferTooSmall= -9997
const pmBufferOverflow= -9996
const pmBadPtr= -9995
const pmBadData= -9994
const pmInternalError= -9993
const pmBufferMaxSize= -9992

Requires libasound.so.2 on Linux to be installed.

Constants

Constant Value Description
pmBadData -9994 One of the PortMidi errors. illegal midi data, e.g. missing EOX
pmBadPtr -9995 One of the PortMidi errors.
pmBufferMaxSize -9992 One of the PortMidi errors. buffer is already as large as it can be.
pmBufferOverflow -9996 One of the PortMidi errors.
pmBufferTooSmall -9997 One of the PortMidi errors.
pmHostError -10000 One of the PortMidi errors.
pmInsufficientMemory -9998 One of the PortMidi errors.
pmInternalError -9993 One of the PortMidi errors.
pmInvalidDeviceId -9999 One of the PortMidi errors. out of range or output device when input is requested or input device when output is requested or device is already opened.
pmNoDevice -1 One of the PortMidi errors.
pmNoError 0 One of the PortMidi errors.

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes

  • Version 21.2

The items on this page are in the following plugins: MBS Audio Plugin.


PortMidiEventMBS   -   PortMidiStreamMBS


The biggest plugin in space...