Hi
I use my PC to play a 17kHz audio wav file and record it through my STM32 EVK + ultrasound-mic to another wav file. I put it in Audacity and plot spectrum. But always see duplicate frequencies, one is on ~17kHz, the other is ~78kHz. Is it normal on FFT? could anyone tell me the possible cause? Thanks in advance.
Yes, but it’s very complicated and you don’t need to.
Resampling from 96kHz to 192kHz will not improve anything. It just makes the file bigger, and if not done with high quality anti-aliasing it can “damage” the audio as you have observed.
The easiest solution would be to keep the audio data as 96kHz, but if there is a reason why you really need it to be 192 kHz, then convert it in Audacity. Audacity’s resampling is extremely good (it uses the excellent “soxr” resampling library).
To convert from 96kHz sampling rate to 192kHz in Audacity:
Thanks, @steve .
I’m sorry for late response since I’m swamped in past few weeks of important phase.
Per study @Trebor 's link, I learned a lot. And I agree with you that there is no reason must do anti-alias with huge effort.
Thank you so much for your help and knowledge share. We can close this support ticket.