Description of the MidiIO class public functions
MidiIO class public functions
Functions inherited from MidiOutput
Functions inherited from MidiOutPort
Functions inherited from MidiInput
Functions inherited from MidiInPort.
- 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