开发者

dealing with voice in java

开发者 https://www.devze.com 2022-12-26 14:47 出处:网络
does any one know how to capture voice and send it th开发者_开发问答rough a network then play it on another computer in javaI did some research on this about 10 years ago at a research lab so I might

does any one know how to capture voice and send it th开发者_开发问答rough a network then play it on another computer in java


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消