[唤醒灵敏度与端点恢复]:完成唤醒提示顺序和Hybrid VAD优化,包含阈值默认值、缓冲时序和测试覆盖
This commit is contained in:
+9
-1
@@ -23,7 +23,7 @@ The live runtime SHALL provide an audible local acknowledgement after local wake
|
||||
- **THEN** the runtime SHALL clear buffered microphone input captured during acknowledgement playback before starting VAD recording for the user's question
|
||||
|
||||
### Requirement: Fast user utterance endpointing
|
||||
The live runtime SHALL use the project-local VAD model by default for user utterance endpoint detection and SHALL expose configurable silence timing so the recording stops promptly after the user stops speaking.
|
||||
The live runtime SHALL use project-local VAD capability with an energy-threshold fallback by default for user utterance endpoint detection and SHALL expose configurable silence timing so the recording stops promptly after the user stops speaking.
|
||||
|
||||
#### Scenario: User stops speaking after wake
|
||||
- **WHEN** VAD observes the configured continuous silence duration after a started utterance
|
||||
@@ -33,6 +33,14 @@ The live runtime SHALL use the project-local VAD model by default for user utter
|
||||
- **WHEN** `OWNER_VAD_PROVIDER=local`
|
||||
- **THEN** the runtime SHALL use the project-local `sherpa-onnx` VAD model rather than a raw energy threshold for live user utterance endpointing
|
||||
|
||||
#### Scenario: Hybrid VAD is configured
|
||||
- **WHEN** `OWNER_VAD_PROVIDER=hybrid`
|
||||
- **THEN** the runtime SHALL load both the project-local VAD model and an energy-threshold fallback and SHALL treat a frame as speech when either detector reports speech
|
||||
|
||||
#### Scenario: Wake acknowledgement prompt ordering
|
||||
- **WHEN** local wake detection succeeds and `OWNER_WAKE_ACK_TEXT` is non-empty
|
||||
- **THEN** the terminal SHALL emit wake hit, acknowledgement, question prompt, and recording states in that order so the user is cued to speak only after acknowledgement playback
|
||||
|
||||
## MODIFIED Requirements
|
||||
|
||||
### Requirement: Wake word detection
|
||||
|
||||
Reference in New Issue
Block a user