MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 6 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionclaimTrackedPlayback
({ stop, source = 'audio', label = null, seek = null, pause = null, resume = null, } = {})
frontend/src/utils/playback.js:81
↓ 6 callersFunctionclearEntryTimers
(entry: PendingWrite)
frontend/src/utils/coalescedJsonStorage.ts:149
↓ 6 callersMethodclose
()
frontend/src/components/CaptureWidget.test.jsx:121
↓ 6 callersFunctioncuda_build_covers
(arch_list, major, minor)
tests/test_cuda_arch_compat.py:35
↓ 6 callersFunctiondetect_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 callersFunctiondiscardPendingWrites
(predicate: StorageKeyPredicate = () => true)
frontend/src/utils/coalescedJsonStorage.ts:416
↓ 6 callersMethoddiscard_async
(self)
backend/worker/transport/server.py:551
↓ 6 callersMethoddiscard_unopened_session
Forget a registration whose worker never confirmed acceptance.
backend/worker/transport/server.py:1328
↓ 6 callersFunctiondub_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 callersFunctionemit_log
(app: &tauri::AppHandle<R>, stage: &str, line: &str)
frontend/src-tauri/src/bootstrap.rs:122
↓ 6 callersFunctionexportReveal
(body: Record<string, unknown>)
frontend/src/api/exports.ts:11
↓ 6 callersFunctionfake_llm
(monkeypatch)
tests/test_duration_planner.py:243
↓ 6 callersFunctionfind_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 callersFunctionfinish
(reason)
frontend/src/utils/media.js:122
↓ 6 callersFunctionflushApplicationPersistence
( dependencies: PersistenceFlushDependencies = {}, )
frontend/src/utils/persistenceLifecycle.ts:57
↓ 6 callersFunctionformatTime
(s)
frontend/src/utils/format.js:1
↓ 6 callersFunctionframes
()
tests/test_worker_server_integrity.py:1403
↓ 6 callersFunctionframes
()
tests/test_worker_inbound_transport.py:701
↓ 6 callersMethodfrom_pretrained
(cls, pretrained_model_name_or_path, *args, **kwargs)
omnivoice/models/omnivoice.py:363
↓ 6 callersMethodgenerate
(self, text: str, **kw)
backend/services/tts_backend.py:1650
↓ 6 callersMethodgenerate
(self, text, **kw)
tests/backend/api/test_engines_route_shape.py:750
↓ 6 callersFunctiongenerate_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 callersFunctionget_db
()
backend/core/db.py:15
↓ 6 callersFunctionget_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 callersFunctionguarded
(fn)
frontend/src/components/settings/InboundNodePanel.jsx:71
↓ 6 callersFunctionguarded
(fn)
frontend/src/components/settings/WorkersPanel.jsx:122
↓ 6 callersFunctionhf_cache_dir
()
backend/api/routers/setup/models.py:210
↓ 6 callersFunctionisChapterLine
(text)
frontend/src/utils/storyExport.js:67
↓ 6 callersFunctionis_local_host
(*args, **kwargs)
tests/test_loopback_server_mode.py:25
↓ 6 callersMethodis_ready
(self, s)
tests/test_sherpa_dictation.py:90
↓ 6 callersMethodkinds
(self)
tests/test_worker_client_liveness.py:95
↓ 6 callersMethodlease_expired
(self, *, now: Optional[float] = None)
backend/worker/lifecycle.py:265
↓ 6 callersFunctionload
(attempt = 0)
frontend/src/components/settings/WatermarkControl.jsx:48
↓ 6 callersFunctionloadTranscriptions
()
frontend/src/utils/transcriptionsStore.js:15
↓ 6 callersFunctionload_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 callersMethodlocate
Return a selector that is currently visible, self-healing if needed.
tests/probe/web.py:171
↓ 6 callersFunctionmake_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 callersFunctionmanaged_root
Per-engine managed install root (checkout lives inside it).
backend/services/sidecar_install.py:180
↓ 6 callersFunctionmeasure
Decode once and compute every cheap stat the audio judges need.
tests/probe/judges/audio.py:47
↓ 6 callersFunctionmicHintKey
(platform)
frontend/src/utils/micError.js:24
↓ 6 callersFunctionmint_enrollment_token
( *, endpoint: str, cert_fingerprint: str, ttl_seconds: int = _DEFAULT_TOKEN_TTL_SECONDS,
backend/worker/identity.py:224
↓ 6 callersMethodmodel_dump
(self)
tests/test_asr_openai_compat_877.py:127
↓ 6 callersFunctionnormalize_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 callersFunctionnormalizedApiBase
(raw: string)
frontend/src/api/authSession.ts:74
↓ 6 callersMethodnote_worker
(self, worker_id: str)
backend/worker/breaker.py:227
↓ 6 callersMethodon_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 callersFunctionopenBugReport
({ title, error } = {})
frontend/src/utils/bugReport.js:421
↓ 6 callersFunctionpartition_batches
Split chunks into order-preserving batches of at most ``batch_size``.
backend/services/video_retime.py:126
↓ 6 callersFunctionpdf_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 callersFunctionport_in_use
Just "something is listening on :port"
frontend/src-tauri/src/backend.rs:24
↓ 6 callersMethodposition
Return 0-indexed position among queued jobs, or -1 if not queued.
backend/core/job_queue.py:113
↓ 6 callersFunctionprocess_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 callersFunctionprune_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 callersFunctionpublic_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 callersFunctionpublic_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 callersMethodquit
(&self)
frontend/src-tauri/tests/backend_lifecycle.rs:477
↓ 6 callersFunctionreap_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 callersFunctionrecent
Most recent errors first.
backend/core/error_journal.py:233
↓ 6 callersMethodrecord_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 callersFunctionremove_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 callersMethodrequest
(self, *args, **kwargs)
tests/test_gptsovits_endpoint_security.py:78
↓ 6 callersFunctionresolve
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 callersMethodrestore
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 callersFunctionrevision_for
Return the immutable revision for a curated repo, or raise.
backend/services/hf_revisions.py:58
↓ 6 callersFunctionrun
(body: dict)
tests/test_redub_incremental.py:221
↓ 6 callersFunctionscore_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 callersMethodstop
(self)
backend/worker/inbound/service.py:797
↓ 6 callersFunctionstream_failure
Return stable stream metadata selected only from an internal code.
backend/core/public_errors.py:23
↓ 6 callersMethodsubmit
(self, fn, /, *args, **kwargs)
backend/services/model_manager.py:151
↓ 6 callersMethodsupports
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 callersFunctionsync_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 callersFunctiont
(key, opts)
frontend/src/components/clone/DesignMethodPanel.test.jsx:17
↓ 6 callersFunctiontoMillis
(ts)
frontend/src/utils/relativeTime.js:28
↓ 6 callersFunctiontrim_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 callersMethodunload
(self)
tests/test_mm2_lifecycle.py:40
↓ 6 callersFunctionuseDubWorkflow
({ loadProjects, loadProfiles, loadDubHistory, setLastGenFingerprints, })
frontend/src/hooks/useDubWorkflow.js:58
↓ 6 callersFunctionuseSegmentEditing
()
frontend/src/hooks/useSegmentEditing.js:53
↓ 6 callersFunctionuv_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 callersMethodwait
(self, task_id, *, timeout)
tests/test_worker_service_api.py:651
↓ 6 callersFunctionwarnFailure
(operation: string, error: unknown)
frontend/src/utils/longformPersistence.ts:334
↓ 6 callersMethodworker_id_for
(self, key_id: str)
backend/worker/inbound/keys.py:339
↓ 5 callersMethod__init__
(self, channels, se_bottleneck_dim=128)
omnivoice/eval/models/ecapa_tdnn_wavlm.py:261
↓ 5 callersFunction_answer
(ip: str, port: int = 9880)
tests/test_gptsovits_endpoint_security.py:13
↓ 5 callersFunction_api_get
(path: str)
backend/mcp_server.py:141
↓ 5 callersFunction_apply_scene_cuts
Split segments at scene cuts only if both halves remain viable.
backend/services/segmentation.py:449
↓ 5 callersFunction_assert_409
(r)
tests/test_asr_model_missing.py:287
↓ 5 callersFunction_assert_ticket_index_consistent
(store: AdminSessionStore)
tests/test_admin_sessions.py:83
↓ 5 callersFunction_audio_chunk
(n_bytes: int = 20_000)
tests/test_capture_ws.py:65
↓ 5 callersFunction_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 callersFunction_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 callersFunction_classify
(text)
tests/test_tls_dropped_classification.py:27
↓ 5 callersFunction_client
()
tests/test_media_tools.py:57
↓ 5 callersFunction_cols
(db_path, table="generation_history")
tests/test_generation_takes.py:55
↓ 5 callersMethod_connect_once
(self)
backend/worker/inbound/connector.py:350
↓ 5 callersMethod_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 callersFunction_count
Patch the three eviction primitives and count how often each runs.
backend/tests/test_make_room_before_generate.py:17
↓ 5 callersFunction_decode
(b64: str)
tests/test_sidecar_downmix_is_channel_aware.py:68
↓ 5 callersFunction_dependency_names
(nodes: ast.AST | list[ast.AST])
tests/test_admin_route_policy.py:47
← previousnext →701–800 of 15,058, ranked by callers