A Potential bug in the way start and end are counted in the Java codebase. #516
Unanswered
rahulbansal16
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the line
Let's consider 16000 hz,
speechPadSamples = 10
and audio detected in the first call to theapply
method.In the
currentSample
it add thewindowSizeSamples
.so
currentSample = 512
That means if the audio is identified as speech.
speechStart = (int) (currentSample - speechPadSamples)
i.e
speechStart = 512 - 10 = 502
but it should be 0.
Beta Was this translation helpful? Give feedback.
All reactions