Public Member Functions |
| GUSOut (int d=0, int total=12) |
| ~GUSOut () |
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) |
void | setPatchesToUse (int *patchesused) |
int | loadPatch (int pgm) |
int | patch (int p) |
| MidiOut (int d=0) |
virtual | ~MidiOut () |
int | deviceType () const |
const char * | deviceName (void) const |
void | setMidiMapper (MidiMapper *map) |
void | allNotesOff (void) |
virtual void | channelSilence (uchar chn) |
virtual void | channelMute (uchar chn, int b) |
virtual void | setVolumePercentage (int volper) |
int | ok (void) |
const char * | midiMapFilename () |
void | sync (int i=0) |
Gravis Ultrasound synthesizer output class .
This class is used to send midi events to synthesizers on GUS cards.
GUSOut inherits MidiOut and supports the same simple API.
The recommended way to use this class is by using a DeviceManager object, and use the DeviceManager::setPatchesToUse() member which will call the setPatchesToUse() member in this class.
Sends MIDI events to GUS synths
- Version
- 0.9.5 17/01/2000
- Author
- Antonio Larrosa Jimenez larro.nosp@m.sa@k.nosp@m.de.or.nosp@m.g
Definition at line 45 of file gusout.h.
void GUSOut::setGUSPatchesDirectory |
( |
const char * |
dir | ) |
|
|
static |
Sets the directory where the GUS patches are stored, that is, where the acpiano.pat, ...
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 322 of file gusout.cc.