MidiStatus Class Reference
Stores the status of a MIDI device . Stores the MIDI status. More...
#include <midistat.h>
Public Member Functions | |
MidiStatus () | |
~MidiStatus () | |
void | keyPressure (uchar chn, uchar note, uchar vel) |
void | chnPatchChange (uchar chn, uchar patch) |
uchar | chnPatch (uchar chn) |
void | chnPressure (uchar chn, uchar vel) |
uchar | chnPressure (uchar chn) |
void | chnPitchBender (uchar chn, uchar lsb, uchar msb) |
int | chnPitchBender (uchar chn) |
void | chnController (uchar chn, uchar ctl, uchar v) |
uchar | chnController (uchar chn, uchar ctl) |
void | sysex (uchar *data, ulong size) |
void | tmrSetTempo (int v) |
void | sendData (class DeviceManager *midi, int gm=1) |
Detailed Description
Stores the status of a MIDI device . Stores the MIDI status.That is, current patch in each channel, controller settings, pitch bender value, etc.
This is used to "play" with all those values and then send them to the MIDI device just by using sendData()
- Version:
- 0.9.5 17/01/2000
- Author:
- Antonio Larrosa Jimenez <larrosa@kde.org>
Definition at line 40 of file midistat.h.
Constructor & Destructor Documentation
|
Constructor.
Definition at line 36 of file midistat.cc. |
|
Destructor.
Definition at line 54 of file midistat.cc. |
Member Function Documentation
|
Stores a new value for the key aftertouch.
|
|
Stores a new patch in channel
Definition at line 61 of file midistat.cc. References chnPatchChange(). Referenced by chnPatchChange(), and MidiPlayer::setPos(). |
|
Returns the patch currently used in channel
Definition at line 86 of file midistat.h. References chnPatch(). Referenced by chnPatch(). |
|
Stores a new channel pressure value in channel
Definition at line 66 of file midistat.cc. References chnPressure(). Referenced by chnPressure(), and MidiPlayer::setPos(). |
|
Returns the pressure value currently used in channel
Definition at line 97 of file midistat.h. |
|
Stores a new pitch bender value in channel chn.
Definition at line 71 of file midistat.cc. References chnPitchBender(). Referenced by chnPitchBender(), and MidiPlayer::setPos(). |
|
Returns the pitch bender value used in channel
Definition at line 107 of file midistat.h. |
|
Stores a new value for controller
Definition at line 76 of file midistat.cc. References chnController(). Referenced by chnController(), and MidiPlayer::setPos(). |
|
Returns the value used for controller
Definition at line 117 of file midistat.h. |
|
Stores a sysex message that will be send in the next call to sendData.
|
|
Sets the tempo.
Definition at line 84 of file midistat.cc. References tmrSetTempo(). Referenced by MidiPlayer::setPos(), and tmrSetTempo(). |
|
Sends the current MIDI state to the DeviceManager object used as parameter (you should have already set the default device to the one you want to use).
The Definition at line 89 of file midistat.cc. References DeviceManager::chnController(), DeviceManager::chnPatchChange(), DeviceManager::chnPitchBender(), DeviceManager::chnPressure(), sendData(), DeviceManager::sync(), and DeviceManager::tmrSetTempo(). Referenced by MidiPlayer::play(), and sendData(). |
The documentation for this class was generated from the following files: