문제

I have gone through different questions in SO for this, but couldnt get answer for this. How can I get 1024 fft bins from a data of 600 shorts audio buffer. If yes/no please explain.

도움이 되었습니까?

해결책

You can zero-pad your data by appending 424 zeros (shorts) to the data in your buffer (or perhaps prepending 212 zeros and postpending 212 zeros if you care about phase). This composite data vector of length 1024 will produce 1024 FFT result bins from an FFT of length 1024.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top