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
↓ 6 callers
Function
build_ffmetadata
Build an FFMETADATA1 doc: optional global tags + one ``[CHAPTER]`` per ``(title, duration_ms)``. START/END are cumulative millisecond offsets.
backend/services/longform_render.py:416
↓ 6 callers
Function
build_longform_library
Build the newest-first list of finished longform renders. Pure over the two job-store callables so tests can pass them directly: * ``list_jo
backend/api/routers/longform_jobs.py:69
↓ 6 callers
Function
claimTrackedPlayback
({ stop, source = 'audio', label = null, seek = null, pause = null, resume = null, } = {})
frontend/src/utils/playback.js:81
↓ 6 callers
Function
clearEntryTimers
(entry: PendingWrite)
frontend/src/utils/coalescedJsonStorage.ts:149
↓ 6 callers
Method
close
()
frontend/src/components/CaptureWidget.test.jsx:121
↓ 6 callers
Function
cuda_build_covers
(arch_list, major, minor)
tests/test_cuda_arch_compat.py:35
↓ 6 callers
Function
detect_speech_onset
Return the absolute time (s) of the first speech-like frame inside ``[start_s, end_s]``, or ``None`` when the window is empty / silent. "Spee
backend/services/onset_align.py:103
↓ 6 callers
Function
discardPendingWrites
(predicate: StorageKeyPredicate = () => true)
frontend/src/utils/coalescedJsonStorage.ts:416
↓ 6 callers
Method
discard_async
(self)
backend/worker/transport/server.py:551
↓ 6 callers
Method
discard_unopened_session
Forget a registration whose worker never confirmed acceptance.
backend/worker/transport/server.py:1328
↓ 6 callers
Function
dub_seg_path
Per-segment dub WAV path keyed by the STABLE segment id (not its list index), so partial regeneration reuses the right audio after a delete/me
backend/core/config.py:54
↓ 6 callers
Function
emit_log
(app: &tauri::AppHandle<R>, stage: &str, line: &str)
frontend/src-tauri/src/bootstrap.rs:122
↓ 6 callers
Function
exportReveal
(body: Record<string, unknown>)
frontend/src/api/exports.ts:11
↓ 6 callers
Function
fake_llm
(monkeypatch)
tests/test_duration_planner.py:243
↓ 6 callers
Function
find_ffprobe
Locate an ffprobe binary (legacy wrapper around :func:`resolve_ffprobe`). Falls back to deriving the path from ``find_ffmpeg()`` so the co-lo
backend/services/ffmpeg_utils.py:298
↓ 6 callers
Function
finish
(reason)
frontend/src/utils/media.js:122
↓ 6 callers
Function
flushApplicationPersistence
( dependencies: PersistenceFlushDependencies = {}, )
frontend/src/utils/persistenceLifecycle.ts:57
↓ 6 callers
Function
formatTime
(s)
frontend/src/utils/format.js:1
↓ 6 callers
Function
frames
()
tests/test_worker_server_integrity.py:1403
↓ 6 callers
Function
frames
()
tests/test_worker_inbound_transport.py:701
↓ 6 callers
Method
from_pretrained
(cls, pretrained_model_name_or_path, *args, **kwargs)
omnivoice/models/omnivoice.py:363
↓ 6 callers
Method
generate
(self, text: str, **kw)
backend/services/tts_backend.py:1650
↓ 6 callers
Method
generate
(self, text, **kw)
tests/backend/api/test_engines_route_shape.py:750
↓ 6 callers
Function
generate_with_cached_ref
``model.generate()`` with the reference clip encoded once, not once per call. The native (non-adapter) callers of the OmniVoice model — ``/genera
backend/services/tts_backend.py:608
↓ 6 callers
Function
get_db
()
backend/core/db.py:15
↓ 6 callers
Function
get_watermark_pool
Dedicated 1-worker pool for provenance marking. Built lazily so hosts with watermarking disabled never spawn the thread. The executor is capt
backend/services/model_manager.py:1238
↓ 6 callers
Function
guarded
(fn)
frontend/src/components/settings/InboundNodePanel.jsx:71
↓ 6 callers
Function
guarded
(fn)
frontend/src/components/settings/WorkersPanel.jsx:122
↓ 6 callers
Function
hf_cache_dir
()
backend/api/routers/setup/models.py:210
↓ 6 callers
Function
isChapterLine
(text)
frontend/src/utils/storyExport.js:67
↓ 6 callers
Function
is_local_host
(*args, **kwargs)
tests/test_loopback_server_mode.py:25
↓ 6 callers
Method
is_ready
(self, s)
tests/test_sherpa_dictation.py:90
↓ 6 callers
Method
kinds
(self)
tests/test_worker_client_liveness.py:95
↓ 6 callers
Method
lease_expired
(self, *, now: Optional[float] = None)
backend/worker/lifecycle.py:265
↓ 6 callers
Function
load
(attempt = 0)
frontend/src/components/settings/WatermarkControl.jsx:48
↓ 6 callers
Function
loadTranscriptions
()
frontend/src/utils/transcriptionsStore.js:15
↓ 6 callers
Function
load_active_asr_backend
:func:`get_active_asr_backend` + eager ``ensure_loaded()``, degrading past backends whose deep import chain is broken (#1185). ``is_available
backend/services/asr_backend.py:2625
↓ 6 callers
Method
locate
Return a selector that is currently visible, self-healing if needed.
tests/probe/web.py:171
↓ 6 callers
Function
make_room_before_generate
Free idle GPU memory before a warm, heavy generate (#730/#1190). The cold LOAD path already evicts (``_make_room_before_tts_load`` runs inside
backend/services/model_manager.py:2793
↓ 6 callers
Function
managed_root
Per-engine managed install root (checkout lives inside it).
backend/services/sidecar_install.py:180
↓ 6 callers
Function
measure
Decode once and compute every cheap stat the audio judges need.
tests/probe/judges/audio.py:47
↓ 6 callers
Function
micHintKey
(platform)
frontend/src/utils/micError.js:24
↓ 6 callers
Function
mint_enrollment_token
( *, endpoint: str, cert_fingerprint: str, ttl_seconds: int = _DEFAULT_TOKEN_TTL_SECONDS,
backend/worker/identity.py:224
↓ 6 callers
Method
model_dump
(self)
tests/test_asr_openai_compat_877.py:127
↓ 6 callers
Function
normalize_spdx
Return a safe SPDX id: the value if it's allowlisted or a ``LicenseRef-`` custom id, else :data:`DEFAULT_LICENSE`. Never raises, never 400s — a ju
backend/services/persona_bundle.py:68
↓ 6 callers
Function
normalizedApiBase
(raw: string)
frontend/src/api/authSession.ts:74
↓ 6 callers
Method
note_worker
(self, worker_id: str)
backend/worker/breaker.py:227
↓ 6 callers
Method
on_reconnected
Reconcile against what the worker says it is running. Returns attempt ids the worker should cancel — work we have already written off
backend/worker/scheduler.py:986
↓ 6 callers
Function
openBugReport
({ title, error } = {})
frontend/src/utils/bugReport.js:421
↓ 6 callers
Function
partition_batches
Split chunks into order-preserving batches of at most ``batch_size``.
backend/services/video_retime.py:126
↓ 6 callers
Function
pdf_to_chapter_script
Convert PDF bytes into a ``# Chapter`` / body script. Extracts the embedded text layer page-by-page (in page order), joins it, and runs it th
backend/services/longform_import.py:207
↓ 6 callers
Function
port_in_use
Just "something is listening on :port"
frontend/src-tauri/src/backend.rs:24
↓ 6 callers
Method
position
Return 0-indexed position among queued jobs, or -1 if not queued.
backend/core/job_queue.py:113
↓ 6 callers
Function
process_one
Computes WER and related metrics for a single hypothesis-truth pair. Args: hypothesis (str): The transcribed text from the ASR model
omnivoice/eval/wer/common.py:27
↓ 6 callers
Function
prune_cache_dir
Evict the oldest files in ``cache_dir`` until the total size is within ``max_bytes`` (LRU by mtime). The content-addressed render cache otherwise
backend/services/longform_render.py:72
↓ 6 callers
Function
public_exception_response
Return fixed remediation selected by a stable failure taxonomy. Classification may inspect the private diagnostic locally, but response value
backend/core/public_errors.py:146
↓ 6 callers
Function
public_failure
Log fixed failure metadata and return a fixed public failure message. ``response`` must be authored by VoiceStudio, never derived from ``error``.
backend/core/public_errors.py:119
↓ 6 callers
Method
quit
(&self)
frontend/src-tauri/tests/backend_lifecycle.rs:477
↓ 6 callers
Function
reap_idle_sidecars
Shut down sidecars idle longer than ``timeout_s``. Returns the count reaped. A non-positive timeout disables reaping (returns 0). Safe to call
backend/services/subprocess_backend.py:149
↓ 6 callers
Function
recent
Most recent errors first.
backend/core/error_journal.py:233
↓ 6 callers
Method
record_latency
Record a measured round trip and republish the median. Median, not mean: a consumer link jitters, and a worker busy loading a model a
backend/worker/pool.py:199
↓ 6 callers
Function
remove_silence_safe
Silence removal that can never consume the whole recording (issue #1188). :func:`remove_silence` detects speech against a fixed dBFS threshold. A
omnivoice/utils/audio.py:134
↓ 6 callers
Method
request
(self, *args, **kwargs)
tests/test_gptsovits_endpoint_security.py:78
↓ 6 callers
Function
resolve
Return the candidate SHA, or ``None`` if no commit matches. Walks up to ``max_commits`` commits newest-first. The first commit whose tree con
scripts/resolve_supertonic3_sha.py:104
↓ 6 callers
Method
restore
Reload tasks that were live when the control plane stopped. They are NOT failed on the way in — unlike local jobs, the machine doing
backend/worker/scheduler.py:426
↓ 6 callers
Function
revision_for
Return the immutable revision for a curated repo, or raise.
backend/services/hf_revisions.py:58
↓ 6 callers
Function
run
(body: dict)
tests/test_redub_incremental.py:221
↓ 6 callers
Function
score_dub
Match the second-pass recognition to the dub segments and score drift. ``dub_segments`` are the segments we generated (each {start, end, text});
backend/services/dub_qc.py:84
↓ 6 callers
Method
stop
(self)
backend/worker/inbound/service.py:797
↓ 6 callers
Function
stream_failure
Return stable stream metadata selected only from an internal code.
backend/core/public_errors.py:23
↓ 6 callers
Method
submit
(self, fn, /, *args, **kwargs)
backend/services/model_manager.py:151
↓ 6 callers
Method
supports
Can this worker run this work at all? ``supported`` alone is not enough — an engine whose weights are not on disk cannot start withou
backend/worker/pool.py:96
↓ 6 callers
Function
sync_packaged_frontend
Install the production SPA beside `backend/`, where the Python server's static-file mount resolves it for Network Sharing clients.
frontend/src-tauri/src/bootstrap.rs:1392
↓ 6 callers
Function
t
(key, opts)
frontend/src/components/clone/DesignMethodPanel.test.jsx:17
↓ 6 callers
Function
toMillis
(ts)
frontend/src/utils/relativeTime.js:28
↓ 6 callers
Function
trim_trailing_silence
Trim trailing near-silence from a generated clip, keeping a short natural tail of ``keep_tail_s`` seconds after the last voiced sample. Ampli
backend/services/audio_dsp.py:150
↓ 6 callers
Method
unload
(self)
tests/test_mm2_lifecycle.py:40
↓ 6 callers
Function
useDubWorkflow
({ loadProjects, loadProfiles, loadDubHistory, setLastGenFingerprints, })
frontend/src/hooks/useDubWorkflow.js:58
↓ 6 callers
Function
useSegmentEditing
()
frontend/src/hooks/useSegmentEditing.js:53
↓ 6 callers
Function
uv_subprocess_env
Environment for ``uv`` subprocesses that install into *cache_parent*'s volume. Returns ``None`` (inherit the parent environment untouched) when u
backend/services/sidecar_install.py:265
↓ 6 callers
Method
wait
(self, task_id, *, timeout)
tests/test_worker_service_api.py:651
↓ 6 callers
Function
warnFailure
(operation: string, error: unknown)
frontend/src/utils/longformPersistence.ts:334
↓ 6 callers
Method
worker_id_for
(self, key_id: str)
backend/worker/inbound/keys.py:339
↓ 5 callers
Method
__init__
(self, channels, se_bottleneck_dim=128)
omnivoice/eval/models/ecapa_tdnn_wavlm.py:261
↓ 5 callers
Function
_answer
(ip: str, port: int = 9880)
tests/test_gptsovits_endpoint_security.py:13
↓ 5 callers
Function
_api_get
(path: str)
backend/mcp_server.py:141
↓ 5 callers
Function
_apply_scene_cuts
Split segments at scene cuts only if both halves remain viable.
backend/services/segmentation.py:449
↓ 5 callers
Function
_assert_409
(r)
tests/test_asr_model_missing.py:287
↓ 5 callers
Function
_assert_ticket_index_consistent
(store: AdminSessionStore)
tests/test_admin_sessions.py:83
↓ 5 callers
Function
_audio_chunk
(n_bytes: int = 20_000)
tests/test_capture_ws.py:65
↓ 5 callers
Function
_best_boundary
Return a character offset to split at. Prefer sentence > clause > word. Scans the full text for each candidate class and picks the one whose offs
backend/services/segmentation.py:147
↓ 5 callers
Function
_chunks_to_wav
Concatenate audio chunks and write to a temp WAV file. Handles both raw PCM (from AudioWorklet) and WebM/Opus blobs (from MediaRecorder) by c
backend/api/routers/capture_ws.py:1216
↓ 5 callers
Function
_classify
(text)
tests/test_tls_dropped_classification.py:27
↓ 5 callers
Function
_client
()
tests/test_media_tools.py:57
↓ 5 callers
Function
_cols
(db_path, table="generation_history")
tests/test_generation_takes.py:55
↓ 5 callers
Method
_connect_once
(self)
backend/worker/inbound/connector.py:350
↓ 5 callers
Method
_contained_artifact
An artifact the worker names is only ever a reference into our own store, and is resolved as one.
backend/worker/transport/server.py:2560
↓ 5 callers
Function
_count
Patch the three eviction primitives and count how often each runs.
backend/tests/test_make_room_before_generate.py:17
↓ 5 callers
Function
_decode
(b64: str)
tests/test_sidecar_downmix_is_channel_aware.py:68
↓ 5 callers
Function
_dependency_names
(nodes: ast.AST | list[ast.AST])
tests/test_admin_route_policy.py:47
← previous
next →
701–800 of 15,058, ranked by callers