Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KoljaB/RealtimeVoiceChat
/ types & classes
Types & classes
25 in github.com/KoljaB/RealtimeVoiceChat
⨍
Functions
152
◇
Types & classes
25
↳
Endpoints
2
↓ 7 callers
Class
TextSimilarity
Compares two text strings and calculates their similarity ratio. This class provides methods to calculate the similarity between two texts
code/text_similarity.py:7
↓ 2 callers
Class
LLM
Provides a unified interface for interacting with various LLM backends. Supports Ollama (via direct HTTP), OpenAI API, and LMStudio (via Ope
code/llm_module.py:185
↓ 2 callers
Class
PipelineRequest
Represents a request to be processed by the SpeechPipelineManager's request queue. Holds information about the action to perform (e.g., 'pre
code/speech_pipeline_manager.py:47
↓ 1 callers
Class
AudioInputProcessor
Manages audio input, processes it for transcription, and handles related callbacks. This class receives raw audio chunks, resamples them to
code/audio_in.py:11
↓ 1 callers
Class
AudioProcessor
Manages Text-to-Speech (TTS) synthesis using various engines via RealtimeTTS. This class initializes a chosen TTS engine (Coqui, Kokoro, or
code/audio_module.py:68
↓ 1 callers
Class
CustomTimeFormatter
A logging Formatter that displays timestamps as MM:SS.cs using local time. Inherits from `logging.Formatter` and overrides the `formatTime`
code/logsetup.py:7
↓ 1 callers
Class
LLMGenerationContext
A context manager for safely handling LLM generation streams. Ensures that the underlying generation stream is properly requested for cancel
code/llm_module.py:1086
↓ 1 callers
Class
NoCacheStaticFiles
Serves static files without allowing client-side caching. Overrides the default Starlette StaticFiles to add 'Cache-Control' headers tha
code/server.py:76
↓ 1 callers
Class
RunningGeneration
Holds the state and resources for a single, ongoing text-to-speech generation process. This includes the generation ID, input text, the LLM
code/speech_pipeline_manager.py:66
↓ 1 callers
Class
SpeechPipelineManager
Orchestrates the text-to-speech pipeline, managing LLM and TTS workers. This class handles incoming text requests, manages the lifecycle of
code/speech_pipeline_manager.py:113
↓ 1 callers
Class
TextContext
Extracts meaningful text segments (contexts) from a given string. This class identifies substrings that end with predefined split tokens,
code/text_context.py:7
↓ 1 callers
Class
TranscriptionCallbacks
Manages state and callbacks for a single WebSocket connection's transcription lifecycle. This class holds connection-specific state flags (l
code/server.py:517
↓ 1 callers
Class
TranscriptionProcessor
Manages audio transcription using RealtimeSTT, handling real-time and final transcription callbacks, silence detection, turn detection (optio
code/transcribe.py:68
↓ 1 callers
Class
TurnDetection
Manages turn detection logic based on text input and sentence completion model. This class receives text segments, uses a transformer model
code/turndetect.py:169
↓ 1 callers
Class
UpsampleOverlap
Manages chunk-wise audio upsampling with overlap handling. This class processes sequential audio chunks, upsamples them from 24kHz to 48kHz
code/upsample_overlap.py:6
Class
code/static/pcmWorkletProcessor.js:2
Class
code/static/ttsPlaybackProcessor.js:1
Class
APIConnectionError
code/llm_module.py:33
Class
APIError
code/llm_module.py:30
Class
APITimeoutError
code/llm_module.py:31
Class
Colors
code/colors.py:1
Class
Formatter
code/colors.py:60
Class
PCMWorkletProcessor
code/static/pcmWorkletProcessor.js:2
Class
RateLimitError
code/llm_module.py:32
Class
TTSPlaybackProcessor
code/static/ttsPlaybackProcessor.js:1