oap
. You should never try to
create an OMS_app yourself.
class OMS_app { public: OMS_app( long app_sig ); ~OMS_app(); ioref open_input( const char* ); ioref output_refnum( const char* ); void closeAllInputs(); void closeAllOutputs(); void processQueue(); int howManyOutputNodes(); ioref getOutputRefnum(int); char* getOutputNodeName(ioref); static long time(); void write(const MIDI_msg *m); };
OMS_app( long app_sig )
OMS_app
. Only trained professionals
should attempt this.
~OMS_app()
OMS_app
.
ioref open_input( const char* x)
x
. The matching is done as
a case-insensitive substring search. Once the node is open, the active
parser can receive MIDI messages from the node. Returns the
ioref
of the node.
ioref output_refnum( const char* x)
ioref
of the node named x
.
The matching is done as a case-insensitive substring search.
void closeAllInputs()
void closeAllOutputs()
void processQueue()
int howManyOutputNodes()
ioref getOutputRefnum(int n)
char* getOutputNodeName(ioref i)
static long time()
void write(const MIDI_msg *m)
m
to the appropriate output node.