Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/debpalash/VoiceStudio
/ functions
Functions
15,058 in github.com/debpalash/VoiceStudio
⨍
Functions
15,058
◇
Types & classes
1,240
↳
Endpoints
303
↓ 1 callers
Method
_authoritative_refs
What this control plane believes the worker is running. Anything the worker holds that is not in this list is a zombie it must stop,
backend/worker/transport/server.py:1425
↓ 1 callers
Function
_authorized_destination
Consume a native save-dialog capability and validate its destination.
backend/api/routers/exports.py:20
↓ 1 callers
Function
_auto_name
(gender, age, pitch, accent, dialect, whisper: bool)
backend/core/archetypes.py:192
↓ 1 callers
Function
_availability
Can this worker take work right now, and if not, why not? The reason is user-facing: it is what the picker shows under a greyed entry, so it
backend/worker/routing.py:215
↓ 1 callers
Function
_available_hint
Advisory text carried by an *available* engine's ``is_available()`` message, or None when the message is a plain readiness echo. Convention (
backend/services/tts_backend.py:60
↓ 1 callers
Function
_await_task
Await a terminal task, reporting coarse progress, cancelling if we leave. Every exit that is not a terminal task cancels the remote task, because
backend/services/gpu_gateway.py:588
↓ 1 callers
Function
_await_terminal
Wait for a terminal task, giving up if the caller does first.
backend/api/routers/workers.py:608
↓ 1 callers
Function
_backend_imports_from_omnivoice
(file, lineno, module, symbol) for every `from omnivoice… import X`.
tests/test_vendored_omnivoice_imports_1417.py:81
↓ 1 callers
Function
_backend_marker_value
()
backend/main.py:1551
↓ 1 callers
Function
_backfill_demo_metadata
v0.2.x → v0.3.0 upgrade: a user who already had demo0001 seeded before the alembic migration ran will have description='' and is_demo=0 on tha
backend/core/onboarding.py:39
↓ 1 callers
Function
_badge
(r: JudgeResult)
tests/probe/report.py:145
↓ 1 callers
Function
_bare_audio_writes_in_routers
Return list of ``file:line: text`` for any bare audio-write call in routers. A "bare" call is one that is NOT routed through ``_safe_torchaudio_s
tests/backend/test_dub_pipeline_wav.py:55
↓ 1 callers
Function
_base_execution_seconds
Delegate to model_manager's budget; fall back to its formula. The lazy import keeps this module usable in a process that has no torch — the c
backend/worker/deadlines.py:129
↓ 1 callers
Function
_base_schema_cols
(table="voice_profiles")
tests/test_db_schema_reconcile.py:20
↓ 1 callers
Function
_base_seed
The seed that drives this render's determinism: an explicit book-level ``seed`` override wins, else the selected profile's pinned seed, else None
backend/api/routers/audiobook.py:392
↓ 1 callers
Function
_base_url
()
backend/mcp_shim/__main__.py:45
↓ 1 callers
Function
_base_version
`"0.3.22-7"` (preview stamp) → `"0.3.22"`.
backend/core/run_sentinel.py:164
↓ 1 callers
Function
_batch_timeout_s
Execution budget for one native batch. Not the sum of the per-item budgets: ``generate_timeout_s`` returns a floor (300s GPU / 600s CPU) plus
backend/api/routers/batch.py:156
↓ 1 callers
Method
_begin_uploading
Put the task into RESULT_UPLOADING for the length of the transfer. Without this transition ``Task.uploading`` has no callers, so RESU
backend/worker/transport/server.py:3150
↓ 1 callers
Function
_best_overlapping_segment
Return the prior segment with the strongest temporal overlap.
backend/api/routers/dub_core.py:149
↓ 1 callers
Function
_bind_kwargs
Turn a check's args (scalar/list/dict) into kwargs for ``fn``, injecting the spec ``subject`` into a leading ``path`` param and wiring pluggable
tests/probe/spec.py:182
↓ 1 callers
Method
_block_nlms
Sample-by-sample NLMS over one frame of near-end samples. Classical NLMS depends on the weights adapted at the previous sample, so th
backend/services/aec.py:234
↓ 1 callers
Function
_bootstrap_engines_venv
Create engines/confucius4/.venv and install the user's clone.
backend/engines/confucius4/bootstrap.py:182
↓ 1 callers
Function
_bootstrap_engines_venv
Create engines/moss_tts_v15/.venv and install the user's clone into it. Runs ``uv venv <engines_venv>`` then ``uv pip install --python <engin
backend/engines/moss_tts_v15/bootstrap.py:219
↓ 1 callers
Function
_bootstrap_engines_venv
Create engines/indextts/.venv and install the user's clone into it. Runs ``uv venv <engines_venv>`` then ``uv pip install --python <engines_v
backend/engines/indextts/bootstrap.py:229
↓ 1 callers
Function
_bootstrap_engines_venv
Create engines/dots_tts/.venv and editable-install the user's clone with the upstream constraints file.
backend/engines/dots_tts/bootstrap.py:187
↓ 1 callers
Function
_boundary_prefix
``\\b`` only if the key starts with a word char (else the boundary would never match — e.g. a key opening with punctuation).
backend/services/pronunciation.py:61
↓ 1 callers
Function
_boundary_suffix
``\\b`` only if the key ends with a word char.
backend/services/pronunciation.py:67
↓ 1 callers
Method
_bounded
Run ``coro`` under the server's budget for this phase. The worker's own bound, not a replacement for the server lease: the lease can
backend/worker/executor.py:797
↓ 1 callers
Function
_bounded_recovery_tail_seconds
Parse the recovery tail override without allowing unbounded buffers.
backend/api/routers/capture_ws.py:542
↓ 1 callers
Function
_bounded_ttl
(seconds: Optional[float])
backend/worker/capacity.py:85
↓ 1 callers
Function
_budget
()
tests/test_worker_inputs.py:98
↓ 1 callers
Method
_build_argv
Compose argv from typed Path objects only (T-04-02).
backend/engines/omnivoice_gguf/backend.py:674
↓ 1 callers
Function
_build_crash_record
(sentinel: dict, now: float)
backend/core/run_sentinel.py:273
↓ 1 callers
Function
_build_infer_kwargs
Translate the stable VoiceStudio wire payload to either upstream API.
backend/engines/indextts/main.py:378
↓ 1 callers
Function
_build_instruct
Extract instruct text from UI dropdowns. Language unification and validation is handled by _resolve_instruct
omnivoice/cli/demo.py:444
↓ 1 callers
Function
_build_one
Render, mark, encode, verify — returns the manifest entry for *key*.
scripts/render_gallery.py:103
↓ 1 callers
Function
_build_prompt
Build a system prompt that resists hallucinations on small local LLMs. Three things matter: 1. Use full language name
backend/api/routers/dub_translate.py:441
↓ 1 callers
Method
_build_prompt
(self, case: EvalCase, transcript: list[dict[str, str]])
tests/evals/judge.py:86
↓ 1 callers
Function
_build_registry
Map YAML judge keys → judge callables. Imported lazily to avoid the spec ⇄ judges circular import (judges import JudgeResult from here).
tests/probe/spec.py:60
↓ 1 callers
Function
_build_segment_context
Map frame analyses to segments based on timestamp overlap.
backend/services/video_context.py:165
↓ 1 callers
Function
_build_segments_from_words
Greedy grouping of words into IDEAL_DUR sentences, cut at natural boundaries.
backend/services/segmentation.py:219
↓ 1 callers
Function
_build_synth
Describe how to synthesize for the active TTS engine. Returns a dict with ``mode``, ``resolve`` (voice-id → resolved refs, cached per id) and
backend/api/routers/audiobook.py:465
↓ 1 callers
Function
_build_translator
(src, tgt)
backend/api/routers/dub_translate.py:670
↓ 1 callers
Function
_bundle_url
()
backend/services/media_tools.py:178
↓ 1 callers
Method
_bytes_done_locked
(self)
backend/utils/download_aggregator.py:92
↓ 1 callers
Function
_cache_name
A safe, content-addressed local name for one input. Never the wire filename: that is remote input, and joining it onto a directory is how a p
backend/worker/executor.py:1033
↓ 1 callers
Function
_cache_ok
()
backend/api/routers/dub_export.py:1084
↓ 1 callers
Function
_cache_path
(source: str)
backend/api/routers/community.py:107
↓ 1 callers
Function
_cached
Return cached value if still valid, else None.
backend/api/routers/setup/models.py:481
↓ 1 callers
Function
_cached_discovery
``(hit, value)``. ``hit`` is False once the entry has expired, so a remembered failure (value ``None``) is still a hit until it ages out.
backend/services/llm_providers.py:259
↓ 1 callers
Function
_cached_keys
()
backend/services/gallery.py:670
↓ 1 callers
Function
_cached_payload_intact
Cheap truth check on a cached WAV whose header we are about to trust. The natural-rate fast path hands the mixer a PATH instead of decoded au
backend/api/routers/dub_generate.py:84
↓ 1 callers
Function
_calls_progress
(node)
tests/test_chunk_progress_extends_generate_budget_1391.py:226
↓ 1 callers
Function
_cancel
(control_plane, scheduler, task_id: str, reason: str)
backend/services/gpu_gateway.py:670
↓ 1 callers
Function
_cancel
()
tests/test_watermark_prefetch_coldstart.py:301
↓ 1 callers
Method
_cancel_zombies
Stop work the control plane no longer believes in.
backend/worker/transport/client.py:715
↓ 1 callers
Function
_cancelled
()
backend/services/segmented_download.py:131
↓ 1 callers
Function
_canonical_websocket_path
Remove only the ASGI-configured deployment prefix from a WS path.
backend/core/auth.py:151
↓ 1 callers
Function
_capabilities
()
tests/test_worker_upload_server.py:94
↓ 1 callers
Function
_capabilities
()
tests/test_worker_inbound_transport.py:78
↓ 1 callers
Method
_capability_update_loop
(self, session: _Session)
backend/worker/transport/server.py:1917
↓ 1 callers
Function
_capture_preload_delay_s
Seconds after boot before the dictation (capture ASR) model warms. Late enough that it never competes with startup I/O or the TTS preload; ov
backend/main.py:405
↓ 1 callers
Function
_capture_preload_ram_ok
RAM guard for the dictation warm-up: skip below 4 GB free so the background load never pushes a small machine into swap. If free memory can't
backend/main.py:422
↓ 1 callers
Function
_capture_whisper_repo
The HF repo :func:`get_capture_asr_backend`'s non-sherpa fallback chain would download — same order, but WITHOUT constructing a backend. ``None``
backend/services/asr_backend.py:3172
↓ 1 callers
Function
_caveat
A caveat string for an otherwise-accelerated host, or None. Two kinds, kernel risk first (it's the more severe): * a driver/arch mismatch th
backend/services/engine_routing.py:34
↓ 1 callers
Method
_channel
A channel that trusts exactly one certificate — the pinned one.
backend/worker/transport/client.py:353
↓ 1 callers
Function
_chapters_done
Count chapters that finished rendering, from the job's persisted events. Best-effort (0 if unavailable) — used only to show resume progress.
backend/api/routers/audiobook.py:1227
↓ 1 callers
Function
_chat
One-shot chat completion. Raises on failure. One polite retry on a rate limit: when the provider sends a 429 with a bounded Retry-After, wait
backend/services/translator.py:303
↓ 1 callers
Function
_check
(root: Path)
scripts/check-docs-drift.py:68
↓ 1 callers
Function
_check_data_dir
()
backend/core/diagnose.py:158
↓ 1 callers
Function
_check_deep_synthesis
Actually load the active engine and synthesize a short utterance. Catches "installed but broken" — the most common issue category — which the
backend/core/diagnose.py:259
↓ 1 callers
Function
_check_device
()
backend/core/diagnose.py:63
↓ 1 callers
Function
_check_disk
()
backend/core/diagnose.py:138
↓ 1 callers
Function
_check_engines
()
backend/core/diagnose.py:188
↓ 1 callers
Function
_check_ffmpeg
Media engine (ffmpeg + ffprobe) — an internal dependency the app bundles/acquires itself, so a failure here means the self-heal also has nothi
backend/core/diagnose.py:90
↓ 1 callers
Function
_check_gpu_routing
Routing verdict for the active TTS engine on THIS host (#21). Surfaces a CPU fallback / unavailable-GPU *before* a slow or failed synth — the
backend/core/diagnose.py:213
↓ 1 callers
Function
_check_hf_token
()
backend/core/diagnose.py:121
↓ 1 callers
Function
_check_network
()
backend/core/diagnose.py:321
↓ 1 callers
Function
_check_python
()
backend/core/diagnose.py:56
↓ 1 callers
Function
_check_ram
()
backend/core/diagnose.py:173
↓ 1 callers
Function
_checkpoint_in_local_cache
True when ``checkpoint`` is loadable with NO network: an existing local directory, or a COMPLETE HF cache snapshot. ``snapshot_download(..., l
backend/services/model_manager.py:2816
↓ 1 callers
Function
_claim_input_cache_mutation
(path: str)
backend/worker/executor.py:937
↓ 1 callers
Function
_classify_legacy_environment_token
Return ``(is_replacement, decoded_endpoint)`` for a legacy token. Releases before the token-hash marker persisted the original Compose token
backend/worker/agent.py:724
↓ 1 callers
Function
_classify_probe_error
Coarse failure class for a probe, for logs/UI — never raises.
backend/services/endpoint_race.py:116
↓ 1 callers
Function
_clean
()
backend/tests/conftest.py:195
↓ 1 callers
Function
_clean_funasr_text
(text)
backend/services/asr_backend.py:1859
↓ 1 callers
Function
_cleanup
(paths: list[str])
backend/api/routers/personas.py:267
↓ 1 callers
Function
_cleanup_partial_download
Remove any half-written `original.*` files before a retry. A partial download left on disk would otherwise be picked up as a "finished" file
backend/services/dub_pipeline.py:897
↓ 1 callers
Function
_clear_all
()
backend/tests/conftest.py:125
↓ 1 callers
Function
_clear_all
()
tests/conftest.py:227
↓ 1 callers
Function
_clear_cublas_workspaces
Drop cuBLAS's per-handle workspaces before emptying the cache. Measured on a 4090: after unloading the model, ``empty_cache()`` left 803 MB r
backend/services/model_manager.py:3070
↓ 1 callers
Function
_client
(handler)
tests/test_fdl_segmented_download.py:41
↓ 1 callers
Method
_client
(self)
backend/services/asr_backend.py:2171
↓ 1 callers
Method
_client_factory
( self, artifacts: KeyedArtifactTransport, key_id: str )
backend/worker/inbound/service.py:276
↓ 1 callers
Function
_client_host
(connection)
backend/core/auth.py:166
↓ 1 callers
Function
_clone_prompt_key
(ref_audio: str, ref_text, preprocess_prompt: bool = True)
backend/services/tts_backend.py:543
↓ 1 callers
Function
_closest
(offsets: List[int])
backend/services/segmentation.py:160
↓ 1 callers
Function
_cm
()
tests/probe/web.py:236
↓ 1 callers
Function
_coerce_float
(value, default: float = 0.0)
backend/api/routers/longform_jobs.py:62
← previous
next →
3,001–3,100 of 15,058, ranked by callers