somnilopy is a sleeptalking recorder for high quality audio. It polls for sleep talking within a schedule and serves a simple, static HTML and JavaScript front-end that allows you to download, stream, delete, and categorise sleeptalking files.
We decided to make somnilopy since the sleep talking recorders we weren't able to get the kind of audio quality we wanted with phone apps. Because we wanted to use sleep talking audio for music, we needed high quality recordings.
Frontend: Install requirements with:
sudo apt-get install npm
sudo npm install http-server -g
Run the somnilopy frontend by cloning the repo and running, from the frontend working directory
working_dir/frontend $ http-server
Backend: First, clone the repo and install any missing requirements, including sphixbase and its dependencies:
git clone https://github.com/mfmmq/somnilopy.git
sudo apt-get install sphinxbase gcc automake autoconf libtool bison swig python-dev libpulse-dev
pip install -r requirements.txt
Run the somnilopy backend with
working_dir $ python run.py --help
pyaudio, npm, sphinxbase