PortMidiMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


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


PortMidiEventMBS   -   PortMidiStreamMBS


💬 Ask a question or report a problem