Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
251 views
Welcome To Ask or Share your Answers For Others

1 Answer

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).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...