Quality of note is determined by the waveform of the sound. If the waveform is made of only one frequency of sound, then the sound heard will be clear and sharp. If the waveform is made of superposition of different sound wave having different frequencies, then sound heard is not sharp or clear.