Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 789 Bytes

README.md

File metadata and controls

48 lines (30 loc) · 789 Bytes

NoiseSensor

Realtime computing of noise indicators and recognition of noise source.

Launch unit test

tox run

Install on Raspberry Pi

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*