FMOut Class Reference
FM device output class . Sends MIDI events to FM devices. More...
#include <fmout.h>
Inheritance diagram for FMOut:

Public Member Functions | |
FMOut (int d=0, int total=12) | |
~FMOut () | |
virtual void | openDev (int sqfd) |
virtual void | closeDev (void) |
virtual void | initDev (void) |
virtual void | noteOn (uchar chn, uchar note, uchar vel) |
virtual void | noteOff (uchar chn, uchar note, uchar vel) |
virtual void | keyPressure (uchar chn, uchar note, uchar vel) |
virtual void | chnPatchChange (uchar chn, uchar patch) |
virtual void | chnPressure (uchar chn, uchar vel) |
virtual void | chnPitchBender (uchar chn, uchar lsb, uchar msb) |
virtual void | chnController (uchar chn, uchar ctl, uchar v) |
virtual void | sysex (uchar *data, ulong size) |
virtual void | setVolumePercentage (int i) |
int | patch (int p) |
Static Public Member Functions | |
void | setFMPatchesDirectory (const char *dir) |
Detailed Description
FM device output class . Sends MIDI events to FM devices.FMOut is used to send MIDI events to FM devices, such as AdLib cards, or OPL3 synthesizers.
FMOut inherits MidiOut and supports the same simple API.
The preferred way to use this class is by selecting a FM device on the MidiManager and using a MidiManager object directly
- Version:
- 0.9.5 17/01/2000
- Author:
- Antonio Larrosa Jimenez <larrosa@kde.org>
Definition at line 43 of file fmout.h.
Constructor & Destructor Documentation
|
Constructor. See MidiOut::MidiOut() for more information. Definition at line 45 of file fmout.cc. References FMOut(). Referenced by FMOut(). |
|
Destructor.
Definition at line 60 of file fmout.cc. References closeDev(). |
Member Function Documentation
|
See MidiOut::openDev().
Reimplemented from MidiOut. Definition at line 72 of file fmout.cc. References openDev(). Referenced by openDev(). |
|
See MidiOut::closeDev().
Reimplemented from MidiOut. Definition at line 89 of file fmout.cc. References MidiOut::ok(). Referenced by ~FMOut(). |
|
See MidiOut::initDev().
Reimplemented from MidiOut. Definition at line 97 of file fmout.cc. References chnController(), chnPatchChange(), chnPitchBender(), chnPressure(), MidiOut::ok(), and sysex(). |
|
See MidiOut::noteOn().
Reimplemented from MidiOut. Definition at line 218 of file fmout.cc. References noteOff(), noteOn(), MidiMapper::patch(), and patch(). Referenced by noteOn(). |
|
See MidiOut::noteOff().
Reimplemented from MidiOut. Definition at line 251 of file fmout.cc. References noteOff(). |
|
See MidiOut::keyPressure().
Reimplemented from MidiOut. Definition at line 266 of file fmout.cc. References keyPressure(). Referenced by keyPressure(). |
|
See MidiOut::chnPatchChange().
Reimplemented from MidiOut. Definition at line 274 of file fmout.cc. References chnPatchChange(), and MidiMapper::patch(). Referenced by chnPatchChange(), and initDev(). |
|
See MidiOut::chnPressure().
Reimplemented from MidiOut. Definition at line 285 of file fmout.cc. References chnPressure(). Referenced by chnPressure(), and initDev(). |
|
See MidiOut::chnPitchBender().
Reimplemented from MidiOut. Definition at line 295 of file fmout.cc. References chnPitchBender(). Referenced by chnPitchBender(), and initDev(). |
|
See MidiOut::chnController().
Reimplemented from MidiOut. Definition at line 306 of file fmout.cc. References chnController(). Referenced by chnController(), and initDev(). |
|
It's an empty function, as FM devices don't support System Exclusive messages.
Reimplemented from MidiOut. Definition at line 321 of file fmout.cc. References sysex(). |
|
See MidiOut::setVolumePercentage().
Reimplemented from MidiOut. Definition at line 337 of file fmout.cc. References setVolumePercentage(). Referenced by setVolumePercentage(). |
|
Returns
Definition at line 207 of file fmout.cc. References patch(). |
|
Sets the directory where the FM patches are stored, that is, where the std.o3, std.sb, drums.o3 and drums.sb files can be found. It will store a copy of the parameter, so you should delete the memory used by the parameter you passed. Definition at line 326 of file fmout.cc. References setFMPatchesDirectory(). Referenced by setFMPatchesDirectory(). |
The documentation for this class was generated from the following files: