Question: what factors determine the quality of a sound?
Answer: The primary contributers to the quality or timbre of the sound of a musical instrument are harmonic content, attack and decay, and vibrato. For sustained tones, the most important of these is the harmonic content, the number and relative intensity of the upper harmonics present in the sound.