Skip to content

chatmurai/MusicBoxPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MusicBoxPlayer

MusicBox Player is a 'snooze like' toddler friendly mp3 music player, operated by adults and designed with NodeJS for the RaspBerry Pi platform.

When user push a button, an mp3 file is randomly picked up from a song pool folder, and played. The more you push the buton, the more the playlist is filled up with mp3 files. When playlist gets empty, the player waits for a new button push, and the whole process begin again.

Usage

var AudioPlayerClass = require('./AudioPlayer');
var audioPlayer = AudioPlayerClass.createInstance('/path/to/mp3/files');
audioPlayer.addSongAndPlay();

then :

$ sudo node MusicBox.js 

Dependencies

MusicBox Player rely on the excellent OnOff library for handling GPIO interrupts detection. It also uses Lame and Speaker NodeJS modules by TooTallNate

About

Simple music box test for RaspBerry Pi, tinkering with subprocesses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published