int mKey
Key index (Midi) ranging from 0 to 127.
Class managing the generation of sound.
Class holding the sampled sound for one key.
Tone()
Defautl constructor, resetting the member variables.
qint16 right
store last PCM values, init to zero
quint32 mTime
time in units of 1/4096/SampleRate sec
Sound that ends when the key is released.
double mVolume
overall volume ranging from 0 to 1
Release mode: tone is decaying.
Sound that does not end when key is release (keys without damper)
int mScaleIndex
Index to the used scale.
Class describing a tone that is currently being played.
friend class TuningManager
TuningManager class is allowed to access private elements.
Wave * pSample
Pointer to the wave.
Tone has terminated and can be removed from the queue.
State mState
Phase in which the tone is playing.
Type mType
Type of the wave.
Sound-generating module which plays the tones held by the SoundGenerator.
Sound that occurs in the moment when the key is released.
Tone is playing a special off-sound after key has been released.
Tone is playing in normal mode.
The key has been released. Tone is requested to switch to the release mode.