Skip to content

Commit 903670e

Browse files
committed
be more conservative with whistle threshold
1 parent 0666c53 commit 903670e

2 files changed

Lines changed: 87 additions & 1 deletion

File tree

pixi.lock

Lines changed: 86 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bitbots_misc/bitbots_whistle_detector/bitbots_whistle_detector/whistle_detector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def detect_whistle(self, audio, sample_rate):
6666

6767
ratio = whistle_energy / total_energy
6868

69-
return ratio > 0.5 # TODO: Tune, worked well on my Laptop
69+
return ratio > 0.6 # TODO: Tune, worked well on my Laptop
7070

7171

7272

0 commit comments

Comments
 (0)