Skip to content

Commit

Permalink
do not force sensitivity on rpi service
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Jan 31, 2024
1 parent d2e9a47 commit bf76a06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion services/rpi_systemd/zeroindicators.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Requires=zerorecord.service

[Service]
Type=simple
ExecStart=/usr/bin/python3.9 -u /home/pi/noisesensor/services/zero_indicators.py -c services/rpi_systemd/zeroindicators_config.json -w 0.125 -s 80 --sensitivity -26
ExecStart=/usr/bin/python3.9 -u /home/pi/noisesensor/services/zero_indicators.py -c services/rpi_systemd/zeroindicators_config.json -w 0.125 -s 80
WorkingDirectory=/home/pi/noisesensor/
Restart=always
RestartSec=5s
Expand Down
3 changes: 2 additions & 1 deletion services/rpi_systemd/zeroindicators_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3266,7 +3266,8 @@
"sample_ratio": 2
},
"configuration": {
"sample_rate": 48000
"sample_rate": 48000,
"sensitivity": -42.87
},
"a_weighting": {
"filter_denominator": [
Expand Down

0 comments on commit bf76a06

Please sign in to comment.