在Java中,我怎么录制将会扬声器声音输出? [英] In Java, how do I record the sound output that is going to the speakers?

查看:619
本文介绍了在Java中,我怎么录制将会扬声器声音输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个声音来自多个源采取的Java应用程序,用户的能力之一是记录什么是在应用程序的AVI文件发生,我想包括在该视频中的声音捕获。如何录制,用户会听到的声音(例如,所有的混合声音输入的结果一起)?我可以找出如何将视频获得实际的声音流,但我不知道从哪里得到的声源。

I have a java application that is taking in sound from multiple sources, and one of the abilities of the user is to record what is happening in the application to an AVI file, and I would like to include the sound in that video capture. How do I record the sound that the user would hear (ex. a result of all of the sound inputs mixed together)? I can figure out how to get the actual sound stream in to the video, but I am not sure where to get that sound source from.

推荐答案

你看了这个Java教程?有大量的信息,涉及到你的问题在​​访问音频系统资源的

Have you read the java tutorial on this? There's a lot of information that pertains to your question in Accessing Audio System Resources.

它详细介绍了一些推荐类使用,并提供了其执行的例子。

It details some recommended classes to use and provides examples of their implementation.

这篇关于在Java中,我怎么录制将会扬声器声音输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆