Audio File FFT in an OS X environment

前端 未结 3 1039
忘掉有多难
忘掉有多难 2020-12-30 17:37

I\'m looking to perform an FFT on a linear PCM audio file (with potentially more than one audio channel) on OS X. What is the best way to go about this?

Several sou

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-30 18:18

    When doing an FFT on audio data, the samples should go into the real portion and the imaginary portion should be zero.

    Most FFT libraries, including Apple's vDSP, include a method called a "real FFT", where the input is real (no imaginary component) and the output is complex.

提交回复
热议问题