Changing audio input using Java?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 10:34:44

问题


I'd like to modify the audio input stream, the stream that would come from my microphone. I have looked through the java.sound package API, but did not entirely understand it, nor how to modify direct sound input.

Does anyone here know how to do that, or know an API that is capable of doing it?


回答1:


You want a mixture of things:

  • The Java Sound system: http://www.oracle.com/technetwork/java/index-139508.html
  • A trail for it: http://docs.oracle.com/javase/tutorial/sound/index.html
  • Using audio controls: http://docs.oracle.com/javase/1.5.0/docs/guide/sound/programmer_guide/chapter6.html (part of a wider set of documentation)

If you are able to give more information about what you want to do to the audio stream, it's likely we'll be able to give you more specific advice.



来源:https://stackoverflow.com/questions/8805890/changing-audio-input-using-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!