用java处理语音
有谁知道如何捕获声音并通过网络发送然后在另一台计算机上用java播放
does any one know how to capture voice and send it through a network then play it on another computer in java
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
大约十年前,我在一个研究实验室对此进行了一些研究,所以我可能有点过时了!当时整个过程没有标准。您必须使用 Java sound API 来录制和播放,然后任何您要发送的网络协议。
如果只是为了一个人听,那么使用具有良好压缩效果的东西 - 例如 Java 媒体框架中的媒体流。如果您想对数据使用语音识别,您可能需要更高质量且更接近原始数据的东西,并且可能值得查看 Java 语音 API。
I did some research on this about 10 years ago at a research lab so I might be a bit out of date! At the time there was no standard for the whole process. You have to use the Java sound API to record and playback, then any network protocol you want to send it.
If it is just for a person to listen to, then use something with good compression - something like the media streaming in the Java Media Framework. If you want to use speech recognition on the data you'll probably need something higher quality and closer to the raw data, and it might be worth looking at the Java Speech API.