Replies: 5 comments 21 replies
-
What is nice is that as it is post analysis, it will improve sound of mp3 files without needing people to force gain on input and risking signal saturation |
Beta Was this translation helpful? Give feedback.
-
If implemented, I believe it should be an optional setting. I would rather hear the exact sound it recorded and analysed. |
Beta Was this translation helpful? Give feedback.
-
I've made a preliminary change here: https://github.com/morrowwm/BirdNET-Pi/blame/main/scripts/utils/reporting.py Only needed to change the one file. If you want to try it, you will also likely need to install an additional python module:
|
Beta Was this translation helpful? Give feedback.
-
@Nachtzuster , what do you think of a reduced scope pull request which just replaces the sox call with "native" python, and normalizes to output to full volume? And perhaps makes the normalization optional? We can leave out the filtering and noise removal for now. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, I am here from mcguirepr89's repository at the suggestion of @alexbelgium with some work I did as discussed at mcguirepr89#253 (comment)
Briefly, I was getting much better sounding output files by reducing noise, filtering frequencies below 1 KHz, and normalizing the volume to a consistent level. Look at the discussion thread cited above for an example.
Note this is only modifying the output sound file. It has no effect on detection. That's a separate area of research.
This new Nachtzuster fork has some substantial changes, so my previous pull request to mcguirepr89/BirdNET-Pi won't fit. It looks like I could modify this new repository in
scripts/utils/reporting.py
here:replace the following sox call with python code to:
Does this look like the right spot?
Beta Was this translation helpful? Give feedback.
All reactions