捕捉当前正在播放的声音

编程入门 行业动态 更新时间:2024-10-10 19:24:48
本文介绍了捕捉当前正在播放的声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否有可能捕捉到当前播放电脑上的声音?这将是很好,然后可以将其保存为MP3,但我认为有与这样的一些法律问题,所以一个wav将被罚款了。

Is it possible to capture the sound that is currently playing on your computer? It would be nice to then be able to save it as an mp3 but I think there are some legal issues with doing this, so a wav would be fine too.

我环顾四周,还有人建议使用像虚拟的音频线(在捕获声音输出C#),并从输出端口MIC端口顶进,这是必要的?

I looked around and there are people suggesting using things like virtual audio cables (Capture Sound output in c#), and jacking from the output port to the mic port, is this necessary?

我不是在寻找完整的源代码code要做到这一点,虽然这将是很好的,只是如果它的possilbe,也许一个指针libary的我应该看。

I'm not looking for the full source code to do this, although that would be nice, just if it's possilbe and maybe a pointer to the libary's I should be looking at.

一个

推荐答案

如果您是从流式因特网源(如收音机)的音频,您可以使用一个流记录。请参阅维基百科的文章更多的信息,包括在页面的末尾链接到一些程序。

If you are streaming audio from an internet source (like a radio), you may be able to use a stream recorder. See the Wikipedia article for more info, including some programs linked to at the end of the page.

如果你不消费流,你可能需要使用音频分配器驱动程序,像的这个或这个。然后,您可以正常输出拆分你的耳机和一个新的虚拟输入设备,然后你就可以记录使用标准工具。

If you aren't consuming a stream, you will probably need to use an audio splitter driver, like this one or this one. You can then split the normal output to your headphones and a new virtual input device, which you can then record using standard tools.

(我没有测试任何该软件,请谨慎使用。)

(I have not tested any of this software, please use with caution.)

更多推荐

捕捉当前正在播放的声音

本文发布于:2023-11-05 18:16:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1561523.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:正在播放   声音

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!