连续录音和分析

发布于 2025-01-02 02:04:42 字数 156 浏览 1 评论 0原文

我想编写一个应用程序来连续记录音频并实时分析它。我已经知道如何录制一次文件并播放它,但我不知道如何使其连续。我想 Java API 中有某种循环缓冲区文件,但我对 Java 还很陌生,而且我还没有了解这些 API。另外,我是否可以将此文件完全保留在内存中,而不引入写入外部存储的开销?有什么想法吗?

I would like to write an app the records audio continuously and analyze it in real time. I already know how to record file once and play it back, but I don't know how to make it continuous. I suppose there is some sort of circular buffer file in Java API, but I am quite new to Java and I didn't get my head around the APIs yet. Also can I keep this file entirely in memory, not to introduce overhead of writing to external storage? Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文