0
$\begingroup$

I have an assignment:

You wish to generate a pure 1000 Hz tone digitally using a computer. How would you choose a sample rate that assures that you could generate the tone and use the same sample rate to generate a 20 kHz tone? Specify the corner frequency and slope of the filter would you need to assure that the tone is as close to perfectly pure as possible?

My current thought is to sample at 10 kHz because that is well above the Nyquist rate for the 1000 Hz tone and then the first harmonic would be at 20 kHz. I assume I would then need a steeply sloping Chebyshev filter that cuts off just above 20 kHz? Am I on the right track?

$\endgroup$
  • $\begingroup$ This a poorly formulated assignment. You can't make a perfect sine wave so it should specify "how good" it needs to be. Otherwise, more is always better. $\endgroup$ – Hilmar Dec 9 '18 at 3:13
0
$\begingroup$

The question states

… generate … digitally … same sample rate to generate a 20 kHz tone.

So, you want to digitally create a 20 kHz tone, too. You hence need to have a sample rate that is sufficient for 20 kHz.

$\endgroup$
  • $\begingroup$ So 40kHz sampling rate at minimum? Any thoughts on a cutoff frequency? $\endgroup$ – Andrea G Dec 9 '18 at 0:53
  • $\begingroup$ Re: cutoff frequency: Where's the first spectral image that you need to suppress? Where's the last frequency you need to let through? Can't tell you the slope without you telling us what attenuation you need, and also, with the data given, the job you need to fulfill is just doing a single division, so I think we can leave that up to your expertise! $\endgroup$ – Marcus Müller Dec 9 '18 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.