MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 12 callersFunctionsanitize_instruct
Return a validator-safe instruct from a possibly-poisoned stored value. Unlike :func:`_resolve_instruct` (which *raises* on unknown items so the
omnivoice/utils/voice_design.py:99
↓ 12 callersFunctionsegment_for_subtitles
Top-level entry: list[dict] in, list[dict] out. Preserves every key the caller passed in other than `text`, `start`, `end`, and `words`, whic
backend/services/subtitle_segmenter.py:84
↓ 12 callersFunctionsegment_transcript
Public entry point: whisper result → clean dub segments (as dicts).
backend/services/segmentation.py:492
↓ 12 callersFunctionset_stage
(state: &Arc<Mutex<BootstrapStage>>, stage: BootstrapStage)
frontend/src-tauri/src/bootstrap.rs:63
↓ 12 callersMethodstream
(self, method, url, **kwargs)
backend/tests/test_community.py:229
↓ 12 callersMethoduntil
(self, *kinds: str, timeout: float = 10.0)
tests/test_worker_client_liveness.py:101
↓ 11 callersFunction_check
(check_id: str, label: str, status: str, detail: str, hint: str | None = None)
backend/core/diagnose.py:46
↓ 11 callersFunction_client
(probe)
tests/test_worker_capability_refresh.py:13
↓ 11 callersFunction_drive_load
Run `_load_model_sync` with a checkpoint load that fails once.
tests/test_corrupt_weights_recovery_1406.py:114
↓ 11 callersFunction_log
(job: dict, line: str)
backend/services/sidecar_install.py:404
↓ 11 callersFunction_make_root
(tmp_path: Path, *, inventory: str = _INVENTORY, readme: str = _README, tts: str = _TTS_SOURCE,
tests/scripts/test_check_docs_drift.py:71
↓ 11 callersFunction_make_source
(outputs_dir, name="clip.wav", data=b"RIFFxxxxWAVE-test-audio")
tests/test_exports_api.py:87
↓ 11 callersMethod_on_server_message
(self, message: pb.ServerMessage)
backend/worker/transport/client.py:742
↓ 11 callersFunction_spawn_alive
Bring a sidecar up via a health ping and assert it's live.
tests/backend/services/test_subprocess_reaper.py:59
↓ 11 callersFunction_wav
(tmp_path, name="ref.wav", data=b"\x00" * 100)
tests/test_clone_prompt_cache.py:33
↓ 11 callersMethodallows
May the scheduler send work through this breaker right now?
backend/worker/breaker.py:125
↓ 11 callersFunctionapply_mastering
Applies the broadcast pre-stage (highpass + gentle compression) to the clone voice. Reverb is intentionally absent — only user-chosen effect pres
backend/services/audio_dsp.py:114
↓ 11 callersFunctionassign_speakers_heuristic
Silence-gap speaker assignment (used when no diarization model runs). Base signal: a gap > SPEAKER_GAP seconds between consecutive segments is
backend/services/segmentation.py:585
↓ 11 callersMethodbegin_input
Reserve a unique temporary path for an incoming push. The wire id is HASHED into a directory name rather than used as one. Staged inp
backend/worker/inbound/artifacts.py:685
↓ 11 callersMethodclose
(self)
backend/worker/transport/server.py:542
↓ 11 callersMethodconnect_worker
( self, *, execute=None, capabilities=None, max_concurrent_tasks=2,
tests/test_worker_transport.py:675
↓ 11 callersFunctionfetch
(ref, destination)
tests/test_worker_inputs.py:122
↓ 11 callersMethodformat
(self, record: logging.LogRecord)
backend/main.py:246
↓ 11 callersMethodgenerate
(self, text: str, **kw)
tests/backend/services/test_tts_backend_registry.py:260
↓ 11 callersFunctionget
()
frontend/src/store/longformSlice.test.ts:10
↓ 11 callersFunctionget_model
()
backend/services/model_manager.py:2658
↓ 11 callersFunctionlisten
(app: tauri::AppHandle, registration: PortalRegistration)
frontend/src-tauri/src/wayland_shortcut.rs:590
↓ 11 callersMethodrevoke_key
Durably revoke one panel and withdraw all of its live sessions.
backend/worker/inbound/service.py:396
↓ 11 callersFunctionset
(p: any)
frontend/src/store/updaterSlice.test.ts:6
↓ 11 callersFunctiont
(key)
frontend/src/test/audiobookHero.test.jsx:8
↓ 11 callersMethoduntil
(self, *kinds: str, timeout: float = 20.0)
tests/test_worker_upload_client.py:299
↓ 11 callersMethodupdate
Called every step to update the progress bar UI.
omnivoice/training/checkpoint.py:66
↓ 10 callersFunction_build_video_stretch_filter_graph
Build an ffmpeg filter_complex graph that stretches the source video per-segment so each segment's visual duration matches a dub audio layout.
backend/api/routers/dub_export.py:415
↓ 10 callersMethod_close_control
(self)
backend/core/contained_subprocess.py:90
↓ 10 callersFunction_done
(parsed)
tests/test_smart_fit_generate.py:152
↓ 10 callersFunction_enqueue
(client, video_bytes, langs="es", voice_id="", preserve_bg="true")
backend/tests/test_batch.py:77
↓ 10 callersFunction_fake_openai
Fake `openai.OpenAI` with canned chat/models behavior. Returns a list that captures each client's construction kwargs so a test can assert th
tests/test_llm_providers_router.py:48
↓ 10 callersFunction_load
(name)
tests/test_locale_parity.py:135
↓ 10 callersMethod_load
(self)
tests/probe/judges/speaker.py:54
↓ 10 callersFunction_make_root
Lay out the minimum repo skeleton the validator scans.
tests/scripts/test_validate_install_docs.py:45
↓ 10 callersFunction_offline_asr_missing
Deterministic offline (dub/batch) selection: faster-whisper large-v3, with the HF cache reporting installed/not-installed per ``cached``.
tests/test_asr_model_missing.py:42
↓ 10 callersFunction_read
(*parts: str)
tests/test_port_in_use_exit.py:29
↓ 10 callersMethod_remove_artifact_locked
(self, path: str)
backend/worker/inbound/artifacts.py:253
↓ 10 callersFunction_req
(segments, *, target_lang="es", provider="openai", **kw)
tests/test_dub_translation_quality.py:65
↓ 10 callersFunction_running
(sched: Scheduler, *, now: float = 1000.0)
tests/test_worker_scheduler.py:1055
↓ 10 callersFunction_seed_job_with_tracks
(dc, tmp_path: Path)
tests/test_dub_export_unique.py:50
↓ 10 callersFunction_segs
(*texts)
tests/test_dub_translation_quality.py:73
↓ 10 callersFunction_smart_fit_job
(track_dur: float = _EXPECTED_DUR)
tests/test_smart_fit_export.py:75
↓ 10 callersFunction_sync_job_segments
Persist the segments this dub was actually generated from back onto the job. The editor only sends the (translated / user-edited) segment text in
backend/api/routers/dub_generate.py:157
↓ 10 callersFunction_tone
(n=1000)
tests/test_dropped_chunk_is_not_silent.py:48
↓ 10 callersFunction_zip
members: {arcname: bytes|str}.
tests/test_persona_bundle.py:122
↓ 10 callersFunctionattrs_of
(description: str)
tests/test_describe_voice.py:22
↓ 10 callersFunctionclient_factory
Per-test TestClient; avoids module-scoped fixture collisions with ``patch()`` context managers.
tests/test_setup_preflight.py:484
↓ 10 callersMethodclose
()
frontend/src/utils/audioUnlock.test.js:26
↓ 10 callersFunctiondetectPlatform
(nav = typeof navigator !== 'undefined' ? navigator : undefined)
frontend/src/utils/micError.js:16
↓ 10 callersMethodemit
(ev)
frontend/src/test/playBlobAudioTracked.test.js:31
↓ 10 callersMethodfail_attempt
Record an attempt failure and requeue the task if retries remain.
backend/worker/lifecycle.py:491
↓ 10 callersMethodflush
(self)
tests/test_pockettts_sidecar.py:177
↓ 10 callersMethodfrom_pretrained
(*a, **k)
backend/tests/test_model_load_shutdown.py:175
↓ 10 callersMethodget_device_name
(self, idx=0)
tests/test_torch_compile_gate.py:39
↓ 10 callersFunctionis_playable_wav
Return true only for a regular, decodable WAV with audio frames.
backend/core/audio_validation.py:34
↓ 10 callersMethodlist_keys
(self)
backend/worker/inbound/keys.py:360
↓ 10 callersMethodloading
(self, fraction: float, detail: str)
backend/worker/executor.py:836
↓ 10 callersFunctionmeasure_loudness
Measure the concatenated program's loudness for ``preset`` (acx/podcast), or ``None`` for off/unknown or on ANY failure (→ single-pass fallback).
backend/services/loudness.py:27
↓ 10 callersFunctionno_window
(cmd: &mut Command)
frontend/src-tauri/src/tools.rs:42
↓ 10 callersMethodopen_result
(self, artifact_id: str, *, key_id: str)
backend/worker/inbound/artifacts.py:652
↓ 10 callersMethodpause
()
frontend/src/test/playBlobAudioFallback.test.js:47
↓ 10 callersFunctionplayBlobAudio
(blob, meta = {})
frontend/src/utils/media.js:311
↓ 10 callersMethodpoll
(self)
tests/backend/services/test_subprocess_backend.py:214
↓ 10 callersMethodpurge_finished
Drop rows for jobs finished more than `older_than_seconds` ago.
backend/core/job_queue.py:160
↓ 10 callersFunctionrequire_admin
(*args, **kwargs)
tests/test_loopback_server_mode.py:29
↓ 10 callersFunctionresolve_omnivoice_checkpoint
Resolve the VoiceStudio TTS checkpoint from ``OMNIVOICE_MODEL``, self-healing a misconfigured value. A valid checkpoint is either a HuggingFa
backend/services/model_manager.py:2101
↓ 10 callersFunctionrun_ffmpeg
Run an ffmpeg subprocess with concurrency cap, timeout, and proper cleanup. Returns (returncode, stdout_bytes, stderr_bytes). Raises asyncio.Time
backend/services/ffmpeg_utils.py:689
↓ 10 callersFunctionsegment_seed
Deterministic RNG seed for one longform synthesis call (#1139). A voice profile's pinned ``seed`` (locked takes, design profiles) makes ``/ge
backend/services/audiobook.py:37
↓ 10 callersFunctionsetUrl
(value)
frontend/src/components/settings/RemoteBackendPanel.test.jsx:67
↓ 10 callersMethodsnapshot
(self, *, now: Optional[float] = None)
backend/worker/pool.py:326
↓ 10 callersMethodstart
(self)
tests/test_worker_inbound_transport.py:4236
↓ 10 callersMethodstop
(self)
backend/core/job_queue.py:85
↓ 10 callersFunctionto_thread_and_defer_cancellation
Finish a durable call and report cancellation after its result is known. Authority writes need their event-loop publication even when the HTTP
backend/worker/async_utils.py:40
↓ 9 callersMethodUploadResult
(self, chunks, metadata=())
tests/test_worker_client_liveness.py:491
↓ 9 callersMethod_artifact_path
Resolve attempt-scoped storage for one result without filesystem I/O. Attempt-scoped, not task-scoped: two attempts of one task must never
backend/worker/transport/server.py:2401
↓ 9 callersFunction_assignment
(task: Task, *, artifact_root: str)
tests/test_worker_inputs.py:109
↓ 9 callersFunction_breaker
()
tests/test_worker_breaker.py:63
↓ 9 callersMethod_budget_for
(self, task: Task)
backend/worker/scheduler.py:1296
↓ 9 callersFunction_build
(roots, **kw)
tests/test_storage_report.py:72
↓ 9 callersFunction_build_audio_export_cmd
Build the ffmpeg command for an audio-only dub export (#119). No video input, stream-map, or codec — just the dubbed track, optionally mixed
backend/api/routers/dub_export.py:544
↓ 9 callersFunction_clean
(text: str)
backend/services/segmentation.py:143
↓ 9 callersFunction_consent
Turn the dual gate on. By default pre-marks the install event as sent so tests about OTHER events aren't polluted by the opt-in's install ping.
tests/test_analytics_lifecycle.py:66
↓ 9 callersFunction_fake_httpx
Fake httpx.Client capturing the probe's URL + headers; GET either returns a canned response or raises.
tests/test_asr_openai_compat_877.py:268
↓ 9 callersFunction_gallery_voice
( suffix: str = ".wav", content: bytes = b"RIFF imported voice", )
backend/tests/test_gallery_profiles.py:27
↓ 9 callersFunction_get_gpu_pool
Internal accessor for the GPU pool singleton. Same object as the module-level `_gpu_pool` attribute, but resolvable from inside this module (P
backend/services/model_manager.py:369
↓ 9 callersFunction_is_interpreter_shutdown_error
True when `exc` (or anything in its cause/context chain) is — or carries the text of — the ``RuntimeError`` a ``ThreadPoolExecutor`` raises on
backend/services/model_manager.py:2191
↓ 9 callersFunction_make_test_audio
Create a test audio tensor with a simple sine wave.
tests/test_effects_chain.py:23
↓ 9 callersFunction_plane_with_connected_worker
(monkeypatch, tmp_path, name="desktop-4090")
tests/test_worker_service_api.py:878
↓ 9 callersFunction_post
(client, **overrides)
tests/test_generation_remote_routing.py:175
↓ 9 callersFunction_probe
Stub _probe_available: only the named backend ids report available.
tests/test_asr_device_aware_autodetect.py:41
↓ 9 callersFunction_req
Minimal stand-in for a Starlette Request — the gate only reads client.host.
tests/test_loopback_server_mode.py:49
↓ 9 callersFunction_run
(coro)
tests/test_loudness.py:24
↓ 9 callersFunction_run
(mm, pool, fn, timeout)
tests/test_model_load_extends_generate_budget.py:57
↓ 9 callersFunction_running
(monkeypatch, scheduler)
tests/test_worker_service_api.py:664
← previousnext →301–400 of 15,058, ranked by callers