-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor audio processing and update UI settings
This commit includes several changes to improve the audio processing and user interface. The default value of `autoLanguageDetection` has been changed to `false`. The logic for handling speaking state and silence or short pause has been refactored into separate methods. The `ProcessAudioStreamAsync` method has been updated to handle partial transcriptions and no longer displays a message when no audio is detected. The UI update delay in the `UpdateUI` method has been increased. The `TranscribeAudioAsync` method now uses a ternary operator for setting the language parameter. Lastly, the bindings for the `IsChecked` and `Text` properties in `MainWindow.xaml` have been updated.
- Loading branch information
Showing
2 changed files
with
79 additions
and
76 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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