Sound

Digital sound quality depends on the sample rate & sample resolution

To reproduce a particular sound frequency, we must sample at twice that frequency or better

Telephone quality sound is 8 KHz (8000 samples/second), 8 bits/sample

CD quality sound is 44KHz, 16 bits per sample


Playing sound requires constantly feeding new data to the sound hardware

Sound is therefore usually handled by a separate process or thread