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

Resample API input wav audio to ensure format matches listener config #180

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

NeonDaniel
Copy link
Member

Description

Adds explicit handling of API input audio to set sample_rate, sample_width, and channels to match listener configuration
Refactor to prevent creating an audio stream object not used for non-streaming STT

Issues

NeonGeckoCom/neon-iris#28

Other Notes

@NeonDaniel NeonDaniel merged commit 778c7e4 into dev Nov 9, 2023
7 checks passed
@NeonDaniel NeonDaniel deleted the FEAT_NormalizeInputAudio branch November 9, 2023 01:49
NeonDaniel added a commit to NeonGeckoCom/neon-iris that referenced this pull request Nov 9, 2023
NeonDaniel added a commit to NeonGeckoCom/neon-iris that referenced this pull request Nov 21, 2023
* Remove audio resampling moved to neon-speech NeonGeckoCom/neon_speech#180
Closes #28

* Add timing context and logging to go with:
NeonGeckoCom/neon_speech#181
NeonGeckoCom/neon_audio#154

* More timing metrics and logging

* Refactor timing and add debug log
Prevent response error from affecting next input

---------

Co-authored-by: Daniel McKnight <[email protected]>
@github-actions github-actions bot mentioned this pull request Dec 18, 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