Downsampling and applying a lowpass filter to digital audio

后端 未结 10 801
北恋
北恋 2021-02-02 17:41

I\'ve got a 44Khz audio stream from a CD, represented as an array of 16 bit PCM samples. I\'d like to cut it down to an 11KHz stream. How do I do that? From my days of engine

10条回答
  •  礼貌的吻别
    2021-02-02 18:20

    You need to apply a lowpass filter before you downsample the signal to avoid "aliasing". The cutoff frequency of the lowpass filter should be less than the nyquist frequency, which is half the sample frequency.

提交回复
热议问题