|
Error codes :
#define kDxMM_Unavailable -1
#define kDxOMS_Unavailable -101
The driver (MM or OMS) is unavailable, not installed or the serial
port is used yet.
#define kMM_SignatureError -2
#define kOMS_SignatureError -102
Signature error on MidiConnect command (MM or OMS)
#define kMM_Absent -10
#define kOMS_Absent -110
Signature error on MidiDisconnect command (MM or OMS)
#define kMM_CloseError -11
#define kOMS_CloseError -111
Signature error on closing ports
#define kMM_MemError -33
#define kOMS_MemError -133
Memory error on creating events buffers.
Alert codes :
#define kMM_OutAlert 2
Midi OUT connection aborted(no connection made)
#define kMM_InAlert 4
Midi IN automatic connection aborted (no connection made)
#define kMM_PatchAlert 8
Midi Patch alert - le patchBay (MM) detected an internal error
#define kMM_NoErr 0
#define kOMS_NoErr 0
Midi no error
#define kMM_Present 100
#define kOMS_Present 200
Midi double SignIn alert
(you just have to apply Connect() once on the control)
OMS sendData constants
#define omsContMask 0x03
#define omsNoCont 0x00
#define omsStartCont 0x01
#define omsMidCont 0x03
#define omsEndCont 0x02
Midi nodes types (extracted from OMS (C SDK)
enum {
omsIncludeInputs = 1,
omsIncludeOutputs = 2,
omsIncludeReal = 4,
omsIncludeVirtual = 8,
omsIncludeSync = 16,
omsIncludeSyncOnly = 32,
omsMergeOutputsByPort = 64,
omsIncludeSecret = 128
};
MidiManager constants for SendData
midiNoCont = 0x00,
midiStartCont = 0x01,
midiMidCont = 0x03,
midiEndCont = 0x02,
©03/1999 Stéphane Cabanis - Premm
stephane@cabanis.com
Midi Manager by Apple©.
OMS by Opcode© Systems.
Report bugs : clix@multimania.com
Tech info : premm@club-internet
DxMidi plugin is shareware. If you are using this for your programs, pay
your fee (20$) contribution.
If you use this plugin for commercial use, dont forget to stamp
your program with the «Made with DxMidi». For a worldwide
license, call the purchase service : clix@multimania.com
RealVision WebSite : http://perso.club-internet.fr/premm/rb/
|
|