Expand description
Speech processing integration.
Speech domain types are defined in gestura-core-audio and re-exported
here. This module adds the SpeechProcessorCoreExt extension trait
which provides methods that depend on core-only types (secure config
loading, LLM provider selection).
Structs§
- LlmResponse
- Result of LLM processing
- Speech
Config - Speech processing configuration
- Speech
Processor - Core speech processor without Tauri dependencies
- Transcription
Result - Result of speech transcription
Traits§
- Speech
Processor Core Ext - Extension trait providing integration methods on
SpeechProcessorthat depend on core-only types (secure storage, LLM provider selection).
Functions§
- get_
speech_ processor - Get the global speech processor instance
- is_
speech_ recording - Check if speech is currently being recorded
- load_
audio_ samples_ 16khz_ mono - Load audio file and convert to 16kHz mono f32 samples.
- resolve_
whisper_ model_ path - Resolve the path to the local Whisper model file.
- resolve_
whisper_ model_ path_ with_ override - Resolve the path to a local Whisper model file, with an optional session-scoped override.
- update_
speech_ config - Update the global speech processor configuration