MCPcopy
hub / github.com/Fosowl/agenticSeek / initialize_stt

Method initialize_stt

sources/interaction.py:151–157  ·  view source on GitHub ↗

Initialize STT and start listening to the microphone.

(self)

Source from the content-addressed store, hash-verified

149 return max(0, min(idx, voice_count - 1))
150
151 def initialize_stt(self):
152 """Initialize STT and start listening to the microphone."""
153 if self.stt is not None:
154 return
155 animate_thinking("Initializing speech recognition...", color="status")
156 self.stt = Speech2Text(lang="en-us")
157 self.stt.start_listening()
158
159 def emit_status(self):
160 """Print the current status of agenticSeek."""

Callers 2

__init__Method · 0.95
transcription_jobMethod · 0.95

Calls 3

animate_thinkingFunction · 0.90
Speech2TextClass · 0.90
start_listeningMethod · 0.80

Tested by

no test coverage detected