int mKey
Key index (Midi) ranging from 0 to 127.
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
double mVolume
overall volume ranging from 0 to 1
int mScaleIndex
Index to the used scale.
Wave * pSample
Pointer to the wave.
State mState
Phase in which the tone is playing.
Type mType
Type of the wave.
Tone is playing in normal mode.