From c6b59260b0b7f79235e74610b8e00f2ed417f155 Mon Sep 17 00:00:00 2001 From: Ian Ingram Date: Mon, 6 Jul 2026 08:17:53 -0700 Subject: [PATCH] Remove default lat/long coordinates The defaults result in geographic filtering that might be opaque to a user, and likely undesirable for the majority of the applications of this demo script. Better to have the default be no geographic filtering. Comments have been added, though, to give examples and coordinate ranges. --- feature_tests/run_birdnet_on_microphone_stream.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/feature_tests/run_birdnet_on_microphone_stream.py b/feature_tests/run_birdnet_on_microphone_stream.py index a77cd31..fb12a46 100644 --- a/feature_tests/run_birdnet_on_microphone_stream.py +++ b/feature_tests/run_birdnet_on_microphone_stream.py @@ -14,8 +14,12 @@ from birdnetlib import RecordingBuffer from birdnetlib.analyzer import Analyzer -LATITUDE = 32.7157 -LONGITUDE = -117.1611 +# Latitude (decimal degrees). Positive = North. Range: -90 .. +90 +LATITUDE = None # e.g., 32.7157 + +# Longitude (decimal degrees). Positive = East. Range: -180 .. +180 +LONGITUDE = None # e.g., -117.1611 + SAMPLERATE = 48000 CONFIDENCE_THRESHOLD = 0.1