|
|
int |
[protected]
Total number of devices.
int |
[protected]
Total number of midi ports
double |
[protected]
A "constant" used to convert from milliseconds to the computer rate
|
Constructor. After constructing a MidiOut device, you must open it (using openDev() ). Additionally you may want to initialize it (with initDev() ),
~ |
[virtual]
Destructor. It doesn't matter if you close the device (closeDev() ) before you destruct the object because in other case, it will be closed here.
void |
[virtual]
Opens the device. This is generally called from DeviceManager , so you shouldn't call this yourself (except if you created the MidiOut object yourself.
Parameters:
sqfd | a file descriptor of /dev/sequencer |
Reimplemented from MidiOut
void |
[virtual]
Closes the device. It basically tells the device (the file descriptor) is going to be closed.
Reimplemented from MidiOut
void |
[virtual]
Initializes the device sending generic standard midi events and controllers, such as changing the patches of each channel to an Acoustic Piano (000), setting the volume to a normal value, etc.
Reimplemented from MidiOut
int |
[const]
which are defined in midispec.h
Returns: the device type of the object. This is to identify the inherited class that a given object is polymorphed to. The returned value is one of these :
Reimplemented from MidiOut
const char * |
[const virtual]
Returns the name and type of this MIDI device.
Reimplemented from MidiOut
int |
Reimplemented from MidiOut
void |
[virtual]
See DeviceManager::noteOn()
Reimplemented from MidiOut
void |
[virtual]
See DeviceManager::noteOff()
Reimplemented from MidiOut
void |
[virtual]
See DeviceManager::keyPressure()
Reimplemented from MidiOut
void |
[virtual]
See DeviceManager::chnPatchChange()
Reimplemented from MidiOut
void |
[virtual]
See DeviceManager::chnPressure()
Reimplemented from MidiOut
void |
[virtual]
See DeviceManager::chnPitchBender()
Reimplemented from MidiOut
void |
[virtual]
See DeviceManager::chnController()
Reimplemented from MidiOut
void |
[virtual]
See DeviceManager::sysex()
Reimplemented from MidiOut
void |
[virtual]
Mutes all notes being played on a given channel.
Reimplemented from MidiOut
void |
[virtual]
Mute or "unmute" a given channel .
Parameters:
chn | channel to work on |
b | if true, the device will ignore subsequent notes played on the chn channel, and mute all notes being played on it. If b is false, the channel is back to work. |
Reimplemented from MidiOut
void |
[virtual]
Change all channel volume events multiplying it by this percentage correction Instead of forcing a channel to a fixed volume, this method allows to music to fade out even when it was being played softly.
Parameters:
volper | is an integer value, where 0 is quiet, 100 is used to send an unmodified value, 200 play music twice louder than it should, etc. |
Reimplemented from MidiOut
int |
Returns true if everything's ok and false if there has been any problem
Reimplemented from MidiOut
void |
[virtual]
If i==1 syncronizes by cleaning the buffer instead of sending it (in fact, this is what syncronizing really means :-) )
Reimplemented from MidiOut