Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/debpalash/VoiceStudio
/ functions
Functions
15,058 in github.com/debpalash/VoiceStudio
⨍
Functions
15,058
◇
Types & classes
1,240
↳
Endpoints
303
↓ 1 callers
Function
_one
(row)
backend/api/routers/dub_translate.py:828
↓ 1 callers
Function
_op_label
(op: str)
backend/worker/routing.py:265
↓ 1 callers
Function
_operations_for
Which task kinds this engine can serve. Cloning is the one genuine split — an engine that cannot clone must never be handed a clone task, and
backend/worker/capabilities.py:210
↓ 1 callers
Function
_opf_path
(zf: zipfile.ZipFile)
backend/services/longform_import.py:125
↓ 1 callers
Function
_outside_brackets
(text: str, fn: Callable[[str], str])
backend/services/text_normalization.py:251
↓ 1 callers
Function
_overlap
(a0: float, a1: float, b0: float, b1: float)
backend/services/dub_qc.py:80
↓ 1 callers
Function
_oversized_result_error
Refuse a result that cannot fit in a control-stream frame. Measured on the serialized frame rather than on the payload alone, so a modest wav
backend/worker/transport/client.py:1357
↓ 1 callers
Method
_owns
May this session speak for the attempt the frame names? Ownership, deliberately not an epoch comparison. ``ref.session_epoch`` is sta
backend/worker/transport/server.py:2183
↓ 1 callers
Function
_pad_batch
( features: List[torch.Tensor], padding_strategy: PaddingStrategy = "longest", max_len
omnivoice/scripts/denoise_audio.py:293
↓ 1 callers
Function
_parakeet_mlx_installed
True only when the parakeet-mlx model weights are ALREADY on disk. The capture picker prefers Parakeet TDT v3 on Apple Silicon, but only when
backend/services/asr_backend.py:2916
↓ 1 callers
Method
_parse
(self, raw: str)
tests/evals/judge.py:97
↓ 1 callers
Function
_parse_chapter_body
Voice→pause→SSML layering for ONE chapter body (no chapter split). Returns a list of span dicts ``{voice_id, text, pause_ms_after, speed}``.
backend/services/longform_parser.py:48
↓ 1 callers
Function
_parse_minisig
Parse a minisign signature file. Returns ``(algorithm, key_id, signature, trusted_comment, global_signature)``. Accepts the raw file text and
backend/services/gallery.py:219
↓ 1 callers
Function
_parse_params
(raw: str)
backend/worker/executor.py:1214
↓ 1 callers
Function
_parse_ts
(value)
scripts/build_preview_manifest.py:80
↓ 1 callers
Function
_parser
()
backend/speech_client/__main__.py:230
↓ 1 callers
Function
_patch
(Ctor)
frontend/src/utils/audioUnlock.js:25
↓ 1 callers
Function
_patch_attention_forward
(llm, fuse_qkv=True)
omnivoice/models/omnivoice_flashinfer.py:155
↓ 1 callers
Function
_patch_mlp
(llm)
omnivoice/models/omnivoice_flashinfer.py:180
↓ 1 callers
Function
_patch_rmsnorm
(llm)
omnivoice/models/omnivoice_flashinfer.py:87
↓ 1 callers
Function
_patched_guard
run_on_gpu_pool_guarded with the module-default timeout shrunk, but explicit `timeout=` (the load-budget call) respected — mirrors how the rea
tests/test_load_budget_split_1033.py:120
↓ 1 callers
Function
_path
(connection)
backend/core/auth.py:144
↓ 1 callers
Function
_pauseMs
(num, unit)
frontend/src/utils/storyTokens.js:33
↓ 1 callers
Function
_pauseMs
(num, unit)
frontend/src/utils/longformParser.js:39
↓ 1 callers
Function
_pause_ms
Resolve a parsed (number, unit) pair to a clamped millisecond value.
omnivoice/utils/text.py:239
↓ 1 callers
Method
_payload
(self)
tests/test_asr_model_missing.py:467
↓ 1 callers
Function
_pcm
(nbytes=2000)
tests/test_sherpa_ws_streaming.py:122
↓ 1 callers
Function
_peer_address
Turn gRPC's peer string into a plain ip:port. gRPC reports "ipv4:192.168.0.5:54321" or "ipv6:[::1]:54321"; neither is something to show a use
backend/worker/transport/server.py:3579
↓ 1 callers
Function
_persist_job
The actual write. Callers go through :func:`save_job`, which gates it.
backend/services/dub_pipeline.py:461
↓ 1 callers
Function
_persist_locked
Rewrite the JSONL mirror from the in-memory ring. Caller holds _lock. Never raises — losing persistence must not break the exception handler.
backend/core/error_journal.py:143
↓ 1 callers
Function
_persist_profile_ref_text
Cache an auto-transcribed reference transcript onto its profile row. #1032 perf regression: profiles saved without a transcript re-ran a FULL
backend/api/routers/generation.py:971
↓ 1 callers
Method
_persist_progress
Write a progress report through to disk, at most every few seconds. The persisted lease used to be whichever one `on_started` stamped, so a
backend/worker/scheduler.py:797
↓ 1 callers
Function
_persisted_endpoint
()
backend/worker/agent.py:571
↓ 1 callers
Function
_personalities
()
tests/test_demo_assets_exist.py:50
↓ 1 callers
Function
_phase_a_build_inner
()
backend/main.py:565
↓ 1 callers
Method
_phase_budget
How long the task's current phase is allowed to take in total.
backend/worker/scheduler.py:776
↓ 1 callers
Function
_pick_cut
Return the character index to split at, or None if no natural cut fits. Priority: sentence > clause > conjunction. Prefer a cut near the midd
backend/services/subtitle_segmenter.py:164
↓ 1 callers
Method
_pick_device
(cls)
backend/services/asr_backend.py:1239
↓ 1 callers
Function
_pick_gpu_workers
Pick a sensible GPU worker count from the runtime environment. Resolution order: 1. OMNIVOICE_GPU_WORKERS env var (explicit user override,
backend/services/model_manager.py:167
↓ 1 callers
Function
_pitch_label
(pitch)
backend/core/archetypes.py:188
↓ 1 callers
Function
_plan_alembic
Decide what an ``upgrade head`` run would actually do: - ``up_to_date`` — stamped at head; upgrade is a no-op. - ``pending`` —
backend/core/db.py:460
↓ 1 callers
Function
_plan_payload
(p: FitPlan)
tests/test_fit_planner.py:337
↓ 1 callers
Function
_plan_segments
(size: int, num_connections: int)
backend/services/segmented_download.py:69
↓ 1 callers
Function
_pocket_language
Map an OmniVoice language value to a pocket-tts model language. A specific but unsupported language raises rather than silently fall back to Engli
backend/engines/pockettts/main.py:138
↓ 1 callers
Function
_poll_exited
(poller: select.poll, pending: set[int], deadline: float)
scripts/desktop_prod_processes.py:83
↓ 1 callers
Function
_port_taken
The EADDRINUSE error a bind would raise, or None if the port is free. Mirrors uvicorn's own socket options — notably SO_REUSEADDR off
backend/main.py:1866
↓ 1 callers
Method
_posix_exit_state_reaping
:meth:`_posix_exited_reaping` plus one concession: if the leader was already reaped through *this* Popen (``_proc.returncode`` known),
backend/core/contained_subprocess.py:147
↓ 1 callers
Method
_posix_exited_reaping
macOS fallback for :meth:`_posix_exited_unreaped` (#1656). CPython on macOS does not expose ``os.waitid`` (HAVE_WAITID is not set in
backend/core/contained_subprocess.py:125
↓ 1 callers
Method
_posix_exited_unreaped
(self)
backend/core/contained_subprocess.py:120
↓ 1 callers
Function
_post
Minimal JSON/multipart POST. Avoids adding requests as a CLI dep.
omnivoice/cli/dub.py:38
↓ 1 callers
Method
_post_process_audio
Optionally remove long silences, adjust volume, and add edge padding. Args: generated_audio: Audio tensor of shape (1, T).
omnivoice/models/omnivoice.py:941
↓ 1 callers
Function
_preallocate
(part: str, size: int)
backend/services/segmented_download.py:210
↓ 1 callers
Function
_prefetch_batch
Render the batch beginning at ``first_index`` into ``batched_audio``. Rendered on demand rather than prerendering the
backend/api/routers/batch.py:380
↓ 1 callers
Function
_preload_capture_asr
()
backend/main.py:894
↓ 1 callers
Function
_preload_watermark
()
backend/main.py:948
↓ 1 callers
Function
_prepare_oom_retry
Prepare one *local* low-step retry after a genuine device OOM. The cache being flushed must belong to the device that raised the error. A rem
backend/api/routers/dub_generate.py:52
↓ 1 callers
Function
_prepare_synth
Resolve :func:`_build_synth` into ``(synth, sample_rate, resolve, engine_id)`` — awaiting the VoiceStudio model load when needed. Shared by the
backend/api/routers/audiobook.py:533
↓ 1 callers
Function
_prepare_voxcpm_ref
Prepare a cloning reference clip for VoxCPM2. The `voxcpm` package used to trim reference audio itself but no longer does — raw user clips re
backend/services/tts_backend.py:926
↓ 1 callers
Method
_preprocess_all
( self, text: Union[str, list[str]], language: Union[str, list[str], None] = None,
omnivoice/models/omnivoice.py:1096
↓ 1 callers
Function
_preview_lock
(path: str)
backend/api/routers/dub_export.py:1027
↓ 1 callers
Function
_preview_source
Which path ``/preview`` will take for *a*, and what to tell the user. Replaces the old "see Settings → Logs → Backend" advice, which asked a user
backend/api/routers/archetypes.py:389
↓ 1 callers
Function
_previous_run_alive
Whether `pid` is a live process that plausibly IS the run that wrote the sentinel (i.e. a concurrently-running second instance). psutil (alre
backend/core/run_sentinel.py:123
↓ 1 callers
Function
_probe
Run the probe once. Enumerates every failure branch from the spec's degradation contract; never raises.
backend/core/device_caps.py:456
↓ 1 callers
Function
_probe_available
``is_available()`` that never raises. A probe that explodes (e.g. a native lib that refuses to load — CTranslate2's exec-stack rejection, #692) me
backend/services/asr_backend.py:2427
↓ 1 callers
Function
_probe_codecs
Return (video_codec, audio_codec) lowercased, or ('','') on probe error.
backend/services/dub_pipeline.py:656
↓ 1 callers
Function
_probe_paths
()
backend/engines/confucius4/bootstrap.py:145
↓ 1 callers
Function
_probe_paths
Ordered list of candidate venv-python paths (no .is_file() check).
backend/engines/moss_tts_v15/bootstrap.py:186
↓ 1 callers
Function
_probe_paths
Ordered list of candidate venv-python paths (no .is_file() check).
backend/engines/indextts/bootstrap.py:192
↓ 1 callers
Function
_probe_paths
()
backend/engines/dots_tts/bootstrap.py:159
↓ 1 callers
Function
_process_store
Return THE per-process store, however this module was (re)imported. Auth is process-global state: the copy of this module that issues a crede
backend/services/admin_sessions.py:381
↓ 1 callers
Method
_produce_download
(self, session, request, context, chunks)
backend/worker/transport/server.py:3352
↓ 1 callers
Function
_profile_audio_path
Resolve only a regular, non-symlinked file inside ``VOICES_DIR``.
backend/api/routers/archetypes.py:80
↓ 1 callers
Function
_profile_instruct
Validator-safe instruct for a stored profile row. Sanitizes the persisted instruct (dropping the ``"[object Object]"`` sentinel / freeform pr
backend/api/routers/generation.py:113
↓ 1 callers
Function
_project_root
()
backend/core/cudnn8.py:58
↓ 1 callers
Function
_promote_input_cache_lease
Turn a fetcher's lease into the active execution lease it returns.
backend/worker/executor.py:921
↓ 1 callers
Function
_prompt_disk_load
Load a persisted prompt for ``key``, or None. Never raises.
backend/services/tts_backend.py:489
↓ 1 callers
Function
_prompt_disk_save
Persist ``prompt`` under ``key`` and prune old entries. Never raises.
backend/services/tts_backend.py:513
↓ 1 callers
Function
_provider_hint
``Provider · model`` for the openai-compat row, None for everything else.
backend/services/llm_backend.py:264
↓ 1 callers
Function
_prune_history_over_cap
Retention: keep the newest ``_history_cap()`` takes; delete the oldest UNstarred rows over the cap plus their WAVs (via the unreferenced guard).
backend/api/routers/generation.py:2390
↓ 1 callers
Function
_pruned
(age: str, pitch: str)
backend/core/archetypes.py:148
↓ 1 callers
Function
_ps1_source
()
tests/scripts/test_uninstall_ping.py:135
↓ 1 callers
Function
_public_routing_reason
Map a private routing diagnostic to an accurate stable category.
backend/api/public_engine_metadata.py:23
↓ 1 callers
Method
_publish_pending_session
( self, worker: registry.RemoteWorker, request: pb.RegisterRequest, *,
backend/worker/transport/server.py:845
↓ 1 callers
Method
_pump_incoming
( self, client: WorkerClient, request_iterator, session_id: str, key_i
backend/worker/inbound/listener.py:611
↓ 1 callers
Function
_purge
()
backend/tests/test_model_load_shutdown.py:60
↓ 1 callers
Function
_purge_backend_modules
Drop cached backend modules so the next import re-reads the CURRENT env — `core.config` caches DB_PATH/VOICES_DIR at import time. Same pattern
tests/smoke/test_boot_smoke.py:48
↓ 1 callers
Method
_push_event
(self, task_id, event_str)
backend/core/tasks.py:78
↓ 1 callers
Method
_push_inbound_inputs_until_terminated
Stop an in-flight user-input upload in the revocation turn.
backend/worker/transport/server.py:2654
↓ 1 callers
Method
_push_input_for_key
( self, request_iterator, context, key_id: str, state: dict )
backend/worker/inbound/listener.py:758
↓ 1 callers
Function
_push_with_declared_hash
Push bytes while declaring a hash that does not describe them.
tests/test_worker_inbound_transport.py:3126
↓ 1 callers
Method
_queue_capability_update
( self, session: _Session, capabilities: list[dict] )
backend/worker/transport/server.py:1956
↓ 1 callers
Method
_queue_heartbeat_touch
(self, session: _Session)
backend/worker/transport/server.py:1894
↓ 1 callers
Function
_quick
()
tests/test_shutdown_preload_race_1000.py:46
↓ 1 callers
Function
_ram_gb
()
backend/api/routers/setup/wizard.py:331
↓ 1 callers
Method
_rank
Strategy, then tiebreak. Warm-model affinity is the first tiebreak because it is worth more than any other factor here: a resident model
backend/worker/scheduler.py:532
↓ 1 callers
Method
_ranks_before
(a: Task, b: Task)
backend/worker/scheduler.py:500
↓ 1 callers
Method
_rate_locked
(self, now: float, bytes_done: int)
backend/utils/download_aggregator.py:95
↓ 1 callers
Function
_raw_weight
Pre-fix weighting: sum per-char weights WITHOUT NFC normalization. Calls the lru_cache-wrapped ``_get_char_weight`` via ``__wrapped__`` so the
tests/test_duration_nfc.py:21
↓ 1 callers
Function
_readEnvOverride
()
frontend/src/utils/apiBase.ts:61
↓ 1 callers
Function
_read_current_sha
Parse the current PINNED_REVISION_SHA from constants.py.
scripts/resolve_supertonic3_sha.py:58
← previous
next →
3,601–3,700 of 15,058, ranked by callers