开发者

What Java APIs should I look into for interacting with my microphone?

I would like to build a recording software, for my own purposes, I would like it to be deployable on multiple systems (Windows and Unix) I am also building an application first time. So any help you would be able to provide on that topic as well it would be appreciat开发者_运维知识库ed.

Please and thank you.

GC


I haven't seen any API for dealing with Microphones explicitly, but the Java Sound API should be able to see it as an input. Specifically, the javax.sound.sampled classes.

Oracle has a (not-so-quick) Java Sound Programmer Guide which includes Chapters on Accessing Audio System Resources and Capturing Audio.


You might look at BASS if you only need to support OS/X and/or Windows. I haven't used it or JavaSound recently enough to speak to which is better at the moment, but BASS was good enough to merit a looksee.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜