MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 8 callersFunctionjoin
()
frontend/src/components/settings/JoinWorkerPanel.jsx:59
↓ 8 callersMethodkeys
(self)
backend/services/tts_backend.py:2246
↓ 8 callersFunctionlint_changelog
Return a list of violation strings (empty = clean).
tests/test_changelog_style.py:66
↓ 8 callersFunctionlooks_like_executable
Return ``(ok, reason)`` — never raises. Checks the file exists, is non-empty, and starts with a known executable magic. This is placeholder/c
backend/services/binary_preflight.py:54
↓ 8 callersMethodmark_disconnected
The worker's stream dropped. Start the grace window; fail nothing. This is the whole §10-vs-§21 fix in one method: we record that we have
backend/worker/lifecycle.py:598
↓ 8 callersFunctionnormalize_lexicon
Return a clean ``{key: respelling}`` dict. Drops entries whose key is empty or whitespace-only; coerces keys/values to stripped strings. A va
backend/services/pronunciation.py:41
↓ 8 callersFunctionnormalize_text
Pure, idempotent normalization pass (no pref gate — see :func:`normalize_for_tts` for the gated entry point pipelines call).
backend/services/text_normalization.py:484
↓ 8 callersFunctionparse_description
Map a free-text voice description onto the design parameter space. Returns a dict with: * ``attrs`` — full category → token map (``"Aut
backend/core/describe_voice.py:286
↓ 8 callersFunctionpatched_generate
(monkeypatch, tmp_path)
tests/test_dub_voice_match.py:261
↓ 8 callersMethodprewarm
( self, worker_id: str, *, engine: str, model_id: str = "", download_if_missing: bool = False )
backend/worker/transport/server.py:2706
↓ 8 callersMethodprocess_near_end
Subtract the estimated echo from the near-end (mic) signal. Returns int16 little-endian mono PCM with the estimated echo removed. Pas
backend/services/aec.py:180
↓ 8 callersMethodraise_for_status
(self)
backend/tests/test_community.py:226
↓ 8 callersFunctionread_test_list
Read a JSONL test list file. Each line should be a JSON object with fields: id, text, ref_audio, ref_text, language_id, language_name, du
omnivoice/utils/data_utils.py:29
↓ 8 callersFunctionrecord
Record an unhandled exception. Returns the (scrubbed) journal entry. Never raises — this runs inside the global exception handler, where a se
backend/core/error_journal.py:183
↓ 8 callersFunctionremote_api_key
Normalized remote operator key, read dynamically for rotation support.
backend/core/auth.py:69
↓ 8 callersFunctionresolve_consistent_ref
ONE clone reference for every segment of `speaker_key`. Preference order: 1. the pooled per-speaker clone (job["speaker_clones"]) — same lo
backend/api/routers/dub_generate.py:365
↓ 8 callersFunctionrouting_notice
`(status, reason)` when a synth-time notice SHOULD be surfaced to the user, else `None`. Surfaced for `cpu_fallback` (always) and for `acceler
backend/services/engine_routing.py:157
↓ 8 callersMethodsend
(self, message: pb.ServerMessage)
backend/worker/transport/server.py:651
↓ 8 callersFunctionshutdown_backend_for_exit
(app_handle: &tauri::AppHandle<R>)
frontend/src-tauri/src/lib.rs:489
↓ 8 callersFunctionspawn_subprocess
Drop-in replacement for ``asyncio.create_subprocess_exec``. Falls back to a thread-based ``subprocess.Popen`` (wrapped to match the asyncio P
backend/services/ffmpeg_utils.py:442
↓ 8 callersMethodstale
(self, *, now: Optional[float] = None)
backend/worker/pool.py:76
↓ 8 callersMethodstop
()
frontend/src/test/playBlobAudioFallback.test.js:31
↓ 8 callersMethodtail
(self)
backend/api/routers/capture_ws.py:588
↓ 8 callersFunctionwith_backend_stopped
Run a teardown while holding the same lifecycle ownership every spawn path uses. Reset, Clean & Retry, setup re-entry, uninstall, and app exit join la
frontend/src-tauri/src/bootstrap.rs:276
↓ 7 callersMethodRegister
(self, request: pb.RegisterRequest, context)
backend/worker/transport/server.py:759
↓ 7 callersFunction_backend
()
tests/test_moss_entry_point_1287.py:21
↓ 7 callersFunction_cache_path_key
(path: str)
backend/worker/executor.py:881
↓ 7 callersFunction_call
(text)
tests/test_dub_parse_subtitle_text.py:18
↓ 7 callersFunction_chapter
(*texts, title="C1")
tests/test_longform_segment_cache.py:37
↓ 7 callersFunction_classify_one
(text, slot, **kw)
tests/test_duration_planner.py:105
↓ 7 callersFunction_cleanup
()
tests/test_device_override.py:46
↓ 7 callersMethod_client_for
(self, artifacts, key_id, execute)
tests/test_worker_inbound_transport.py:155
↓ 7 callersFunction_counting_synth
(calls)
tests/test_longform_segment_cache.py:43
↓ 7 callersFunction_create_profile
(client)
tests/test_profile_consent.py:55
↓ 7 callersFunction_dependency
(name)
tests/test_loopback_server_mode.py:13
↓ 7 callersFunction_download
Run one segmented_download against a mock origin in a fresh event loop.
tests/test_fdl_segmented_download.py:45
↓ 7 callersFunction_env
Bind should_torch_compile's dependencies to a controlled fake.
tests/test_torch_compile_path_gate.py:22
↓ 7 callersFunction_fake_torch
(monkeypatch, cuda)
tests/test_torch_compile_gate.py:52
↓ 7 callersMethod_fetch_one
The local copy of one input, downloaded only if we lack it. Content-addressed: the name is the hash the control plane computed, so a
backend/worker/executor.py:439
↓ 7 callersFunction_flatten
(d, prefix="")
tests/test_locale_parity.py:141
↓ 7 callersFunction_fsync_parent_directory
Persist a rename/create where the platform supports directory fsync.
backend/worker/inbound/artifacts.py:1107
↓ 7 callersFunction_insert_take
(dbf, outdir, take_id, created_at, starred=0, audio_path=None, with_file=True)
tests/test_generation_takes.py:201
↓ 7 callersFunction_install
(backend, *, last_used=0.0)
tests/test_capture_asr_idle_release.py:50
↓ 7 callersMethod_key
(ref: pb.TaskRef)
backend/worker/transport/client.py:904
↓ 7 callersFunction_make_deterministic_engine
TTSBackend stub whose output is a pure function of the input text, so the streamed per-chunk renders and the classic whole-request render can be
tests/test_generate_streaming.py:86
↓ 7 callersFunction_make_fake_engine
Build a fresh TTSBackend stub class. Fresh per call so the per-process instance cache in api.routers.engines can't leak state across tests.
tests/test_generate_engine.py:45
↓ 7 callersFunction_make_wav
(path: Path, seconds: float = 1.0, sr: int = 16000)
tests/test_dub_transcribe.py:34
↓ 7 callersFunction_manifest_bytes
(**over)
tests/test_persona_bundle.py:131
↓ 7 callersFunction_mock_get_token
(monkeypatch, value)
tests/backend/services/test_token_resolver.py:57
↓ 7 callersFunction_mock_whoami
Patch huggingface_hub.whoami so that a known {token: result} mapping drives validity. `mapping[token]` may be a dict like {"name": "alice"} or
tests/backend/services/test_token_resolver.py:40
↓ 7 callersFunction_mp3
Stand-in preview bytes — content is irrelevant, its digest is not.
tests/test_gallery_previews.py:83
↓ 7 callersFunction_pick_reference_slices
Select the subset of a speaker's segments to use as reference audio. Strategy: rank candidates clean-first (not temporally adjacent to a diff
backend/services/speaker_clone.py:307
↓ 7 callersFunction_post
(client, **data)
tests/test_capture_refine.py:60
↓ 7 callersFunction_ram_check
(monkeypatch, ram_gb: float, env: str | None = None)
backend/tests/test_ram_preflight_1618.py:15
↓ 7 callersFunction_ranged_handler
A mock origin that honours Range requests over `payload`.
tests/test_fdl_segmented_download.py:22
↓ 7 callersFunction_row_to_worker
(row)
backend/worker/registry.py:93
↓ 7 callersFunction_run
(mm, pool, fn, timeout)
tests/test_chunk_progress_extends_generate_budget_1391.py:78
↓ 7 callersFunction_run_alembic_upgrade
`alembic upgrade head` on startup, wrapped in the data-safety net. Failure classes are handled differently on purpose: - alembic unavailable
backend/core/db.py:488
↓ 7 callersFunction_seed_done
Create a job, append some progress events + a final done event, mark done.
tests/test_longform_jobs.py:34
↓ 7 callersFunction_seed_user_db
A user DB with real data (and optionally a stamped alembic revision). Seeds the full base schema — in the real startup order ``init_db`` lays
tests/test_db_migration_safety.py:32
↓ 7 callersFunction_segments_for_lang
Job segments with `text` overlaid from ``job["segments_i18n"][lang]``. P1.2 — ``job["segments"]`` is single-slot: it holds whichever language was
backend/api/routers/dub_export.py:340
↓ 7 callersFunction_svc
()
backend/api/routers/media_tools.py:25
↓ 7 callersFunction_tokens
(instruct: str)
backend/tests/test_archetypes.py:51
↓ 7 callersFunction_tts_mod
()
tests/test_agentic_provider_contract.py:26
↓ 7 callersFunction_uid
(prefix: str)
tests/test_longform_jobs.py:30
↓ 7 callersFunction_unique_id
(prefix: str = "t")
tests/test_job_store.py:18
↓ 7 callersFunction_video_stretch_plan_for
Return the persisted stretch plan + total durations for `lang_code`, or None if this job didn't use stretch_video mode (or no plan exists).
backend/api/routers/dub_export.py:451
↓ 7 callersFunction_write
(path, size)
tests/test_storage_report.py:27
↓ 7 callersFunction_write_burn_srt
Build a temp SRT from job segments for use with ffmpeg's subtitles filter. Returned path is already ffmpeg-filter-safe (plain ASCII basename unde
backend/api/routers/dub_export.py:373
↓ 7 callersFunction_write_wav
(path: Path)
backend/tests/test_archetypes_api.py:39
↓ 7 callersFunction_write_wav
(path: Path)
backend/tests/test_community.py:35
↓ 7 callersFunction_write_wav
Write a mono wav from (amplitude, seconds) segments; return its path.
tests/test_voxcpm2_guardrails.py:43
↓ 7 callersFunction_write_weights
Fabricate a weights dir; ``complete=True`` adds the completion marker the installer writes after snapshot_download returns.
tests/test_sidecar_install.py:455
↓ 7 callersMethodadd_task
(self, task_id, task_type, func, *args, project_id=None, meta=None, **kwargs)
backend/core/tasks.py:33
↓ 7 callersMethodadvance
(self, seconds: float)
tests/test_admin_sessions.py:51
↓ 7 callersFunctionapply_inline_overrides
Resolve ``[[…]]`` one-off pronunciation overrides to plain spoken text. ``[[term|replacement]]`` → ``replacement`` (the ``term`` half is a label
backend/services/pronunciation.py:245
↓ 7 callersFunctionbed_mix_filter
One ffmpeg filter chain mixing `voice_in` over `bed_in` at original level. `bed_in`/`voice_in` are filtergraph input labels ("0:a", "1:a", …); `o
backend/services/ffmpeg_utils.py:84
↓ 7 callersFunctionbuild_chunk_filter_graph
Build the split/trim/setpts/concat filter graph for ``chunks``. With all keyword options at their defaults the output is byte-identical to th
backend/services/video_retime.py:136
↓ 7 callersFunctionchapter_cache_key
Deterministic content hash for a chapter's rendered audio. ``spans`` is an ordered list of ``(voice_id, text, pause_ms_after[, speed])`` (spe
backend/services/longform_render.py:115
↓ 7 callersFunctionchapterize_plaintext
Insert ``# `` headings ahead of obvious chapter-title lines. No-op if the text already has Markdown H1 headings (the user has structured it).
backend/services/longform_import.py:37
↓ 7 callersFunctionclamp
(v, lo, hi)
frontend/src/utils/audioTrim.js:3
↓ 7 callersMethodconnect
()
frontend/src/test/streamingTts.test.js:37
↓ 7 callersMethodconnection_fingerprint
(self, endpoint: str)
backend/worker/inbound/keys.py:400
↓ 7 callersFunctioncredential_matches
Constant-time credential comparison that accepts the full Unicode range.
backend/core/auth.py:74
↓ 7 callersMethoddisconnect
()
frontend/src/components/WorkspaceHistory.test.jsx:16
↓ 7 callersMethoddisconnect
(self, worker_id: str)
backend/worker/pool.py:238
↓ 7 callersFunctionepub_to_chapter_script
Convert EPUB bytes into a ``# Chapter`` / body script in spine order. Reads the OPF manifest + spine (the publisher's reading order), extracts
backend/services/longform_import.py:136
↓ 7 callersMethodfailed_message
(&self)
frontend/src-tauri/tests/backend_lifecycle.rs:434
↓ 7 callersFunctionfake_registry
Register a fake engine in the REAL registry so resolve_generation_backend exercises the actual lookup/is_available/routing/cloning chain, not a st
tests/test_dub_batch_engine_selection.py:80
↓ 7 callersFunctionfit_fingerprint
Deterministic hash of the fit configuration for one dub track. Canonicalised with the same `_canon_value` rules as segment fingerprints (int
backend/services/incremental.py:126
↓ 7 callersMethodflush
Flush remaining buffer as final sentence(s). Call at end of stream.
backend/services/sentence_chunker.py:557
↓ 7 callersMethodgenerate
Generate speech audio given text in various modes. Supports three modes: 1. **Voice clone** — clone the voice style from the referen
omnivoice/models/omnivoice.py:616
↓ 7 callersMethodgenerate
(self, text, **kwargs)
backend/tests/test_omnivoice_subprocess.py:462
↓ 7 callersMethodgenerate
(self, text, voice="expr-voice-5-m", speed=1.0, clean_text=False)
tests/test_kitten_input_shape_1173.py:85
↓ 7 callersFunctiongenerateSpeech
( formData: FormData, { signal }: { signal?: AbortSignal } = {}, )
frontend/src/api/generate.ts:35
↓ 7 callersMethodget
(self, _worker_id)
tests/test_generation_remote_routing.py:515
↓ 7 callersFunctiongetAdminSession
( apiBase: string, { storage = defaultSessionStorage(), now = Date.now, }: { storage?: StorageLi
frontend/src/api/authSession.ts:125
↓ 7 callersFunctioninvoke
()
frontend/src/components/BootstrapSplash.jsx:943
↓ 7 callersFunctionisTauri
()
frontend/src/utils/updater.js:21
↓ 7 callersFunctionis_hf_connectivity_error
True when *reason* looks like a network/connectivity failure of an HF download (DNS, refused/reset connections, timeouts, hub locate errors).
backend/core/failure.py:201
← previousnext →501–600 of 15,058, ranked by callers