Deye

isAudioPlaying

2 posts in this topic

#1 ·  Posted

Hi, 

I'm looking for a function to detect if the windows mixer is producing any sound
will be used to detect the peak = idle|active between sleeps in the script ..

Maybe this Snippet can give a clue how to do it cleanly

Thanks

 

Share this post


Link to post
Share on other sites



#2 ·  Posted

Hi,

There seem to be a few resources for this. They all involve calling dlls, here are a few places to look to get you started:

https://www.autoitscript.com/forum/topic/121624-sound-level-sampling/

https://www.autoitscript.com/forum/topic/34625-audio-spectrascope/?page=2#comment-256418

https://www.autoitscript.com/forum/topic/83481-bass-function-library-sound-and-music-functions/

The first one in particular seems to have a possibly easy to understand solution, at the very bottom.


UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI=

Share this post


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