S7 Digital signal processing · Practice
The cepstrum and homomorphic processing
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 7 kinds solid
Check
An echo arrives 12.5 ms after the direct sound in a recording sampled at 8 kHz. At what quefrency index does its first cepstral peak appear?
Check
An echo of strength 0.5 gives complex-cepstrum impulses at multiples of its delay. What is the amplitude of impulse number 2?
Check
A voice with pitch 125 Hz is sampled at 8 kHz. At what quefrency index is its cepstral pitch peak?
Check
An echo of strength 0.5: what value does the real cepstrum show at the echo's delay?
Check
Detect an echo with the cepstrum. Make s = numpy.random.default_rng(seed).standard_normal(8192) and x = s plus a = 0.3 times s delayed by D = 200 samples (zeros before the start). Compute the real cepstrum c = numpy.fft.ifft(numpy.log(numpy.abs(numpy.fft.fft(x)))).real, and set D_est, the index of the largest value of c between 20 and 4096, and peak, the value there.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
At what quefrency index does a 2 ms echo appear at 22.05 kHz?
Check
What is rahmonic 2 of an echo with strength 0.4?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S7