Skip to content

Support recognizing from wav files in azure-transcribe, make speech g… #49

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

Merged
merged 4 commits into from
Aug 7, 2025

Conversation

pragmatrix
Copy link
Owner

…ate optional.

@pragmatrix pragmatrix requested a review from Copilot August 7, 2025 07:28
@pragmatrix pragmatrix marked this pull request as ready for review August 7, 2025 07:28
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@pragmatrix pragmatrix merged commit 5bfb777 into master Aug 7, 2025
6 checks passed
@pragmatrix pragmatrix deleted the speech-detect-wav branch August 7, 2025 08:11
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