MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 1 callersFunction_version_tuple
Parse the leading numeric components of a version string ("2.0.3" → (2, 0, 3), "2.1rc1" → (2, 1)). Returns None when nothing numeric parses —
backend/services/tts_backend.py:873
↓ 1 callersFunction_voice_audio_path
(item: dict)
backend/api/routers/community.py:478
↓ 1 callersFunction_voice_profile_exists
True iff ``profile_id`` names a real voice profile (#1217). Used to distinguish an exact profile id (a UUID someone passed as a span voice) f
backend/api/routers/audiobook.py:275
↓ 1 callersFunction_voice_state
Return a (cached, LRU-bounded) voice state for ``ref_audio`` (a local file path) or the language's default preset voice when none is given. URLs
backend/engines/pockettts/main.py:224
↓ 1 callersFunction_voices_dest
Resolve an output filename inside VOICES_DIR; 400 on escape (belt+braces — the name is always server-generated `{profile_id}…`).
backend/api/routers/personas.py:114
↓ 1 callersFunction_voxcpm_installed_version
Installed `voxcpm` dist version, or None when undeterminable (not installed, or importable without package metadata).
backend/services/tts_backend.py:890
↓ 1 callersFunction_wait_closed
Poll until the port stops accepting connections (tolerates teardown lag).
tests/test_network_share_lifecycle.py:30
↓ 1 callersFunction_wait_for_backend
(client: httpx.AsyncClient, health_url: str)
backend/mcp_shim/__main__.py:51
↓ 1 callersFunction_warn_missing_eager_guard
()
backend/services/watermark.py:106
↓ 1 callersFunction_warn_unreadable
(category_id: str, path: str, reason: str)
backend/services/storage_report.py:193
↓ 1 callersFunction_watermark_preload_delay_s
Seconds after boot before the AudioSeal generator warm-up fires. Own knob, NOT ``_capture_preload_delay_s`` + offset: a capture-specific env
backend/main.py:412
↓ 1 callersFunction_wav_duration
(path: str)
tests/test_funasr_global_speaker_chunking.py:31
↓ 1 callersFunction_wav_float_to_pcm_b64
Convert a mono float32 numpy array to base64 int16 PCM. Returns ``(b64_pcm, sample_rate, n_samples)``. The SDK emits a float32 mono array in
backend/engines/supertonic3/sidecar.py:195
↓ 1 callersFunction_wav_to_pcm_b64
Read a WAV file, downmix to mono, return base64 int16 PCM. Returns (b64_pcm, sample_rate, n_samples). Uses torchaudio because the sidecar's v
backend/engines/indextts/main.py:302
↓ 1 callersFunction_wedged
()
tests/test_shutdown_preload_race_1000.py:77
↓ 1 callersFunction_wedged_pool
A pool whose single worker parks until ``release`` is set, named exactly as the real GPU pool so the capture's filter applies.
tests/test_gpu_wedge_stack_capture.py:43
↓ 1 callersFunction_which
(cmd: str)
tests/backend/test_dub_pipeline_wav.py:145
↓ 1 callersFunction_whisper_ok
(age: str, pitch: str)
backend/core/archetypes.py:152
↓ 1 callersFunction_white_noise
()
backend/tests/test_archetype_preview_quality.py:37
↓ 1 callersFunction_windows_job
()
backend/core/contained_subprocess.py:388
↓ 1 callersFunction_with_clause
(base: str)
backend/services/translation_quality.py:245
↓ 1 callersFunction_with_preamble
(base: str)
backend/services/translator.py:385
↓ 1 callersFunction_with_target_facts
``exc`` with the download destination described, when the failure looks like the OS refusing a file operation (#1225). Returns ``exc`` untouc
backend/services/dub_pipeline.py:824
↓ 1 callersFunction_word_count
(text: str)
backend/services/segmentation.py:43
↓ 1 callersFunction_word_speaker
Majority-overlap speaker label for a word; midpoint membership as a fallback; ``None`` when the word has no diarization coverage at all.
backend/services/segmentation.py:636
↓ 1 callersFunction_work_started
Did any worker actually accept this task? ``accepted_at`` rather than "an attempt exists": an assignment that was rejected for capacity, or t
backend/services/gpu_gateway.py:743
↓ 1 callersFunction_worker
Process jobs one at a time from the queue.
backend/api/routers/batch.py:58
↓ 1 callersFunction_worker_setup
(rank_queue)
omnivoice/eval/wer/sensevoice.py:131
↓ 1 callersFunction_wrap
(orig)
backend/services/model_manager.py:3416
↓ 1 callersFunction_write_3s_wav
Write a 3-second 24 kHz mono WAV of low-amplitude sine to ``out_path``.
tests/backend/engines/test_omnivoice_gguf.py:183
↓ 1 callersFunction_write_all
Complete a file write even when the platform returns a short count.
backend/worker/inbound/artifacts.py:1084
↓ 1 callersFunction_write_bytes_atomic
(path: Path, data: bytes)
backend/api/routers/community.py:269
↓ 1 callersFunction_write_fake_tool
(path: Path, body: str)
tests/test_gguf_source_build_runtime_1348.py:147
↓ 1 callersFunction_write_featured_tarball
Bundle the featured previews so a first run costs one request, not 51.
scripts/render_gallery.py:149
↓ 1 callersFunction_write_history
()
backend/api/routers/generation.py:1047
↓ 1 callersMethod_write_loop
(self, session: _Session, context)
backend/worker/transport/server.py:1804
↓ 1 callersFunction_write_memmap_wav_atomic
Write a mono float32 memmap to int16 WAV without loading it all. Intentionally does NOT watermark: the final track is assembled from
backend/api/routers/dub_generate.py:610
↓ 1 callersFunction_write_result
(fd: int, returncode: int)
backend/core/contained_subprocess.py:342
↓ 1 callersFunction_write_source_marker
(spec: SidecarSpec, checkout: Path)
backend/services/sidecar_install.py:700
↓ 1 callersFunction_write_stdout
(obj: Any)
backend/mcp_shim/__main__.py:71
↓ 1 callersFunction_write_wav
(path, sr=24000, frames=2400)
tests/test_audiobook_preview.py:36
↓ 1 callersFunction_xet_active
True only when hf_xet is installed AND not disabled. The app sets HF_HUB_DISABLE_XET=1 by default, so this is normally False — which is when t
backend/api/routers/setup/download.py:169
↓ 1 callersFunctionaborted
()
frontend/src/utils/longformStream.js:41
↓ 1 callersFunctionabsorb_caps
(fits_cap, absorb_cap) need-ratios aligned with fit_planner. ``fits_cap``: up to here the audio-only speed-up is imperceptible. ``absorb_cap`
backend/services/duration_planner.py:153
↓ 1 callersFunctionaction_for_path
(path: &str)
frontend/src-tauri/src/speech_sidecar.rs:236
↓ 1 callersFunctionaction_for_rpc_method
(method: &str)
frontend/src-tauri/src/speech_sidecar.rs:245
↓ 1 callersFunctionactivate_ytdlp_overlay
Prepend the user-updated yt-dlp overlay to sys.path. Called once at backend startup, before anything imports yt_dlp.
backend/services/media_tools.py:535
↓ 1 callersFunctionactivePlaybackSource
()
frontend/src/utils/playback.js:161
↓ 1 callersFunctionactive_backend_id
()
backend/services/llm_backend.py:281
↓ 1 callersFunctionactive_provider_id
The provider Cinematic/Autofit should use. Precedence: env ``LLM_DEFAULT_PROVIDER`` → stored selection → first configured provider → None. Le
backend/services/llm_providers.py:389
↓ 1 callersFunctionactive_routing
Routing verdict for the currently-active TTS engine, or ``None`` if it can't be determined (no engine / probe failure). Derived from :func:`l
backend/services/tts_backend.py:2523
↓ 1 callersFunctionactive_task
()
tests/test_worker_capability_refresh.py:269
↓ 1 callersFunctionaddGlossaryTerm
( projectId: string, term: Partial<GlossaryTerm>, )
frontend/src/api/glossary.ts:8
↓ 1 callersFunctionaddLang
(lang, code)
frontend/src/components/MultiLangPicker.jsx:118
↓ 1 callersFunctionadd_punctuation
Add punctuation if there is not in the end of text
omnivoice/utils/text.py:208
↓ 1 callersFunctionadjustScale
(nextScale)
frontend/src/components/UiScaleControl.jsx:22
↓ 1 callersFunctionadjust_for_slot_many
Fan `adjust_for_slot` out across many segments concurrently, bounded by a shared wall-clock ``deadline``. ``items``: iterable of ``(key, text
backend/services/speech_rate.py:237
↓ 1 callersMethodadopt
Take ownership of a task loaded from disk after a restart.
backend/worker/scheduler.py:422
↓ 1 callersFunctionadvancePastModels
Walk the wizard from the system step to the step after models.
frontend/src/test/SetupWizardConsent.test.jsx:53
↓ 1 callersMethodallows
(self, capability: str)
backend/core/auth.py:56
↓ 1 callersFunctionanalyse_video
Analyse a video's visual context for dubbing decisions. Args: video_path: Path to the source video file. segments: List of segmen
backend/services/video_context.py:222
↓ 1 callersFunctionanthropic_complete
A ``complete`` callable backed by the Anthropic SDK. Enable-on-demand: ``uv add anthropic`` and set ANTHROPIC_API_KEY. Sonnet is the sensible
tests/probe/web.py:136
↓ 1 callersFunctionapiDelete
(path: string, opts: RequestInit = {})
frontend/src/api/client.ts:602
↓ 1 callersFunctionapi_prefixes
Top-level path segment for each route ('/engines/tts' → 'engines').
tests/probe/judges/coverage.py:28
↓ 1 callersFunctionappModes
()
frontend/src/test/featureCoverage.test.js:26
↓ 1 callersFunctionappimage_belongs_to_build
Require an exact debug AppImage directory and VoiceStudio filename.
scripts/desktop_prod_processes.py:21
↓ 1 callersFunctionapplyDocumentDirection
(lng: string)
frontend/src/i18n/index.ts:81
↓ 1 callersFunctionapplyDrag
(state, pointerClientX, canvasLeft, canvasWidth, drag, minGap = 0.02)
frontend/src/utils/audioTrim.js:84
↓ 1 callersFunctionapplyFav
(list)
frontend/src/components/gallery/ArchetypesZone.jsx:103
↓ 1 callersFunctionapplyPersonality
(p)
frontend/src/pages/CloneDesignTab.jsx:162
↓ 1 callersFunctionapplyProviders
(providers, ctx)
frontend/src/test/visual/providers.jsx:107
↓ 1 callersFunctionapplyResponseHeaders
(response)
frontend/src/hooks/useTTS.js:234
↓ 1 callersFunctionapplyUiScaleNow
* @param {number} scale * @param {WebviewLoader} loadWebview
frontend/src/utils/uiScaleEngine.js:23
↓ 1 callersFunctionapply_flashinfer
Patch an OmniVoice instance to use flashinfer packed attention.
omnivoice/models/omnivoice_flashinfer.py:636
↓ 1 callersFunctionapply_xet_env
Apply opt-in Xet tuning knobs to the environment before a download (FDL-04). Both default OFF; env wins over the prefs store. high-performance
backend/api/routers/setup/download.py:106
↓ 1 callersFunctionapproveWorker
(worker)
frontend/src/components/settings/WorkersPanel.jsx:169
↓ 1 callersFunctionarchetypePreviewUrl
(id: string, local = false)
frontend/src/api/archetypes.ts:74
↓ 1 callersFunctionargs
(values: &[&str])
frontend/src-tauri/src/speech_sidecar.rs:489
↓ 1 callersFunctionarm
Arm the guard. Call once from `setup`.
frontend/src-tauri/src/blank_guard.rs:317
↓ 1 callersFunctionaskConfirm
Native confirm dialog in Tauri, window.confirm in the web UI. Mirrors the * `askConfirm` helper in Settings.jsx (kept local to avoid coupling).
frontend/src/components/settings/VoicePanel.jsx:42
↓ 1 callersFunctionassign
()
tests/test_worker_service_api.py:988
↓ 1 callersFunctionassignVoice
()
frontend/src/components/StoriesEditor.jsx:291
↓ 1 callersFunctionassign_job_and_resume
( job: &std::os::windows::io::OwnedHandle, child: &Child, )
frontend/src-tauri/src/tools.rs:577
↓ 1 callersFunctionattached_health_grace
()
frontend/src-tauri/src/bootstrap.rs:975
↓ 1 callersFunctionattached_outage_confirmed
(state: &BackendState)
frontend/src-tauri/src/bootstrap.rs:993
↓ 1 callersFunctionattempt
(cmd: list[str])
backend/services/dub_pipeline.py:758
↓ 1 callersFunctionattributionName
(before, after)
frontend/src/utils/parseScript.js:34
↓ 1 callersFunctionaudiobookGenerate
( body: AudiobookGenerateBody, opts: { signal?: AbortSignal } = {}, )
frontend/src/api/audiobook.ts:116
↓ 1 callersFunctionaudiobookImport
(file: File)
frontend/src/api/audiobook.ts:137
↓ 1 callersFunctionaudiobookPlan
(body: { text: string; default_voice?: string | null; })
frontend/src/api/audiobook.ts:20
↓ 1 callersFunctionaudiobookPreviewChapter
( body: { text: string; chapter_index: number; default_voice?: string | null; language?: str
frontend/src/api/audiobook.ts:59
↓ 1 callersFunctionaudiobookUploadCover
(file: File)
frontend/src/api/audiobook.ts:129
↓ 1 callersFunctionauthEvent
()
frontend/src/api/client.test.ts:196
↓ 1 callersFunctionauthorization_credential_present
Whether Authorization contains an authoritative credential channel. This deliberately mirrors :func:`_credential_candidate`: whitespace and `
backend/core/auth.py:250
↓ 1 callersFunctionautoExtractGlossary
( projectId: string, { sourceLang, targetLang, segments, maxTerms = 40 }: AutoExtractArgs, )
frontend/src/api/glossary.ts:56
↓ 1 callersFunctionauto_detect_region
Auto-detect the download region by **racing the direct GitHub path against the ghproxy mirror and using whichever is fastest** — the "ping the mirrors
frontend/src-tauri/src/config.rs:250
↓ 1 callersFunctionbackendLifecycleStage
()
frontend/src/utils/backendLifecycle.ts:77
↓ 1 callersFunctionbackend_cmd_override
()
frontend/src-tauri/src/backend.rs:502
↓ 1 callersFunctionbackend_exit_indicates_broken_venv
Whether a dead backend process looks like it failed because the venv itself is structurally broken — either the CPython venv launcher's "No pyvenv.cfg
frontend/src-tauri/src/bootstrap.rs:1756
↓ 1 callersFunctionbackend_healthy
Full health check — returns true only if the responder at :port is actually our VoiceStudio backend.
frontend/src-tauri/src/backend.rs:34
← previousnext →4,001–4,100 of 15,058, ranked by callers