This is a noise machine to help you sleep better. Really it's just an audio playback system that has a simple command language and comes with a collection of sounds that have been sorted in a specific way.
It is meant to be run on an Raspberry Pi plugged into small powered speakers and placed near your bed, but can easily be run on any machine that has Python & Pygame and can produce audio.
It is licensed under the Apache 2.0 License.
It is built using Python and the pygame mixer module.
Raspberry Pi's already have pygame loaded and ready to go, just checkout this repository with git and go.
For OS X, see: Homebrew pygame install instructions.
To run slumber:
python -m slumber.cli -s sounds
See the output of --help for all options.
A Raspberry Pi 1 model A+ was used along with a 3W+3W 5V Amp and two 4 Ohm 3W speakers to build a small portable sleep aid.
Slumber is set to start on boot up right now, in the future I'll add a button.
All sound files are from freesound.org and are licensed under a Creative Commons By Attribution license.
They have been converted from their original formats to 16-bit, 44100kHz, 2-channel wav files and have been passed through a "normalize" filter to -1dB in Audacity.
We pre-convert the sounds to save processor time when playing back. If we're going to play the same sound over and over there's no reason to waste cycles decoding anything.
- sounds/0/165342__corsica-s__above-chocolate-falls_SLUMBER.wav by http://freesound.org/people/Corsica_S/
- sounds/1/104952_Glaneur_de_sons__wind_SLUMBER.wav by http://freesound.org/people/Glaneur%20de%20sons/
