HW 04: SAMPLING

  1. Generate a sum of sinewaves at frequencies of 500, 1000, and 1500 Hz at a sample frequency of 48 kHz. Resample the signal to 6.67 kHz, 8 kHz, and 16 kHz. Use the Sinc-based interpolation function. Vary the number of terms used over the range [8,512] in powers of two. Measure the SNR over the range [0, 4 kHz]. Compare spectrograms.

  2. Upsample an 8 kHz sampled speech signal to 48 kHz and repeat the previous problem. At what interpolation length is the audio distortion acceptable?

  3. Repeat the above two problems by using a ratio of integers downsampling approach.