Repository navigation
Per-source EQ filters above 24 kHz for ultrasonic (bat) sources? #4820
Unanswered
SAdCodePrinter
asked this question in
Q&A
Replies: 1 comment
|
That is just an oversight, not an deliberate limit. I can fix that for next release, for time being there are no nightly releases as code in main is not always stable to run at all. Although what I have been experimenting with EQ is that most of the time it has only negative effects on classifier, so I am not very confident that EQ is right approach here. But please report back when you have had opportunity to try out fixed code. I'll try to do a next release soon. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, and thanks for BirdNET-Go and the bat support!
I'm not sure whether this is intended or whether I'm missing something, so I wanted to ask here first.
Setup
batWhat I tried
To suppress a few narrow, constant interference tones on that microphone (around 60, 64 and 72 kHz, most likely coming from its USB connection), I tried adding three
BandRejectfilters to the source viaPATCH /api/v2/settings/realtime:The request is rejected with
400 Invalid realtime settings. The same source without the three notches is accepted.Looking at the code, I think this comes from
MaxEQFrequency = 24000.0ininternal/conf/validate_audio.go("Nyquist for 48 kHz"). If I read go-audio-dsp correctly, the filter itself would accept frequencies up to the Nyquist of the actual sample rate (128 kHz here), but I may well be missing something.Why it matters for us
With these tones present, the bat model reports Pipistrellus pygmaeus about every 10–20 seconds whenever the source runs: roughly 2,500 detections per night, and even at midday. The ultrasonic validation marks almost all of them (about 99.9 %) as unlikely, which is great. We'd still like to try removing the tones before analysis. We're also working on the hardware side (cleaner USB power).
Question
Is the 24 kHz limit intentional for ultrasonic sources, or could it depend on the source's sample rate? Or is there another recommended way to filter in the ultrasonic range?
Happy to test a nightly build or share more details (spectra, config) if that helps. Thanks!
All reactions