Processing
 

Recording from the sound card in AS3

20/06/2011 13:23#1

Joined at: 9 months ago

Post: 7

Thank: 0

Thanked: 0

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

20/06/2011 16:53Top#2

alxx

Member

Joined at: 10 months ago

Post: 134

Thank: 0

Thanked: 0

No, flash ads cannot listen to your system (for the good). Not even AIR apps can do that. Microphone/Camera classes only.

09/02/2016 14:35Top#3

Marcela

Member

Joined at: 10 months ago

Post: 4

Thank: 0

Thanked: 0

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

Similar articles

Open a folder in finder/explorer from a webpage?

5 years ago - Reply: 2 - Views: 80

How do I escape a reserved word in Actionscript?

5 years ago - Reply: 2 - Views: 198

Save PPS/PPT files as SWF using C#

5 years ago - Reply: 2 - Views: 171

Ways of making a graphic/visual novel in flash

6 years ago - Reply: 3 - Views: 114

Use PhoneGap + HTML5 and an Embedded Flash Movie

5 years ago - Reply: 2 - Views: 96

View word docs and PDF in browser?

5 years ago - Reply: 2 - Views: 52

ActionScript 3 Read JPEG quality

7 years ago - Reply: 2 - Views: 59

Export/Test Movie Issues

5 years ago - Reply: 3 - Views: 38

Flash always on top in Android browser workaround?

5 years ago - Reply: 2 - Views: 149

Sending Json Form from Flash AS3

5 years ago - Reply: 2 - Views: 29

parsing a swf/fla (using php?)

6 years ago - Reply: 2 - Views: 44

Getting high FPS on Flash/AIR games for mobile?

4 years ago - Reply: 2 - Views: 58

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re