Realtime computing of noise indicators and recognition of noise source.
tox run
Clone or copy this repository on the rpi.
Install noisesensor library (from repository folder)
pip install .
Install services dependencies
cd services
pip -r requirements.txt
Edit recording service with the characteristics of your microphone (device name/sampling rate)
Select plughw:XXX in order to be able to output audio samples in FLOAT format.
arecord -L
nano rpi_systemd/zerorecord.service
Install systemd services
cd /etc/systemd/system
sudo ln -s /home/pi/noisesensor/services/rpi_systemd/*.service ./
sudo systemctl daemon-reload
sudo systemctl enable zero*