Jump to content

Detecting output from sound card


Recommended Posts

Greetings.

I am particularly new to AutoIt and would like to know if it is possible to detect output from my sound card (particularly the 'loudness'), e.g. if the sound reaches a certain level, execute a function.

I have done some pretty extensive searching and was actually able to find a scipt from quite a long time ago (2005):

In short, Sven's script does an excellent job of detecting input from a microphone. I would like to detect sound from my sound card (also, as you might be able to tell, I'm not totally savvy with how the sound card works either. Would it be possible to not even have to use the sound card?).

I have messed around with the script and was able to dig up a library from Microsoft that it takes advantage of:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd742874%28v=vs.85%29.aspx

As I said, I'm really new to AutoIt and I'm not sure what information I can take from the above link. But maybe you can!

Would anyone be willing to take a look a Sven's script to see if it is at all possible to change its functionality? If not, is anyone aware of any other things I might try?

Thanks in advance!  :thumbsup:

Edited by toup
Link to post
Share on other sites

Start with the easy things. Check if you have a Recording Device which allows you to record your output. There are a few common names, Stereo Mix Is one.

In worst case scenario, there are applications that work like virtual sound cards/cables that you can probably use to reroute audio where you want it.

Edited by AdmiralAlkex
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...