Skip to content

Added AC RMS filtering before inference, updated configs - #50

Open
ellinaho wants to merge 3 commits into
devfrom
48_rms_local
Open

Added AC RMS filtering before inference, updated configs#50
ellinaho wants to merge 3 commits into
devfrom
48_rms_local

Conversation

@ellinaho

@ellinaho ellinaho commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

implemented rms filtering before inference, also did power profiling and it reduced idle power consumption by 17% (when there are no noise changes). screenshots of analyzer in box.

in config, you can toggle the sensitivity of the filtering with thresh_multiplier, (the higher value the less sensitive), and also determine how much new weather changes impact ambient noise level each loop.

will use non detection noise changes to calculate new ambient. runs inference on both the trigger clip and the previous.

ended up not doing it with librosa but with numpy because librosa is better for fileprocessing instead of livestreaming?

@ellinaho

ellinaho commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

some docstrings might be missing details/updated info...i will fix it along with the next function fixing commit

@ellinaho
ellinaho requested a review from kgarwoodsdzwa July 8, 2026 21:45
Comment thread config/example_config.yaml Outdated
Comment thread config/example_config.yaml
Comment thread sagemic_local.py Outdated
Comment thread sagemic_local.py Outdated
@ellinaho
ellinaho requested a review from kgarwoodsdzwa July 22, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants