Web Audio API,从声卡中获取输出 [英] Web Audio API, get the output from the soundcard

查看:1034
本文介绍了Web Audio API,从声卡中获取输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以吗?



如果是这样,我们非常感谢有关该主题的任何信息。
(如果没有使用Web Audio API,是否有其他API可以让我实现这一目标?)

解决方案

德里克是对的。如果您有一张realtek卡(我不知道其他厂商的支持)您将其设置为立体声混音,并将立体声混音设置为默认麦克风。然后,您可以使用 navigator.getUserMedia 创建与麦克风链接的源节点.Google和您将找到它。



<我刚刚为你做了一个小提琴:来自声卡的音频



编辑:链接现在转到jsfiddle的正确版本(另一个版本错误)。


Can it be done?

If so, any information on the subject is greatly appreciated. (If not with the Web Audio API, is there some other API that lets me achieve this?)

解决方案

Derek is correct. If You have a realtek card (I don't know about support from other manufacturers) You set it to stereo mix, and set the stereo mix to default microphone. You can then create a source node linked with your mic using navigator.getUserMedia.. Google and You Will find it.

I just made a fiddle for you: Audio from soundcard

EDIT: the link now goes to the right version of the jsfiddle (the other one had the bars wrong).

这篇关于Web Audio API,从声卡中获取输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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