Documentation
¶
Index ¶
Constants ¶
View Source
const ( SampleRate = 16000 FrameSize = 512 BytesPerSample = 2 FrameBytes = FrameSize * BytesPerSample )
Variables ¶
ErrUnavailable is returned by NewSileroVAD until VAD is re-implemented on the unified sherpa-onnx runtime. See package-level note for rationale.
Functions ¶
This section is empty.
Types ¶
type SileroVAD ¶
type SileroVAD struct {
// contains filtered or unexported fields
}
SileroVAD is the public type the package previously exported. Kept as an empty struct so callers compile; constructor returns ErrUnavailable.
func NewSileroVAD ¶
NewSileroVAD always returns ErrUnavailable in this build. Adapters (cmd/speechkit/dictation_session.go) detect the error, log a warning and degrade to manual-release hotkey behaviour.
func (*SileroVAD) ProcessFrame ¶
ProcessFrame is a no-op for the stub. The real implementation will return the speech probability from the sherpa-onnx VAD model.
Click to show internal directories.
Click to hide internal directories.