Main > Software Forum
searching an "insert-coin" sound
<< < (2/5) > >>
Gh0sty:
WOW! that is ecsactly what i was searching for !
I start headkazes coinsound prog and i use unclet's coinF 75P.wav,
It sound great, but something is still not working like the real thing.
Headkaze, it plays the virtual Coin sound simultaneously with the Mame one
when pressing key 5. In reality your would first hear the Coin drop sound
and after that the Game sound.

coinF 75P.wav is aprox 1.66 seconds long, i dont know how much work it
would be for you to change the small programm so it plays the coin sound
and after 1.5 seconds it continue with Mame Sound?

R
Gh0sty
headkaze:
I'm afraid that would be alot harder to do! The only way to have a delay (without me writing some heavy low level stuff to hook the keyboard), would be to have an AutoIt script or AutoHotKey script that will trap the 5 key then send the 5 key again after a delay.

Something like this:

--- Code: ---5::
Sleep 5000
Send 5
return

--- End code ---

Although I just tried the above script and the sound still plays then it loops over for some reason.
Silver:
I think it plays twice as the original 5 press is being sent along with the 2nd after a delay....


Try a new unused key - that could trigger your personal sound, then get autohk to send a "5" after a delay.
headkaze:

--- Quote from: Silver on November 15, 2006, 07:49:01 pm ---I think it plays twice as the original 5 press is being sent along with the 2nd after a delay....


Try a new unused key - that could trigger your personal sound, then get autohk to send a "5" after a delay.

--- End quote ---

There is still the problem that AutoHotKey dosn't seem to stop GetAsyncKeyState() from detecting the key, so it plays the sound anyway.
Gh0sty:
ok, thank you anyway for small programm and the listing!
Headkaze if you dont mind i will ask other programmers
to view & modify your program, maybe someone can figure it
out how to delay the sound.

Best Regards
Gh0sty
Navigation
Message Index
Next page
Previous page

Go to full version