Jump to content
Sign in to follow this  
jtcaten

Do when sound play

Recommended Posts

jtcaten

I am trying to do a bot to a reflex test game.

The game is simple, when the sound is played i have to click the mouse in the button.

I have already done a lot of gamebots with autoit, but i dont know how to make the bot "listen" the sound to click.

This is not realy important, but its a good chalenge.

Share this post


Link to post
Share on other sites
somdcomputerguy

I think you would have to change a variable from 1 to 0 or something similar at the same time the sound is played. Although, I guess code could be written to monitor the input (microphone) sound level and react accordingly..


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
jtcaten

More simple then that... no variable need, just mouseclick(). And my questio is how to monitor the speacker... tha game make the sound, we/the bot listen and click in the button.

But i have not found how to check the speacker use.

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
Sign in to follow this  

×