MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 2 callersFunction_source_layout_ok
(spec: SidecarSpec, checkout: Path)
backend/services/sidecar_install.py:694
↓ 2 callersFunction_source_present
(spec: SidecarSpec, checkout: Path)
backend/services/sidecar_install.py:707
↓ 2 callersFunction_spawn_env
Environment for spawning the binary, with ``bin/`` on the loader path. A source-built binary can be dynamically linked against the ``libggml*``
backend/engines/omnivoice_gguf/backend.py:150
↓ 2 callersFunction_speaker_key_for_segment
The `auto:`-style key of the speaker that owns segment `sid`, from the job's diarized segment rows. None when the segment is unknown (the caller
backend/api/routers/dub_generate.py:288
↓ 2 callersFunction_speaker_key_matches
Same matching rule the `auto:` branch has always used: the safe-name slug first (`auto_profile_id`), the raw speaker id as fallback.
backend/api/routers/dub_generate.py:267
↓ 2 callersFunction_speech_like
Broadband + harmonic + amplitude-modulated — a coarse stand-in for voiced speech: several harmonics (formant-ish), additive noise (consonants), an
backend/tests/test_archetype_preview_quality.py:42
↓ 2 callersFunction_stage_profile_audio
Copy an imported clip to a hidden temp file inside ``directory``. The temp lives in the destination directory itself so a later ``os.replace`
backend/api/routers/gallery.py:369
↓ 2 callersFunction_staged_entry_matches
Verify staged bytes against both metadata and their content address.
backend/worker/task_store.py:243
↓ 2 callersFunction_stamp_duration_plan
Attach a pre-synthesis duration-plan verdict to every row (in place). Pure planning (services/duration_planner.py): estimate the natural spee
backend/api/routers/dub_translate.py:740
↓ 2 callersFunction_stamp_predicted_rate_ratio
Stamp a predicted ``rate_ratio`` on every row that has a known slot. No LLM needed — just the per-language CPS table from ``services/speech_rate`
backend/api/routers/dub_translate.py:866
↓ 2 callersMethod_start_maintenance
( self, session: _Session, coroutine, *, attribute: str, name: str )
backend/worker/transport/server.py:1833
↓ 2 callersFunction_start_mcp_session_manager
Start MCP off the startup critical path; wait up to ``timeout`` for it to signal ready. Returns ``(task, stop_event, mounted)``. The MCP laye
backend/main.py:459
↓ 2 callersMethod_start_thread
(self, function, /, *args)
backend/worker/executor.py:728
↓ 2 callersFunction_state_path
()
backend/services/gallery.py:161
↓ 2 callersFunction_stitch_adjacent_shorts
Combine adjacent same-speaker segments when both are short and close. Catches the case where each segment individually passes MIN_DUR but a r
backend/services/segmentation.py:382
↓ 2 callersFunction_store_active_provider
()
tests/test_llm_state_isolation.py:43
↓ 2 callersFunction_stranded_tts_target
Target device string when the loaded TTS model is stranded off it, else None. Ordered cheapest-first so the hot path (model already on the accele
backend/services/model_manager.py:3280
↓ 2 callersFunction_stream_chunks
(client, data)
tests/test_synthetic_audio_watermark_1169.py:257
↓ 2 callersFunction_stub_build_synth
()
tests/test_audiobook_cancel.py:29
↓ 2 callersFunction_stub_verify_ok
(monkeypatch)
tests/test_sidecar_install.py:97
↓ 2 callersMethod_synthesize
Render through the same seeded pipeline as local ``/generate``. Held against the idle sweep for the duration: a long generation touches
backend/worker/executor.py:614
↓ 2 callersMethod_synthesize_audiobook
(backend, rows: list[dict], voices: list[dict], params: dict)
backend/worker/executor.py:329
↓ 2 callersFunction_tables
(db_path)
tests/test_mcp_bindings.py:138
↓ 2 callersFunction_tables
(path)
tests/test_generation_history_self_heal.py:35
↓ 2 callersFunction_tables
(db_path)
tests/test_pronunciation_api.py:48
↓ 2 callersFunction_target_repo_inventory
Selected worker id and the catalog repositories it reports on disk.
backend/api/routers/setup/models.py:111
↓ 2 callersFunction_target_worker
Selected live remote worker, or None when the catalog targets local.
backend/api/routers/setup/models.py:93
↓ 2 callersFunction_threads_for
Thread count for this model, honouring the env override verbatim.
backend/services/sherpa_dictation.py:52
↓ 2 callersFunction_toLifecycle
(res: { stage?: string; message?: unknown } | null)
frontend/src/utils/backendLifecycle.ts:62
↓ 2 callersFunction_to_device
Move all tensors in a batch dict to the target device.
omnivoice/training/trainer.py:48
↓ 2 callersFunction_token_registration_request
(token, keypair, *, signer=None)
tests/test_worker_server_integrity.py:192
↓ 2 callersMethod_tokens_to_words
Merge parakeet-mlx AlignedTokens (subword pieces; a leading space marks a word start) into whisper-shaped word dicts.
backend/services/asr_backend.py:1518
↓ 2 callersFunction_torch_compile_state
()
backend/api/routers/settings.py:106
↓ 2 callersMethod_track_artifact_rpc
(self, key_id: str)
backend/worker/inbound/listener.py:184
↓ 2 callersFunction_transcribe_buffer_full
Full transcription with timing info for the final result.
backend/api/routers/capture_ws.py:1162
↓ 2 callersFunction_translate_400_body
Force the optional dep to be unimportable, run one translate, return the 400 JSON body. ``sys.modules[name] = None`` makes ``import name`` raise
tests/test_translation_install_command.py:38
↓ 2 callersFunction_truthy
(v)
backend/api/routers/setup/download.py:120
↓ 2 callersFunction_tts_mod
()
tests/test_synthetic_audio_watermark_1169.py:119
↓ 2 callersFunction_tts_mod
Resolve services.tts_backend at RUN time (same rationale as test_generate_engine.py — collection-time bindings can go stale).
tests/test_text_normalization.py:281
↓ 2 callersFunction_unapply_flashinfer
Restore the standard execution path on a FlashInfer-patched model. ``apply_flashinfer`` works entirely through *instance-level* state — Metho
backend/services/model_manager.py:1638
↓ 2 callersMethod_untrack_artifact_rpc
( self, key_id: str, task: Optional[asyncio.Task] )
backend/worker/inbound/listener.py:191
↓ 2 callersFunction_upsert_attempts
Write every attempt, inserting the ones we have not seen before. Upsert rather than UPDATE in both writers: a blind UPDATE silently drops an
backend/worker/task_store.py:625
↓ 2 callersFunction_valid_instruct_from_items
Keep only known design tags, one per category, in first-seen order. Drops the ``"[object Object]"`` sentinel, freeform prose, ``"Auto"``, and any
omnivoice/utils/voice_design.py:77
↓ 2 callersFunction_validate
Returns the validated whoami username, or None if the token is invalid. Caches results for `_CACHE_TTL_SECONDS` per (source, token-hash) so the
backend/services/token_resolver.py:108
↓ 2 callersFunction_venv_can_import
Spawn the candidate python and verify the engine imports. Tri-state — "yes" / "no" / "unproven". See ``engines._venv_probe``: a probe that ru
backend/engines/confucius4/bootstrap.py:163
↓ 2 callersFunction_venv_can_import_dots
Spawn the candidate python and verify the engine imports. Tri-state — "yes" / "no" / "unproven". See ``engines._venv_probe``: a probe that ru
backend/engines/dots_tts/bootstrap.py:168
↓ 2 callersFunction_venv_can_import_indextts
Verify IndexTTS 2.5, retaining user-managed IndexTTS-2 compatibility. Tri-state — "yes" / "no" / "unproven". See ``engines._venv_probe``: a p
backend/engines/indextts/bootstrap.py:202
↓ 2 callersFunction_venv_can_import_moss
Spawn the candidate python and verify the engine imports. Tri-state — "yes" / "no" / "unproven". See ``engines._venv_probe``: a probe that ru
backend/engines/moss_tts_v15/bootstrap.py:196
↓ 2 callersFunction_voice_asset
Resolve a DB-stored voice asset without trusting the database value.
backend/api/routers/marketplace.py:68
↓ 2 callersFunction_voice_audio_fingerprint
(item: dict)
backend/api/routers/community.py:471
↓ 2 callersFunction_voxcpm_upgrade_hint
Actionable upgrade hint when the installed `voxcpm` is older than :data:`_VOXCPM_MIN_VERSION`, else None. Never raises; an unparseable or unkn
backend/services/tts_backend.py:900
↓ 2 callersFunction_wait_for_frames
(stream, count, timeout=5.0)
tests/test_indextts_config_and_timeout_1611.py:184
↓ 2 callersFunction_walk_quant_entries
Yield every ``{base, tokenizer, ...}`` entry in the quant map. Walks the top-level compute-class keys plus any nested entries under ``_extras
backend/engines/omnivoice_gguf/backend.py:208
↓ 2 callersFunction_wav
Small valid PCM WAV used when the route's decoder boundary is under test.
tests/test_gallery_previews.py:88
↓ 2 callersFunction_wedge
Block one worker thread inside ``attribute`` until the caller releases it. The wedge is released by the test rather than left to expire: the even
tests/test_worker_executor_residency.py:343
↓ 2 callersFunction_weights_floor_ok
(wdir: Path, *, config_names: tuple[str, ...] = ("config.yaml",))
backend/services/sidecar_install.py:890
↓ 2 callersFunction_worker
()
backend/services/media_tools.py:253
↓ 2 callersFunction_worker_setup
Common worker setup: get rank, configure device and threads.
omnivoice/eval/wer/minimax.py:183
↓ 2 callersFunction_workflow_paths
(workflows)
tests/test_pockettts_deferred.py:18
↓ 2 callersFunction_write_lines
(path: str, lines: list[str])
backend/core/user_env.py:39
↓ 2 callersFunction_write_locales
(tmp_path, mapping)
tests/probe/test_probe_i18n.py:18
↓ 2 callersMethodabort_waiters
Fail every outstanding waiter. Called from ``ControlPlane.stop``. Without it, a shutdown leaves each awaiting request hanging on a future
backend/worker/scheduler.py:259
↓ 2 callersFunctionacknowledgeBackendCrash
()
frontend/src/utils/backendCrash.ts:193
↓ 2 callersFunctionacquire_bundled
Fetch + verify + install the pinned static ffmpeg/ffprobe build. Idempotent: a no-op when the binaries are already present and runnable, or w
backend/services/media_tools.py:231
↓ 2 callersFunctionactivateSet
(key: string, generation: number, provider: JsonProvider)
frontend/src/utils/coalescedJsonStorage.ts:272
↓ 2 callersFunctionactivate_target
(target: &PlatformTarget)
frontend/src-tauri/src/dictation_output.rs:793
↓ 2 callersFunctionadd
(lang, code)
frontend/src/utils/multiLang.js:15
↓ 2 callersMethodadd
Increment a byte bar's downloaded bytes (used by the segmented path).
backend/utils/download_aggregator.py:85
↓ 2 callersFunctionaddTranscription
(entry)
frontend/src/pages/Transcriptions.jsx:29
↓ 2 callersMethodadd_listener
(self, task_id, q)
backend/core/tasks.py:62
↓ 2 callersMethodadd_secure_port
(self, *_args)
tests/test_worker_transport.py:1283
↓ 2 callersFunctionadjust_for_slot
Return `{text, rate_ratio, attempts, error?}`. Falls back to the input text if the LLM is off or the loop gives up. ``strict`` (Autofit mode
backend/services/speech_rate.py:109
↓ 2 callersFunctionadvertised_host
The address to put in a connection string. Not the bind address. Binding to 0.0.0.0 means "every interface", which is exactly what you want f
backend/worker/inbound/service.py:156
↓ 2 callersFunctionafterApplicationPersistence
( action: () => T | Promise<T>, dependencies: PersistenceFlushDependencies = {}, )
frontend/src/utils/persistenceLifecycle.ts:82
↓ 2 callersFunctionaggregate
(files)
frontend/src/components/WizardLibrary.jsx:97
↓ 2 callersFunctionalready_diagnosed
True when the stage already carries a `Failed` diagnosis. The venv bootstrap (`ensure_venv_ready`) records the REAL reason a start failed — "Intel Ma
frontend/src-tauri/src/bootstrap.rs:107
↓ 2 callersFunctionannounceDroppedText
(count, sample)
frontend/src/hooks/useTTS.js:223
↓ 2 callersFunctionappShellClasses
({ navStyle, navRailSide, isSidebarCollapsed, hideSidebar, shellSizeClass = '', })
frontend/src/utils/appShellClasses.js:19
↓ 2 callersFunctionappend_hint
``"{text} — {hint}"`` for raw-string surfaces (the global 500 handler, the model-install SSE): the dynamic mirror hint (#874) when that class
backend/core/failure.py:314
↓ 2 callersFunctionapply
(value)
frontend/src/components/MirrorRescue.jsx:45
↓ 2 callersFunctionapplyAttribution
(seg, attr)
frontend/src/utils/segmentParts.js:55
↓ 2 callersFunctionapplyInlineVoice
(text, selectionStart, selectionEnd, voiceId)
frontend/src/utils/storyTokens.js:91
↓ 2 callersFunctionapplyPreset
(key)
frontend/src/components/ExportModal.jsx:159
↓ 2 callersFunctionapplySpeakerCloneDefaults
(segments, speakerClones)
frontend/src/utils/segments.js:83
↓ 2 callersFunctionapplyUiScale
(scale, loadWebview = loadTauriWebview)
frontend/src/utils/uiScaleEngine.js:51
↓ 2 callersMethodapply_capabilities
Refresh what a worker can run, and re-derive its per-model slots.
backend/worker/pool.py:292
↓ 2 callersMethodapply_disconnected
Publish a durable disconnect generation on the scheduler's loop.
backend/worker/scheduler.py:1116
↓ 2 callersMethodapply_reconnected
Publish a durable reconnect generation on the scheduler's loop.
backend/worker/scheduler.py:1092
↓ 2 callersFunctionapply_uv_env
The one env applicator every `uv` invocation must go through: HTTP resilience (above) + volume co-location. The latter pins UV_CACHE_DIR / UV_PYTHON_I
frontend/src-tauri/src/bootstrap.rs:1579
↓ 2 callersFunctionapply_uv_http_env
Longer timeouts + more retries so a slow/flaky mirror or PyPI doesn't kill the first-run install on its first hiccup (#130 step 2).
frontend/src-tauri/src/bootstrap.rs:1565
↓ 2 callersFunctionattachPlaybackTap
(mediaEl, { sampleRate = 16000, frameSize = 320 } = {})
frontend/src/utils/aec/playbackTap.js:26
↓ 2 callersFunctionattached_backend_healthy
()
frontend/src-tauri/src/bootstrap.rs:969
↓ 2 callersFunctionattributionAt
(parts, at)
frontend/src/utils/segmentParts.js:160
↓ 2 callersFunctionaudioUrlWithCacheBust
(filename: string)
frontend/src/api/generate.ts:70
↓ 2 callersFunctionaudiobook_import
Import a ``.txt``/``.md``/``.epub``/``.pdf`` into a chapter-delimited script. EPUB is parsed in spine order (stdlib only, local); PDF text is ext
backend/api/routers/audiobook.py:159
↓ 2 callersFunctionaudiobook_preview
Render a single chapter so the user can audition it before the full run. Reuses the same content-addressed cache as the job, so a preview warms t
backend/api/routers/audiobook.py:785
↓ 2 callersFunctionaudiosegment_to_tensor
Convert a pydub.AudioSegment to PyTorch audio tensor
omnivoice/utils/audio.py:240
↓ 2 callersFunctionb64Pcm
(samples)
frontend/src/test/streamingTts.test.js:95
↓ 2 callersFunctionbackend_child_exit
Observe a contained child through its stable root/containment handles, or health-monitor an external attachment without ever signalling it.
frontend/src-tauri/src/bootstrap.rs:921
↓ 2 callersFunctionbackend_drain_fd
Validated Rust-owned drain writer inherited by the desktop backend.
backend/core/contained_subprocess.py:35
← previousnext →2,201–2,300 of 15,058, ranked by callers