#include <MidiParams.h>
Inheritance diagram for TSE3::MidiParams:
Public Member Functions | |
MidiParams () | |
MidiParams (const MidiParams &) | |
virtual | ~MidiParams () |
MidiParams & | operator= (const MidiParams &) |
int | bankLSB () const |
void | setBankLSB (int b) |
int | bankMSB () const |
void | setBankMSB (int b) |
int | program () const |
void | setProgram (int p) |
int | pan () const |
void | setPan (int p) |
int | reverb () const |
void | setReverb (int r) |
int | chorus () const |
void | setChorus (int c) |
int | volume () const |
void | setVolume (int v) |
virtual PlayableIterator * | iterator (Clock index) |
virtual Clock | lastClock () const |
virtual void | save (std::ostream &o, int i) const |
virtual void | load (std::istream &in, SerializableLoadInfo &info) |
virtual MidiEvent | filter (const MidiEvent &e) const |
Static Public Attributes | |
const int | off = -1 |
const int | forceNone = -2 |
The MidiParams class holds values for MIDI parameters used by several of the TSE3 classes.
The parameters it defines can generally be assigned values, not assigned values or forced to not allow any changes in these values at all.
For this reason, MidiParams implements both the Playable and Filter interfaces.
|
The default MidiParams has all parameters set to 'off'. |
|
|
|
|
|
|
|
Read the bankLSB value.
|
|
Set the bankLSB value.
|
|
Read the bankMSB value.
|
|
Set the bankMSB value.
|
|
Read the program value.
|
|
Set the program value.
|
|
Read the pan value.
|
|
Set the pan value.
|
|
Read the reverb value.
|
|
Set the reverb value.
|
|
Read the chorus value.
|
|
Set the chorus value.
|
|
Read the volume value.
|
|
Set the volume value.
|
|
Implements TSE3::Playable. |
|
Implements TSE3::Playable. |
|
Reimplemented from TSE3::Serializable. |
|
Reimplemented from TSE3::Serializable. |
|
Implements TSE3::Filter. |
|
A parameter is set to this value to switch it's effect off. |
|
A parameter is set to this value to prevent any changes in it occurring. |