the_opposite
- Sep 9, 2014
- 1
- Joined
- Sep 9, 2014
- Messages
- 1
Hi all,
I want to build a 'sound box' that has a simple push button which when pressed will play a single mp3 sound file.
The box needs to be sealed so apart from the 'play' button the only other interface item will be an on/off switch. The play button can't do anything else apart from trigger the audio file i.e. not pause or stop it, just play it.
I've been thinking about how to best achieve this. Whatever electronics there are inside need to be ready to play the mp3 file once the power has been turned on since the box will be closed. I thought about hacking a cheap mp3 player but the play button normally acts as a pause button too so that would be no good.
I found a website which has a Raspberry Pi project which would appear to do what I am looking for: https://learn.adafruit.com/playing-sounds-and-using-buttons-with-raspberry-pi/overview
I don't know anything about Raspberry Pis but if I could get the sound triggering program to run as soon as the device is powered on, that should work I think.
However, before I look into that, I was wondering if there is any other way to do what I need?
Thanks in advance for any suggstions
I want to build a 'sound box' that has a simple push button which when pressed will play a single mp3 sound file.
The box needs to be sealed so apart from the 'play' button the only other interface item will be an on/off switch. The play button can't do anything else apart from trigger the audio file i.e. not pause or stop it, just play it.
I've been thinking about how to best achieve this. Whatever electronics there are inside need to be ready to play the mp3 file once the power has been turned on since the box will be closed. I thought about hacking a cheap mp3 player but the play button normally acts as a pause button too so that would be no good.
I found a website which has a Raspberry Pi project which would appear to do what I am looking for: https://learn.adafruit.com/playing-sounds-and-using-buttons-with-raspberry-pi/overview
I don't know anything about Raspberry Pis but if I could get the sound triggering program to run as soon as the device is powered on, that should work I think.
However, before I look into that, I was wondering if there is any other way to do what I need?
Thanks in advance for any suggstions