soothingsounds 1.0.2

Last updated:

0 purchases

soothingsounds 1.0.2 Image
soothingsounds 1.0.2 Images
Add to Cart

Description:

soothingsounds 1.0.2

Soothing Sounds Generator


An acoustically pleasing Python code, targeted initially for Raspberry Pi, but should run almost anywhere.
Uses lightweight, pure Python
SoundDevice
to generate sounds.
Optionally, other sound playback Python packages can be used.
I have used the outputs of this program written to SD cards, played on media players in multiple locations for a few years.
pip install -e .

Usage
The noise color option is one of

white pink blue violet brown

the examples will use pink noise.
Play sound from speakers
python soothing.py pink

save sound to disk

generate raw sound file: python soothing.py pink -o pink.raw
convert raw to lossless FLAC (playable in almost all media players, computer, phone etc.)
ffmpeg -f s16le -ar 16000 -ac 1 -i pink.raw pink.fla



Notes
The core noise generation code is almost entirely from
Python Acoustics
optional high performance Python FFTW install:
apt install libfftw3-dev

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.