class MidiStatus
|
Stores the MIDI status.
More... |
|
|
Public Methods
- 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 . 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()
Constructor.
Destructor.
Stores a new value for the key aftertouch.
Stores a new patch in channel chn
.
See also: chnPatch(), MidiOut::chnPatchChange()
Returns the patch currently used in channel chn
.
Stores a new channel pressure value in channel chn
.
Returns the pressure value currently used in channel chn
.
Stores a new pitch bender value in channel chn
int chnPitchBender ( uchar chn)
|
Returns the pitch bender value used in channel chn
Stores a new value for controller ctl
in channel chn
.
Returns the value used for controller @ctl in channel @chn
Stores a sysex message that will be send in the next call to sendData
void tmrSetTempo ( int v )
|
Sets the tempo.
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 gm
parameter specifies if the patches used follow
the GM standard (1), or follow the MT32 standard (0), in which case, they
will be converted to GM before being sent.
- Version: 0.9.5 17/01/2000
- Author: Antonio Larrosa Jimenez <larrosa@kde.org>
- Generated: dfaure@faure on Sun Mar 26 14:25:24 2000, using kdoc 2.0a35.