MidiIO class public functions

MidiIO
~MidiIO
close
closeInput
closeOutput
getInputPort
getInputTrace
getNumInputPorts
getNumOutputPorts
getOutputPort
getOutputTrace
open
openInput
openOutput
setInputPort
setInputTrace
setOutputPort
setOutputTrace
toggleInputTrace
toggleOutputTrace


Functions inherited from MidiOutput

cont
off
pc
play
pw
recordStart
recordStop
reset
send
silence
sustain
Functions inherited from MidiOutPort

close
closeAll
getName
getNumPorts
getPort
getPortStatus
open
rawsend
setPort
Functions inherited from MidiInput

makeOrphanBuffer
removeOrphanBuffer
isOrphan
Functions inherited from MidiInPort.

close
closeAll
extract
getCount
getName
getNumPorts
getPort
getPortStatus
getTrace
insert
open
pause
setBufferSize
setPort
setTrace
toggleTrace
unpause


MidiOutput();
Calls MidiOutPort().
MidiOutput(int aPort, int openAuto = 1);
Opens MIDI port aPort automatically if openAuto == 1. If the port is already open, will not try to reopen it.

void ~MidiOutput();
Does nothing.

void close(void);
Closes both the input and output ports.

void closeInput(void);
Closes input port.

void closeOutput(void);
Closes the output port.

void getInputPort();
Returns the MIDI input port from which the object receives input.

void getInputTrace();
Returns true if trace of MIDI input is on; otherwise returns false. If trace is on, then will print to screen the MIDI message received.

void getNumInputPorts();
calls MidiInput::getNumPorts().

void getNumOutputPorts();
calls MidiOutput::getNumPorts().

void getOutputPort();
Returns the MIDI output port to which the object directs output.

void getOutputTrace();


int open(void);
Opens the input and output MIDI ports.

int openInput(void);
Opens the input MIDI port.

int openOutput(void);
Opens the output MIDI port.

void setInputPort();


void setInputTrace();


void setOutputPort();


void setOutputTrace();


void toggleInputTrace();


void toggleOutputTrace();











Send comments/errors on this page to craig@ccrma.stanford.edu