Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detector.SetSensitivity doesn't work #15

Open
cgisky1980 opened this issue Oct 9, 2022 · 5 comments
Open

detector.SetSensitivity doesn't work #15

cgisky1980 opened this issue Oct 9, 2022 · 5 comments

Comments

@cgisky1980
Copy link

I set it to 0.01, but there are still many wrong activations

@Thalhammer
Copy link
Owner

Hi,
Do you use a universal or a personal model ?
Also keep in mind that this fork (still) doesn't have any frontend processing, which means you likely need to add an additional automatic gain control and noise suppression step before feeding the data to snowman.

@cgisky1980
Copy link
Author

I tried personal model ,set Sensitivity to 0.4, it seems ok. but universal model is not so good.

@cgisky1980
Copy link
Author

Hi, Do you use a universal or a personal model ? Also keep in mind that this fork (still) doesn't have any frontend processing, which means you likely need to add an additional automatic gain control and noise suppression step before feeding the data to snowman.

anyway You did great job! I'll try to do someting for frontend processing.

@cgisky1980
Copy link
Author

cgisky1980 commented Oct 9, 2022

Hi, Do you use a universal or a personal model ? Also keep in mind that this fork (still) doesn't have any frontend processing, which means you likely need to add an additional automatic gain control and noise suppression step before feeding the data to snowman.

pulseaudio has module-echo-cancel use webrtc
add something like :
load-module module-echo-cancel source_master=<SOURCE_NAME> aec_method=webrtc source_name=echocancel sink_name=echocancel1

it works great

I will try https://github.com/jagger2048/WebRtc_noise_suppression

@Thalhammer
Copy link
Owner

it works great

Glad to hear that sorted out your issue.noise and echo cancellation are pretty important to avoid spurious, non voice activation. Long term it would be better to integrate them into the library as an optional preprocessing step similar to the original snowboy library, but for me it was never an issue because the mic arrays I use in my devices do AEC and noise supression in hardware.

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

No branches or pull requests

2 participants