#include <OSS.h>
Inheritance diagram for TSE3::Plt::OSSMidiScheduler:
Public Member Functions | |
OSSMidiScheduler () | |
virtual | ~OSSMidiScheduler () |
Static Public Member Functions | |
std::string & | fmPatchesDirectory () |
void | setFmPatchesDirectory (const std::string &dir) |
std::string & | gusPatchesDirectory () |
void | setGusPatchesDirectory (const std::string &dir) |
Protected Member Functions | |
virtual const char * | impl_implementationName () const |
virtual const char * | impl_portName (int port) const |
virtual const char * | impl_portType (int port) const |
virtual bool | impl_portReadable (int port) const |
virtual bool | impl_portWriteable (int port) const |
virtual void | impl_start (Clock clock) |
virtual void | impl_stop (Clock clock) |
virtual void | impl_moveTo (Clock moveTime, Clock newTime) |
virtual Clock | impl_clock () |
virtual int | impl_msecs () |
virtual void | impl_setTempo (int tempo, Clock changeTime) |
virtual bool | impl_eventWaiting () |
virtual MidiEvent | impl_rx () |
virtual void | impl_tx (MidiCommand mc) |
virtual void | impl_tx (MidiEvent mc) |
virtual void | impl_txSysEx (int port, const unsigned char *data, size_t size) |
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:
OSSMidiSchedulerFactory
|
|
|
|
|
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.
|
|
Call this before creating the OSSMidiScheduler object to set up where to look for FM patches files.
|
|
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.
|
|
Call this before creating the OSSMidiScheduler object to set up where to look for GUS patches files.
|
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |
|
Implements TSE3::MidiScheduler. |