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

Detects noise as a speech #2

Closed
mustansarsaeed opened this issue Sep 16, 2020 · 1 comment
Closed

Detects noise as a speech #2

mustansarsaeed opened this issue Sep 16, 2020 · 1 comment

Comments

@mustansarsaeed
Copy link

Hi, Thank you for the great library. It is detecting noise as a speech, noise can be of fan, vehicle, clap etc. it says its a speech. Can you please check what can be the issue? Configuration is as follows:

private val SAMPLE_RATE = 44100
    private val SAMPLE_RATE_INDEX = 4
    private val CHANNELS = 1
    private val BIT_RATE = 32000

config = VadConfig.newBuilder()
                .setSampleRate(VadConfig.SampleRate.SAMPLE_RATE_48K)
                .setFrameSize(VadConfig.FrameSize.FRAME_SIZE_480)
                .setMode(VadConfig.Mode.VERY_AGGRESSIVE)
                .setSilenceDurationMillis(500)
                .setVoiceDurationMillis(500)
                .build()

Your help will be appreciated.

@gkonovalov
Copy link
Owner

Hi @mustansarsaeed
If it's pretty loud white noise then yes GMM can be mistakenly detect it as a speech. Solution is using DNN models which can provide VAD functionality with higher accuracy. I probably in future I will add such models to this library.

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