|
|
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.
Use the following command classes to manipute this object in a undo/redo environment.
MidiParams ()
| MidiParams |
The default MidiParams has all parameters set to 'off'.
MidiParams (const MidiParams &)
| MidiParams |
~MidiParams ()
| ~MidiParams |
[virtual]
MidiParams & operator= (const MidiParams &)
| operator= |
Reimplemented from Playable.
static const int off | off |
static const int forceNone | forceNone |
int bankLSB ()
| bankLSB |
[const]
Read the bankLSB value.
Returns: Bank select LSB value
See also: setBankLSB
void setBankLSB (int b)
| setBankLSB |
Set the bankLSB value.
Parameters:
b | New bank select LSB value |
See also: bankLSB
int bankMSB ()
| bankMSB |
[const]
Read the bankMSB value.
Returns: Bank select MSB value
See also: setBankMSB
void setBankMSB (int b)
| setBankMSB |
Set the bankMSB value.
Parameters:
b | New bank select MSB value |
See also: bankMSB
int program ()
| program |
[const]
Read the program value.
Returns: Program value
See also: setProgram
void setProgram (int p)
| setProgram |
Set the program value.
Parameters:
p | New program value |
See also: program
int pan ()
| pan |
[const]
Read the pan value.
Returns: Pan value
See also: setPan
void setPan (int p)
| setPan |
Set the pan value.
Parameters:
p | New pan value |
See also: pan
int reverb ()
| reverb |
[const]
Read the reverb value.
Returns: Reverb value
See also: setReverb
void setReverb (int r)
| setReverb |
Set the reverb value.
Parameters:
r | New reverb value |
See also: reverb
int chorus ()
| chorus |
[const]
Read the chorus value.
Returns: Chorus value
See also: setChorus
void setChorus (int c)
| setChorus |
Set the chorus value.
Parameters:
c | New chorus value |
See also: chorus
int volume ()
| volume |
[const]
Read the volume value.
Returns: Volume value
See also: setVolume
void setVolume (int v)
| setVolume |
Set the volume value.
Parameters:
v | New volume value |
See also: volume
PlayableIterator * iterator (Clock index)
| iterator |
[virtual]
Reimplemented from Playable for internal purposes..
Clock lastClock ()
| lastClock |
[const virtual]
Reimplemented from Playable for internal purposes..
void save (std::ostream &o, int i)
| save |
[const virtual]
Reimplemented from Serializable for internal purposes..
void load (std::istream &in, SerializableLoadInfo &info)
| load |
[virtual]
Reimplemented from Serializable for internal purposes..
MidiEvent filter (const MidiEvent &e)
| filter |
[const virtual]
Reimplemented from Filter for internal purposes..
int _bankLSB | _bankLSB |
int _bankMSB | _bankMSB |
int _program | _program |
int _pan | _pan |
int _reverb | _reverb |
int _chorus | _chorus |
int _volume | _volume |