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

Variable input size #46

Merged
merged 5 commits into from
Sep 2, 2023
Merged

Variable input size #46

merged 5 commits into from
Sep 2, 2023

Conversation

dscripka
Copy link
Owner

This PR adds proper support for variable input sizes for the audio data when calling the predict method. Previous versions of openWakeWord allowed for this, but if input audio arrays were not integer multiples of 1280 samples (80 ms of 16khz audio) then audio data was silently dropped (!) leading to significantly decreased accuracy.

Several misc. bugs and issues are also addressed.

@dscripka dscripka self-assigned this Aug 26, 2023
@dscripka dscripka merged commit d8ed6cb into main Sep 2, 2023
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.

1 participant