Feat/update whisper#74
Merged
Merged
Conversation
…or false positive handling
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.
This pull request introduces several enhancements and refinements to the wakeword detection system using Whisper Server, focusing on improved configurability, more robust false positive avoidance, and clearer documentation. The most important changes include new environment variables for specifying wakeword keywords and ignore phrases, updates to buffer handling and detection logic, and expanded documentation with usage examples.
Wakeword Detection Configuration and Logic Improvements:
STACKCHAN_WWD_WHISPER_SERVER_KEYWORDSandSTACKCHAN_WWD_WHISPER_SERVER_IGNORE_PHRASES), allowing for flexible keyword and false positive management. [1] [2]min_buffer_seconds) before running inference, reducing premature or spurious detections. [1] [2] [3]Documentation Updates:
docs/server_ja.mdanddocs/websocket_protocols_ja.mdto explain the new environment variables, their intended usage, and provided practical configuration examples for wakeword detection. [1] [2]Codebase and Usability Enhancements:
run-whisper-server-small.shto add the--convertoption for better compatibility.