Build Your Own Arcade Controls Forum

Main => Audio/Jukebox/MP3 Forum => Topic started by: Michael on April 16, 2006, 10:25:13 pm

Title: Simple pushbutton sound file player?
Post by: Michael on April 16, 2006, 10:25:13 pm
Compared to most of these posts, my question/application seems very simple: I have a board with 12-24 arcade buttons mounted on it. When any button is pressed, I want a sound file (not more than 15 seconds long) associated with that button to play and then stop. I want no joystick, touchscreen, display or other visible parts -- just buttons that play short sound files. I don't want the application to freak out if several buttons are rapidly pressed or if two buttons are pressed simultaneously. If the same button is pressed repeatedly, I'd like for the program to be stable enough to attempt to play the file upon each press and finally play it correctly after the last press.

The program must start at bootup, be stable enough to run 24 hours per day, and endure thousands of sometimes abusive button presses!

This SOUNDS very simple, but is it? The computer, button wiring, and amplification issues are not a problem. I just need to know what software would be best for this.  Any help will be GREATLY appreciated. 
Title: Re: Simple pushbutton sound file player?
Post by: Barry Barcrest on April 17, 2006, 10:22:39 am
The software would be really easy to code, but i think there is something out there already called the sound machine. I will see if i can find you a link.
Title: Re: Simple pushbutton sound file player?
Post by: Space Fractal on April 17, 2006, 06:23:34 pm
This sound http://www.autohotkey.com would could do that job?

This is a hotscript language, that can detect any keys, and doing what you want. It can remap, click buttons on windows, and there are also a command, that can play a soundfile...

Title: Re: Simple pushbutton sound file player?
Post by: Barry Barcrest on April 18, 2006, 07:30:08 am
http://www.chrismoyles.net/mw/soundmachine.shtml

Thats what you want, you will just need to make some new sample banks for it etc.. I think it will do what you want.
Title: Re: Simple pushbutton sound file player?
Post by: Michael on April 19, 2006, 09:52:48 am
Thanks to all. I did download the soundmachine program and it worked perfectly! I'll just grab an IPAC and git-r-done!
Title: Re: Simple pushbutton sound file player?
Post by: Barry Barcrest on April 19, 2006, 10:31:26 am
No worries, i'm glad it worked for you.
Title: Re: Simple pushbutton sound file player?
Post by: Echo25 on April 20, 2006, 10:32:18 am
I'm intrigued.  What are you planning on doing?