toup Posted June 27, 2013 Share Posted June 27, 2013 (edited) 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! Edited June 27, 2013 by toup Link to comment Share on other sites More sharing options...
czardas Posted June 27, 2013 Share Posted June 27, 2013 (edited) I don't have the answer, but I have found a potentially useful link you might want to look at. http://support.microsoft.com/kb/181550 I don't know if this helps. Edited June 27, 2013 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
UndefinedVar Posted June 27, 2013 Share Posted June 27, 2013 I don't really know if I am right, but you need to check that trought dll that's how. Link to comment Share on other sites More sharing options...
toup Posted June 28, 2013 Author Share Posted June 28, 2013 I don't really know if I am right, but you need to check that trought dll that's how. Which DLL? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 28, 2013 Share Posted June 28, 2013 (edited) 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 June 28, 2013 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now