Support recognizing from wav files in azure-transcribe, make speech g…#49
Merged
pragmatrix merged 4 commits intomasterfrom Aug 7, 2025
Merged
Support recognizing from wav files in azure-transcribe, make speech g…#49pragmatrix merged 4 commits intomasterfrom
pragmatrix merged 4 commits intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for recognizing speech from WAV files in azure-transcribe and makes the speech gate feature optional. The changes enable the azure-transcribe example to accept either microphone input or a WAV file path as a command-line argument.
Key changes:
- Made speech gate configurable via a boolean parameter in azure-transcribe
- Added WAV file recognition capability to the azure-transcribe example
- Changed audio channels from bounded to unbounded for better performance
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| services/playback/src/lib.rs | Made audio_file_to_frames function public for external access |
| services/azure/src/transcribe.rs | Added optional speech gate parameter and conditional processing |
| examples/azure-transcribe.rs | Extended example to support both microphone and WAV file input |
| core/src/protocol.rs | Added deprecation warning and architecture comment |
| core/src/lib.rs | Changed audio channels from bounded to unbounded |
| audio-knife/Cargo.toml | Version bump to 1.4.0 |
| Cargo.toml | Version bump to 1.1.0 and added playback dependency |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ate optional.