Recording from the sound card in AS3
I've seen this issue pop up in other forms but I haven't been able to get a straight answer: using ActionScript 3, is it possible to capture sound input directly from the sound card? I'm not talking about the microphone; I mean reco开发者_如何学Pythonrding what audio is actually coming out of a user's computer (like the Stereo Mix program on Windows).
I've seen questions like this and this, and even this interesting post here, and I'm thinking that what I'm asking isn't possible with this technology, but I haven't gotten a definitive "yes" or "no", so I'm hoping someone here can help. Thank you.
I know this question is over 4 years old, but I want to add that I was able to successfully capture audio from the sound card by enabling Stereo Mix and plugging speakers into the sound card.
Follow the instructions here to enable stereo mix: http://www.howtogeek.com/howto/39532/how-to-enable-stereo-mix-in-windows-7-to-record-audio/
Then, in your audio settings, set the default playback device to the speakers, and set Stereo Mix as the default recording device.
Do not enable "Listen to this device" on the "Listen" tab, this will cause a fun echo effect.
Test your setup by playing some audio. If you see the level indicator lighting up green on the Stereo Mix icon, you've got it all set up correctly.
In AS3, when you grab a reference to the microphone, you'll see that the name is "Stereo Mix."
No, flash ads cannot listen to your system (for the good). Not even AIR apps can do that. Microphone/Camera classes only.
精彩评论