GitHubZJY / AudioVisualizeView

🎵🎵🎵 许多音乐App上常见的音频可视化效果,读取音频数据并利用傅里叶转换成可视化的字节数据,再通过自定义View渲染而成。An audio visualization effect like many music app, read audio data and use Fourier transform to visual byte data, and then through custom view rendering.
https://github.com/GitHubZJY/AudioVisualizeView
203 stars 42 forks source link

model[j] = (float) Math.abs(fft[j]); #1

Open codeage opened 3 years ago

codeage commented 3 years ago

// 这是在干啥? model[j] = (float) Math.abs(fft[j]);

GitHubZJY commented 3 years ago

不好意思写错了,是model[j] = Math.abs(model[j]); 取绝对值,代码已修正~