Skip to content

alejsanc/noise-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

noise-detection

Noise detection with ARecord

Installation

# cp noise-detection.sh /usr/local/bin
# chmod +x /usr/local/bin/noise-detection.sh

# adduser noise-detection
# usermod -a -G audio noise-detection

# mkdir /var/lib/noise-detection
# chown noise-detection:noise-detection /var/lib/noise-detection

# cp noise-detection.service /lib/systemd/system
# systemctl enable noise-detection

Configuration

# vi /usr/local/bin/noise-detection.sh

DIRECTORY=/var/lib/noise-detection
MAX_VOLUME=75
RECORD_SECONDS=10
MICROPHONE=dsnoop:1,0
EMAIL_ACCOUNT=email-account
ADMIN_EMAIL=admin@example.com

More info in Detección de ruido con ARecord blog article.

About

Noise detection with ARecord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages