MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 5 callersFunction_describe_write_failure
``e`` re-raised as a RuntimeError that names the write target, or ``e`` itself when there is nothing to add. The type is deliberately NOT pre
backend/services/audio_io.py:218
↓ 5 callersMethod_discard_unpublished_locked
(self, *paths: str)
backend/worker/inbound/artifacts.py:270
↓ 5 callersFunction_disk_files
(tmp_path)
tests/test_prompt_disk_cache.py:70
↓ 5 callersFunction_download_from
A stand-in for ``DownloadArtifact``, resolved exactly as the server does. ``server._resolve_input`` is ``resolve_within(artifact_dir, artifact_id
tests/test_worker_inputs.py:113
↓ 5 callersFunction_enrollment_manifest_path
(locations: dict[str, str])
backend/worker/agent.py:399
↓ 5 callersMethod_ensure_pipe
(self)
backend/services/asr_backend.py:1272
↓ 5 callersFunction_evict
(keep)
tests/test_engine_memory.py:126
↓ 5 callersFunction_exception_chain
Yield ``exc`` and every ``__cause__``/``__context__`` ancestor once (cycle-safe). transformers' lazy-import + materialization machinery wraps
backend/services/model_manager.py:2180
↓ 5 callersFunction_exception_chain
Yield ``e`` plus every ``__cause__``/``__context__`` beneath it (cycle-safe). Engines and hub libraries routinely wrap the original transport/
backend/api/routers/generation.py:272
↓ 5 callersFunction_first_archetype
()
tests/test_gallery_previews.py:516
↓ 5 callersMethod_flat
(self)
tests/probe/report.py:58
↓ 5 callersFunction_guidance
(monkeypatch, caps, min_vram_gb=OmniVoiceBackend.min_vram_gb, what="TTS generate")
tests/test_low_vram_advisory.py:126
↓ 5 callersFunction_hash_token
(token: str, pepper: bytes)
backend/services/admin_sessions.py:43
↓ 5 callersFunction_heuristic_body
4 lines, all server-default bound to their OWN auto-seg clip — the exact shape prepare produces for a heuristic-diarized job.
tests/test_dub_voice_match.py:310
↓ 5 callersFunction_install_stub_indextts
Place an importable ``indextts.infer_v2`` stub on the venv's sys.path. The probe runs ``python -c "import indextts.infer_v2"`` — it doesn't c
tests/backend/services/test_indextts_backward_compat.py:62
↓ 5 callersFunction_is_forbidden_download_error
True for a failure the CURRENT player client can't get past, but another one commonly can. A 403 is the original case (#625): extraction work
backend/services/dub_pipeline.py:877
↓ 5 callersFunction_load_enrollment_manifest
Read the atomic enrollment generation, or fall back to legacy files.
backend/worker/agent.py:409
↓ 5 callersFunction_make_pdf
(lines: list[str], *, content_override: bytes | None = None)
tests/test_longform_import.py:28
↓ 5 callersFunction_make_req
(texts, seg_ids=None, **kwargs)
tests/test_dub_subtitles_309.py:64
↓ 5 callersFunction_make_torch_mock
Build a torch-module mock with controllable cuda / mps shape.
tests/backend/engines/test_hardware_probe.py:21
↓ 5 callersFunction_merge_short
Fold fragments below the floor into adjacent same-speaker segment. Runs multi-pass until no further merges happen. Ultra-short segments (< 0.
backend/services/segmentation.py:304
↓ 5 callersFunction_model_supported
Check if a model is supported on the current platform.
backend/api/routers/setup/models.py:176
↓ 5 callersFunction_normalize_funasr
Normalise FunASR ``generate()`` output → VoiceStudio's ``{chunks, segments, language}`` shape (the same one the Whisper backends return, consu
backend/services/asr_backend.py:1863
↓ 5 callersFunction_one_seg_request
()
tests/test_dub_batch_engine_selection.py:181
↓ 5 callersFunction_padded_tone
``pad_s`` digital silence + ``speech_s`` of a 220 Hz sine at ``amplitude`` + ``pad_s`` silence, shape (1, T). A pure sine keeps every 10 ms an
tests/test_clone_ref_silence_ladder.py:43
↓ 5 callersFunction_patched_bundle
(mt, monkeypatch, payload: bytes)
tests/test_media_tools.py:151
↓ 5 callersFunction_pcm
float32 [-1, 1] → int16 LE PCM bytes.
tests/backend/services/test_aec.py:19
↓ 5 callersFunction_pool_with_worker
()
tests/test_worker_capacity.py:266
↓ 5 callersFunction_probe_stream_durations
(path: str)
tests/test_smart_fit_export.py:396
↓ 5 callersFunction_profile_audio_filename
(profile_id: str)
backend/api/routers/archetypes.py:99
↓ 5 callersFunction_recommend
(client, tags: list[str])
tests/test_setup_recommendations.py:23
↓ 5 callersFunction_reconcile_additive_columns
Make the live schema converge to ``_BASE_SCHEMA`` by ADDing any column the canonical schema declares but an existing table is missing — the belt f
backend/core/db.py:330
↓ 5 callersMethod_recv_with_timeout
Recv that aborts if the sidecar goes silent. Implemented by polling the proc for liveness with a deadline. We don't block on a `selec
backend/services/subprocess_backend.py:778
↓ 5 callersMethod_redeliver_pending
Re-send anything the server never acknowledged.
backend/worker/transport/client.py:709
↓ 5 callersFunction_register_fake_tts
Register a fresh in-process (or subprocess-marked) TTS stub whose generate() returns a `samples`-long list — torch-free so the shape test stay
tests/backend/api/test_engines_route_shape.py:726
↓ 5 callersMethod_release_artifact_reservation
( self, path: str, *, owner: Optional[object] = None )
backend/worker/transport/server.py:3268
↓ 5 callersFunction_resolve_default_language
Pick the language to thread into the longform synth callable. Priority (mirrors the single-shot /generate path, #533): an explicit non-Auto r
backend/api/routers/audiobook.py:324
↓ 5 callersMethod_retry_orphans_locked
(self)
backend/worker/inbound/artifacts.py:213
↓ 5 callersFunction_run
Run the step with stub `choco`/`ffmpeg`/`sleep` on PATH. `succeed_on_attempt` is the 1-based attempt on which choco finally puts ffmpeg on PA
tests/test_ci_windows_ffmpeg_retry.py:48
↓ 5 callersFunction_run
Run the step with a `gh` stub on PATH; return (CompletedProcess, deleted).
tests/test_release_preview_asset_cleanup.py:56
↓ 5 callersFunction_run
Run uninstall.sh in a throwaway HOME with a curl shim on PATH.
tests/scripts/test_uninstall_ping.py:37
↓ 5 callersFunction_run_alembic
(direction, db_path, target="head")
tests/test_pronunciation_api.py:30
↓ 5 callersFunction_run_to_completion
(sched: Scheduler, a, *, result_ref: str = "out.wav")
tests/test_worker_scheduler.py:839
↓ 5 callersMethod_save
(self, entries: list[str])
backend/worker/inbound/service.py:476
↓ 5 callersFunction_seed
(job_id, job_type, status, *, manifest=True, chapters_done=0, total=3)
backend/tests/test_audiobook_resume_api.py:36
↓ 5 callersFunction_seed_pre_takes_db
(path)
tests/test_generation_takes.py:78
↓ 5 callersFunction_set
(monkeypatch, val)
tests/test_model_checkpoint_resolve.py:16
↓ 5 callersFunction_sine_tensor
( *, seconds: float = 1.0, sample_rate: int = 24000, freq: float = 440.0, amplitude: float
tests/backend/services/test_audio_io.py:33
↓ 5 callersFunction_source
(path: str)
tests/test_ghas_false_positive_invariants.py:17
↓ 5 callersFunction_speechy
Deterministic noise burst: speech-like enough for the blank/buzz guards, every sample < 0.9 even after peak normalization → the marker comb is the
tests/test_synthetic_audio_watermark_1169.py:123
↓ 5 callersFunction_stamp
(db_path, rev)
tests/test_pronunciation_api.py:39
↓ 5 callersFunction_strip
(text)
tests/test_ffmpeg_banner_stripping.py:26
↓ 5 callersFunction_stub_load
Wire _load_model_sync's collaborators so `_load()` raises `error` without importing torch or touching the network.
backend/tests/test_model_load_shutdown.py:168
↓ 5 callersFunction_timed_segments
()
tests/test_dub_duration_plan_api.py:57
↓ 5 callersFunction_tone
(freq: float, n: int, *, amp: float = 0.5, phase: float = 0.0)
tests/backend/services/test_aec.py:32
↓ 5 callersMethod_touch
Mark the sidecar as just-used so the idle reaper leaves it alone.
backend/services/subprocess_backend.py:405
↓ 5 callersFunction_tree
(filename: str)
tests/test_admin_route_policy.py:20
↓ 5 callersFunction_tts_mod
()
tests/test_generate_ref_text_persist.py:31
↓ 5 callersFunction_tts_mod
()
tests/test_kitten_input_shape_1173.py:29
↓ 5 callersFunction_write_pcm_wav
Write a minimal PCM WAV, optionally with non-audio RIFF chunks.
tests/test_dub_batch_width_and_budget.py:129
↓ 5 callersFunction_ytdlp_overlay_dir
()
backend/services/media_tools.py:531
↓ 5 callersMethodaccept_registration
Adopt the control plane's answer and recover in-flight state.
backend/worker/transport/client.py:542
↓ 5 callersMethodapply_snapshot
Adopt a heartbeat snapshot. The worker is the source of truth for what it is actually running.
backend/worker/capacity.py:285
↓ 5 callersFunctionasrMissingPayload
(err)
frontend/src/utils/asrModelMissing.jsx:141
↓ 5 callersFunctionasr_model_missing_error
None when the active ASR selection can transcribe without downloading anything; otherwise the typed ``{"error": "asr_model_missing", ...}`` pa
backend/services/asr_backend.py:3278
↓ 5 callersFunctionattributionOf
(seg)
frontend/src/utils/segmentParts.js:42
↓ 5 callersFunctionautoProfileId
(speakerId)
frontend/src/utils/segments.js:40
↓ 5 callersMethodawait_state
(self, task_id, state, timeout=15.0)
tests/test_worker_transport.py:720
↓ 5 callersFunctionbackend
()
tests/test_pockettts_sidecar.py:329
↓ 5 callersMethodbegin_session
Capture the destination before the capture event can show the pill.
frontend/src-tauri/src/dictation_output.rs:107
↓ 5 callersFunctionbegin_watermark_pool_lifecycle
Open watermark submissions for a newly-started app lifespan.
backend/services/model_manager.py:1223
↓ 5 callersFunctionbuild_consent_json
The optional ``consent.json`` for a profile, or None when there's nothing to attest. A ``design`` persona attests as designed-synthetic by definit
backend/services/persona_bundle.py:120
↓ 5 callersFunctionbuild_loudnorm_filter
Return an ``-af`` loudnorm filter string for ``preset``, or ``None`` for off / unknown (single-pass; two-pass measure→apply is a runner enhancemen
backend/services/longform_render.py:303
↓ 5 callersFunctionbuild_persona_bundle
Assemble a ``.ovsvoice`` ZIP in memory and return its bytes. Always writes a watermarked ``preview.wav`` + ``manifest.json`` + (legacy-shaped
backend/services/persona_bundle.py:240
↓ 5 callersMethodcan_accept
(self, engine: str, model_id: str)
backend/worker/capacity.py:189
↓ 5 callersMethodcapture
(self, *a, **k)
tests/test_analytics_optin.py:261
↓ 5 callersFunctionchapterTitle
(text)
frontend/src/utils/storyExport.js:73
↓ 5 callersFunctionclaimPlayback
(stop, source = 'audio')
frontend/src/utils/playback.js:128
↓ 5 callersFunctionclaim_uninstall
( uninstalling: &std::sync::atomic::AtomicBool, owner: &std::sync::atomic::AtomicU64, )
frontend/src-tauri/src/uninstall.rs:206
↓ 5 callersFunctionclassify
()
tests/test_classify_401_substring.py:24
↓ 5 callersFunctioncleanup
()
frontend/src/utils/format.js:16
↓ 5 callersFunctionclear_webview_cache_at
Filesystem half of [`clear_webview_cache_if_marked`], parameterized over paths and retry policy so the contract is unit-testable on every platform (th
frontend/src-tauri/src/commands.rs:1357
↓ 5 callersMethodcomplete
(&self)
frontend/src-tauri/src/persistence_exit.rs:98
↓ 5 callersFunctionconsume
Consume and return a single Tauri-authorized path. Capability files are one-shot and opened without following symlinks. Tauri writes them int
backend/core/path_authorization.py:33
↓ 5 callersFunctioncontrol_frames
()
tests/test_worker_upload_server.py:298
↓ 5 callersFunctioncopy
()
frontend/src/components/OneTimeSecret.jsx:101
↓ 5 callersFunctioncreate
(**kw)
tests/test_translator.py:297
↓ 5 callersFunctioncreate_mcp_server
Build and return the FastMCP server instance.
backend/mcp_server.py:98
↓ 5 callersMethodcurrent_session_id
(&self)
frontend/src-tauri/src/dictation_output.rs:179
↓ 5 callersMethoddebug_snapshot
(self)
backend/services/admin_sessions.py:366
↓ 5 callersFunctiondefaultSessionStorage
()
frontend/src/api/authSession.ts:58
↓ 5 callersMethoddefault_endpoint
A best guess at how a worker should reach us. An IP address, not the hostname. gRPC resolves through c-ares, which does not speak mDN
backend/worker/service.py:349
↓ 5 callersFunctiondescribeCrashExit
( marker: Pick<BackendCrashMarker, 'exit_code' | 'signal' | 'exit_desc'>, )
frontend/src/utils/backendCrash.ts:217
↓ 5 callersFunctiondialect_clause
Prompt fragment for a requested dialect, or '' when unset/unknown. Unknown-but-plausible codes (e.g. "es-PE") still get a generic regional cl
backend/api/routers/dub_translate.py:100
↓ 5 callersMethoddisconnect
()
frontend/src/test/streamingTts.test.js:38
↓ 5 callersFunctionembed_watermark
Embed an imperceptible watermark into the audio waveform. Args: waveform: Audio tensor of shape (channels, samples) or (1, channels,
backend/services/watermark.py:427
↓ 5 callersFunctionenableAnalytics
()
frontend/src/utils/analytics.ts:124
↓ 5 callersFunctionenabled
The single source of truth: BOTH gates true, and not kill-switched.
backend/core/analytics.py:168
↓ 5 callersFunctionexplain_ffmpeg_failure
Turn an export-time ffmpeg failure into an honest, actionable message. #1152: a spawn-time `[WinError 206]` used to be concatenated with "Ver
backend/services/ffmpeg_utils.py:658
↓ 5 callersFunctionfileToMediaUrl
(file, prevUrls)
frontend/src/utils/media.js:33
← previousnext →801–900 of 15,058, ranked by callers