|
|
This is the Open Sound System MidiScheduler implementation. It requires OSS version 3.60.
Since it opens /dev/sequencer (the OSS sequencer interface) there can only ever be one of these objects instantiated at any given time. Subsequent instanitations will throw an exception.
Before you create an object of this type you may want to call the following static member functions to set the location of patches files:
See also: MidiScheduler, OSSMidiSchedulerFactory
OSSMidiScheduler ()
| OSSMidiScheduler |
Throws: TSE3::MidiSchedulerError
~OSSMidiScheduler ()
| ~OSSMidiScheduler |
[virtual]
std::string & fmPatchesDirectory ()
| fmPatchesDirectory |
[static]
This returns in which directory the device will look for FM patch files. This must be set before the device is created.
The patches directory path can contain multiple paths, separated by colons.
See also: setFmPatchesDirectory
void setFmPatchesDirectory (const std::string &dir)
| setFmPatchesDirectory |
[static]
Call this before creating the OSSMidiScheduler object to set up where to look for FM patches files.
See also: fmPatchesDirectory
std::string & gusPatchesDirectory ()
| gusPatchesDirectory |
[static]
This returns in which directory the device will look for GUD patch files. This must be set before the device is created. (In fact, it must be set before each GUS voice is loaded - they are loaded on demand. However, it is safest to set this before creating the device.)
The patches directory path can contain multiple paths, separated by colons.
See also: setGusPatchesDirectory
void setGusPatchesDirectory (const std::string &dir)
| setGusPatchesDirectory |
[static]
Call this before creating the OSSMidiScheduler object to set up where to look for GUS patches files.
See also: gusPatchesDirectory
const char * impl_implementationName ()
| impl_implementationName |
[protected const virtual]
const char * impl_portName (int port)
| impl_portName |
[protected const virtual]
const char * impl_portType (int port)
| impl_portType |
[protected const virtual]
bool impl_portReadable (int port)
| impl_portReadable |
[protected const virtual]
bool impl_portWriteable (int port)
| impl_portWriteable |
[protected const virtual]
void impl_start (Clock clock)
| impl_start |
[protected virtual]
void impl_stop (Clock clock)
| impl_stop |
[protected virtual]
void impl_moveTo (Clock moveTime, Clock newTime)
| impl_moveTo |
[protected virtual]
Clock impl_clock ()
| impl_clock |
[protected virtual]
int impl_msecs ()
| impl_msecs |
[protected virtual]
void impl_setTempo (int tempo, Clock changeTime)
| impl_setTempo |
[protected virtual]
bool impl_eventWaiting ()
| impl_eventWaiting |
[protected virtual]
MidiEvent impl_rx ()
| impl_rx |
[protected virtual]
void impl_tx (MidiCommand mc)
| impl_tx |
[protected virtual]
void impl_tx (MidiEvent mc)
| impl_tx |
[protected virtual]
void impl_txSysEx (int port,
const unsigned char *data,
size_t size)
| impl_txSysEx |
[protected virtual]