We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
VisualizerHelper
onFftDataCapture
你好 因為近期也在研究這塊,網路上爬了很多資料
想請教在 VisualizerHelper 的 onFftDataCapture 程式碼片段裡
為什麼只需要計算 mCount*2 的 magnitude 呢?
mCount*2
若 mCount*2 小於 fft.length / 2,那麼 mCount*2+1~fft.length/2 的資料就直接捨棄了嗎?
fft.length / 2
mCount*2+1
fft.length/2
for (int i = 2; i < mCount *2;) { model[j] = (float) Math.hypot(fft[i], fft[i + 1]); i += 2; j++; model[j] = Math.abs(model[j]); }
先說聲謝謝!這個 repo 幫助了我很多!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好 因為近期也在研究這塊,網路上爬了很多資料
想請教在
VisualizerHelper
的onFftDataCapture
程式碼片段裡為什麼只需要計算
mCount*2
的 magnitude 呢?若
mCount*2
小於fft.length / 2
,那麼mCount*2+1
~fft.length/2
的資料就直接捨棄了嗎?先說聲謝謝!這個 repo 幫助了我很多!
The text was updated successfully, but these errors were encountered: