audioWaveCanvas
audioWaveCanvas copied to clipboard
这是一个录音实时录制绘制波形,最后转成整个波形的例子。
Can you please grant a permissive license for your project, such as MIT?
// Should be removed when the app will use directly the samples instead of the frames. public int getSamplesPerFrame() { return 1024; // just a fixed value here... } 我想知道一下,如果使用自己的PerFrame,需要怎么修改。如果使用这个,我用本地的音频去加载。在ReadFile的时候,下面这部分代码会执行几十万上百万次。...
看了代码,似乎只能对于刚刚录制的文件显示波形图,有本法加载本地音频文件显示波形图吗?
点击开始录音,录完音后,播放录音,在播放录音时,按back键退出应用,声音还在播放,无法停止。