Jump to content

Recommended Posts

Posted

Is there any functions currently available to have AutoIT detect a specific sound file being played/output?

I did some Googling around and couldn't find any functions, so I figured maybe yall would know.

Posted

hello Uncreative, welcome to AutoIt and to the forum!

in concept, two methods i can think of:

1) call the winmm.dll (Windows MultiMedia DLL), similar to demonstrated here:

MSDN ref. here:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd743586(v=vs.85).aspx

2) monitor the specific sound file to detect when it is being accessed. try this:

'?do=embed' frameborder='0' data-embedContent>>

Signature - my forum contributions:

  Reveal hidden contents

 

Posted
  On 3/5/2014 at 7:05 AM, orbs said:

hello Uncreative, welcome to AutoIt and to the forum!

in concept, two methods i can think of:

1) call the winmm.dll (Windows MultiMedia DLL), similar to demonstrated here:

MSDN ref. here:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd743586(v=vs.85).aspx

2) monitor the specific sound file to detect when it is being accessed. try this:

'?do=embed' frameborder='0' data-embedContent>>

Thanks, I'll check these to see if they work for what I'm thinking of.

#2 sounds promising.

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