Musicbox & Kids Game for Raspberry PI
Made for my godchild Louisa :)
See demo on YouTube:
- GodfatherSays Game
- MusicBox playback
- Audiobook playback
- Easter Egg
- Playback from USB device
Requirements:
- Raspbian 8 (Jessie) - WITH GUI for auto mount of new USB devices
- Raspberry PI
- 3 GPIO Buttons
- 3 LED
- Speaker
- Powerbank
! Sound (wav) files are not included !
Different wav files are needed to give a audio feedback for menu switch, startup and some of them are necessary for the GodfatherSays game. The names of the different sound files can be configured in config.properties. Copy your own wav files to "src/resources/wav/". The resources have to be included in the jar file.
And finally create a runnable jar file with "Extract required libraries to generated JAR".
-
Copy Binaries to "/home/pi/GodfatherSays/GodfatherSays.jar".
-
Copy you config file to "/home/pi/GodfatherSays/config.properties".
-
Copy MP3 files to the configures paths from your config.properties. Default: "/home/pi/Music" & "/home/pi/Hoerspiel"
-
Configure autostart:
sudo nano /etc/init.d/GodfatherSays
Paste content of docs/init.d.txt
cd /etc/init.d/
sudo chmod 755 GodfatherSays
sudo update-rc.d GodfatherSays defaults