Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Detecting output from sound card

$
0
0

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

http://www.autoitscript.com/forum/topic/6657-some-way-to-monitor-audio-channels/?p=52534

 

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:


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>