How can I get frequency data from PCM using FFT

后端 未结 3 1797
南旧
南旧 2021-02-09 06:20

I have an array of audio data I am passing to a reader:

 recorder.read(audioData,0,bufferSize); 

The instantiation is as follows:



        
3条回答
  •  忘了有多久
    2021-02-09 07:12

    PCM is the technique of encoding data. It's not relevant to getting frequency analysis of audio data using FFT. If you use Java to decode PCM encoded data you will get raw audio data which can then be passed to your FFT library.

提交回复
热议问题