MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 4 callersFunction_stamp
(db_path, rev)
tests/test_generation_takes.py:46
↓ 4 callersMethod_sweep_locked
(self, now: float, *, retry_orphans: bool = True)
backend/worker/inbound/artifacts.py:171
↓ 4 callersMethod_sync_key_locked
(self, api_key: str | None)
backend/services/admin_sessions.py:154
↓ 4 callersMethod_thread_call
(self, function, /, *args)
backend/worker/executor.py:742
↓ 4 callersFunction_torch_mock
Minimal torch mock — just enough accelerator shape for the override tests (test_device_caps.py owns the full degradation matrix).
tests/test_device_override.py:19
↓ 4 callersFunction_track_samples
(job_dir)
tests/test_smart_fit_generate.py:158
↓ 4 callersFunction_tts_mod
()
tests/test_pyvideotrans_contract.py:35
↓ 4 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_perf_operation_budgets.py:51
↓ 4 callersFunction_tts_mod
()
tests/test_chunked_tts.py:184
↓ 4 callersFunction_tts_mod
()
tests/test_profile_language_propagation.py:25
↓ 4 callersFunction_tts_mod
Resolve services.tts_backend at RUN time — see test_generate_engine.py's docstring for why (sys.modules pre-pollution across the collected suite).
tests/test_dub_batch_engine_selection.py:36
↓ 4 callersFunction_update_status
(job_id: str, status: str, *, finished: bool = False, error: Optional[str] = None)
backend/core/job_store.py:65
↓ 4 callersFunction_upload
(name: str, data: bytes)
tests/test_audiobook_cover.py:18
↓ 4 callersMethod_valid_token
(token: str | None, prefix: str)
backend/services/admin_sessions.py:170
↓ 4 callersFunction_watch_free_vram
Record what the shared ref held at each free_vram() call. ``manager`` is explicit because other suites reimport services.model_manager, so mo
tests/test_mm2_lifecycle.py:321
↓ 4 callersFunction_with_disk
(monkeypatch, total, used, free)
tests/test_storage_report.py:185
↓ 4 callersFunction_wm
Resolve services.watermark at RUN time (test_generate_engine.py idiom): tests/backend/** and tests/smoke/** purge + re-import the services tree
tests/test_synthetic_audio_watermark_1169.py:44
↓ 4 callersFunction_workers_for_free_vram
GPU worker count for a given free-VRAM figure: free // per-job budget, floored at 1 and capped at _GPU_WORKER_CAP. Pure so the sizing policy is
backend/services/model_manager.py:159
↓ 4 callersFunction_write
(path, signal, sr=24000)
tests/probe/test_probe_judges.py:19
↓ 4 callersFunction_write_json_atomic
Atomic write (same pattern as core.prefs) — a process dying mid-flush must not leave a torn sentinel that the next startup misreads.
backend/core/run_sentinel.py:102
↓ 4 callersFunctionabsoluteTime
(ts)
frontend/src/utils/relativeTime.js:76
↓ 4 callersMethodaccept_registration
(self, _response)
tests/test_worker_inbound_transport.py:666
↓ 4 callersMethodaccept_waveform
(self, sr, samples)
tests/test_sherpa_dictation.py:35
↓ 4 callersFunctionadd_no_window_flag
Return ``kwargs`` with ``CREATE_NO_WINDOW`` OR-ed into ``creationflags``. Left unchanged when the caller explicitly requested a visible console
backend/core/win_subprocess.py:39
↓ 4 callersFunctionanalytics_env
Analytics env for the spawned backend: destination override + install channel. `core/analytics.py` ships an in-repo publishable default token (#1193)
frontend/src-tauri/src/backend.rs:467
↓ 4 callersFunctionartifact_root
The directory the control plane serves artifacts from. Imported lazily: ``worker.service`` owns the layout, and a module-level import here wo
backend/worker/task_store.py:203
↓ 4 callersFunctionascii_filename
A latin-1-safe rendering of *filename* for the legacy ``filename=``. Accented Latin is folded to its base letters (``Sébastien`` → ``Sebastie
backend/core/http_headers.py:46
↓ 4 callersFunctionaudioUrl
(filename: string)
frontend/src/api/generate.ts:66
↓ 4 callersFunctionaudiobook_cover
Upload a cover image; returns a server-side ``path`` to pass back as ``cover_path`` in the synth request. Validated here (jpg/png + size cap) and
backend/api/routers/audiobook.py:197
↓ 4 callersFunctionauto_profile_id
Stable profile id prefix so `_gen` can tell auto-clones apart from persistent voice-profile ids.
backend/services/speaker_clone.py:414
↓ 4 callersFunctionbackoff_delay
Exponential backoff with full jitter, bounded. Full jitter rather than a fixed fraction: with several workers behind the same router, a deter
backend/worker/transport/client.py:174
↓ 4 callersFunctionbelongsToCheckout
( cwd, command, executable, windows = process.platform === "win32", checkoutRoot = CHECKOUT_ROOT, )
scripts/clear-dev-ports.mjs:75
↓ 4 callersFunctionbootstrapApp
()
frontend/src/main-app.jsx:77
↓ 4 callersFunctionbuildDesignInstruct
(vdStates = {}, freeText = '')
frontend/src/utils/voiceInstruct.js:33
↓ 4 callersFunctionbuild_cast_sources
Return path-free metadata for every usable ``From video`` voice. A trusted diarizer can produce a pooled per-speaker clone. When it cannot,
backend/services/speaker_clone.py:420
↓ 4 callersFunctionbuild_refinement_prompt
Assemble the system prompt for a given flag combination.
backend/services/refinement.py:247
↓ 4 callersFunctionbundled_dir
()
backend/services/media_tools.py:151
↓ 4 callersFunctioncache_is_complete
True when this model's on-disk cache is usable (not a truncated download). Config-only repos (``config_only: true`` in models.yaml — e.g. pyannot
backend/api/routers/setup/models.py:371
↓ 4 callersFunctioncancelPending
(key: string)
frontend/src/utils/coalescedJsonStorage.ts:156
↓ 4 callersFunctioncheckMicrophone
()
frontend/src/utils/permissions.js:52
↓ 4 callersFunctionclone
(value: T)
frontend/src/utils/longformPersistence.test.ts:15
↓ 4 callersMethodclose
End this process without revoking reconnectable remote work.
backend/worker/inbound/connector.py:255
↓ 4 callersMethodclose_async
(self)
backend/worker/transport/server.py:548
↓ 4 callersFunctioncompactEnvelope
(value: StorageValue<S>)
frontend/src/utils/longformPersistence.ts:209
↓ 4 callersFunctioncompactLongformState
(stateValue: unknown)
frontend/src/utils/longformPersistence.ts:135
↓ 4 callersFunctioncompute_plan
Summarise a snapshot_download(dry_run=True) result into the install_plan payload (FDL-05): total bytes, bytes already cached (skipped), bytes that
backend/api/routers/setup/download.py:130
↓ 4 callersFunctionconfig_path
(app: &tauri::AppHandle<R>)
frontend/src-tauri/src/config.rs:141
↓ 4 callersMethodconfigurePersistenceRole
(role: WritablePersistenceRole)
frontend/src/utils/coalescedJsonStorage.ts:62
↓ 4 callersFunctionconnect
()
frontend/src/components/settings/InboundNodePanel.jsx:121
↓ 4 callersFunctionconnector
()
tests/test_worker_inbound_transport.py:3637
↓ 4 callersFunctioncrashAge
(marker: Pick<BackendCrashMarker, 'ts'>, nowMs = Date.now())
frontend/src/utils/backendCrash.ts:395
↓ 4 callersFunctiondecide
Where this job runs, decided **once**. Callers pass the result to ``prewarm`` and ``run`` rather than calling this per step: the target is us
backend/services/gpu_gateway.py:304
↓ 4 callersMethoddecodeAudioData
()
frontend/src/test/playBlobAudioFallback.test.js:27
↓ 4 callersMethoddecode_stream
(self, s)
tests/test_sherpa_dictation.py:95
↓ 4 callersFunctiondefaultWindow
()
frontend/src/api/authSession.ts:54
↓ 4 callersFunctiondescribe_exception
``str(exc)`` in a form a human can act on. #1252/#1253: a dub ingest failed with the toast ``ingest: 'mgw39lx3'`` and nothing else — the enti
backend/core/failure.py:938
↓ 4 callersFunctiondetectHints
(message, logs = [])
frontend/src/components/BootstrapSplash.jsx:132
↓ 4 callersFunctiondictation_model_id
The selected sherpa dictation model id, or None when dictation is off / no sherpa model is chosen. Env var wins (power-user pin), then prefs.
backend/services/asr_backend.py:2887
↓ 4 callersFunctiondisableAnalytics
()
frontend/src/utils/analytics.ts:139
↓ 4 callersMethoddiscard_input
Discard one uncommitted upload and release its byte reservation.
backend/worker/inbound/artifacts.py:734
↓ 4 callersFunctiondispatch_dictation_capture
(app: &tauri::AppHandle, action: &str)
frontend/src-tauri/src/lib.rs:141
↓ 4 callersFunctiondownloadKey
(target, repoId)
frontend/src/components/settings/models/downloadReducer.js:20
↓ 4 callersFunctiondownloadMedia
(url, fallbackName, opts = {})
frontend/src/utils/mediaDownload.js:65
↓ 4 callersFunctioneffectiveProfile
(track, cast)
frontend/src/utils/storyCast.js:29
↓ 4 callersFunctionentries_for_language
Collapse DB rows into a ``{term: replacement}`` map for ``apply_lexicon``. Filters to ``enabled`` rows whose scope is global (``*``) OR whose lan
backend/services/pronunciation.py:179
↓ 4 callersMethodestimate_duration
Args: target_text (str): The text for which we want to estimate the duration. ref_text (str): The reference text tha
omnivoice/utils/duration.py:217
↓ 4 callersFunctionexchangeApiKey
( apiKey: string, { apiBase, fetchImpl = fetch, storage = defaultSessionStorage(), windowL
frontend/src/api/authSession.ts:257
↓ 4 callersMethodexecution_device
Device used by the exact capability selected for this task.
backend/worker/pool.py:113
↓ 4 callersFunctionexpected_duration
Rough CPS-based duration estimate. Returns seconds.
backend/services/speech_rate.py:75
↓ 4 callersMethodexpire_zombies
Reclaim parks whose TTL ran out. Returns how many came back. The backstop that keeps a timeout from costing a worker permanently: the
backend/worker/capacity.py:262
↓ 4 callersFunctionexternalize_long_filter_complex
If ``cmd``'s total length exceeds ``limit`` and it carries a -filter_complex graph, move the graph into a temp file and switch the flag to -fi
backend/services/ffmpeg_utils.py:628
↓ 4 callersFunctionextractLongformPayload
(stateValue: unknown)
frontend/src/utils/longformPersistence.ts:126
↓ 4 callersFunctionextract_speaker_clones
Build a per-speaker reference sample from `vocals_path` + `segments`. Returns a dict keyed by `speaker_id`: { "Speaker 1": {
backend/services/speaker_clone.py:58
↓ 4 callersFunctionfallback_html
Self-contained failure page. Inlined into the binary and injected straight into the DOM: no navigation, no network, no bundle — so whatever broke the
frontend/src-tauri/src/blank_guard.rs:106
↓ 4 callersMethodfinish_session
(&self, session_id: u64)
frontend/src-tauri/src/dictation_output.rs:339
↓ 4 callersFunctionfitted_cues
Return ``[(start, end), ...]`` for each segment on the fitted timeline. Monotonicity guard: a cue's end is never before its start, and successive
backend/services/fitted_subtitles.py:49
↓ 4 callersMethodflushPendingWrites
()
frontend/src/utils/longformPersistence.ts:76
↓ 4 callersFunctionfmtBytes
(n)
frontend/src/components/settings/models/format.js:3
↓ 4 callersFunctiongallery_root
Directory holding the verified manifest, its signature, and the MP3s.
backend/services/gallery.py:120
↓ 4 callersFunctiongetApiBase
()
frontend/src/utils/apiBase.ts:67
↓ 4 callersFunctionget_active_tts_backend
Return the configured backend, reusing a cached instance and releasing the previous engine on a switch (MM2-01). Rule: the cache tracks the c
backend/services/tts_backend.py:2614
↓ 4 callersFunctionget_effective_region
Get the effective region string, resolving "auto" to a concrete region.
frontend/src-tauri/src/config.rs:270
↓ 4 callersFunctionget_spec
(engine_id: str)
backend/services/sidecar_install.py:166
↓ 4 callersMethodgetresponse
(self)
tests/test_gptsovits_endpoint_security.py:81
↓ 4 callersFunctiongotoMode
(page: Page, mode: string)
frontend/e2e/_helpers.ts:54
↓ 4 callersFunctionhandler
()
frontend/src/pages/Projects.jsx:163
↓ 4 callersFunctionhf_mirror_hint
Actionable hint when ``reason`` is an HF-download connectivity failure and a non-default mirror endpoint is configured; "" otherwise. The hin
backend/core/failure.py:235
↓ 4 callersFunctioninject_api_base
Insert `window.__OMNIVOICE_API_BASE__` right after the SPA's <head>. `api_base` is JSON-encoded (neutralising quotes); the caller is expected to
backend/core/spa_inject.py:25
↓ 4 callersFunctioninstruct_from_vd_states
Rebuild a validator-safe instruct from a design profile's ``vd_states``. ``vd_states`` is the authoritative category→pick map the Voice Design pi
omnivoice/utils/voice_design.py:119
↓ 4 callersMethodinstruct_prompt
Flatten into a TTS instruct string. Order: emotion, energy, pace, intimacy, formality.
backend/services/director.py:85
↓ 4 callersFunctionisTauri
()
frontend/src/components/settings/native.js:4
↓ 4 callersFunctionis_cached
Best-effort check: does HF have this repo in its cache on disk?
backend/api/routers/setup/models.py:452
↓ 4 callersFunctionis_vfr
True when the container's nominal and average frame rates disagree by more than 0.1% — the practical signature of variable frame rate.
backend/services/video_retime.py:213
↓ 4 callersMethodissue_ws_ticket_for_credential
( self, credential_id: str | None, path: str, api_key: str | None, )
backend/services/admin_sessions.py:299
↓ 4 callersFunctionkeepalive_interval
How often a running task must renew its progress lease. A third of the lease, so two consecutive frames can be lost — to a stalled outbox, a
backend/worker/transport/client.py:145
↓ 4 callersMethodkill
(self)
backend/tests/test_contained_subprocess.py:241
↓ 4 callersMethodkill_tracked_child
(&self)
frontend/src-tauri/tests/backend_lifecycle.rs:454
↓ 4 callersFunctionlastBackendContact
()
frontend/src/utils/backendContact.ts:41
↓ 4 callersFunctionlist_effect_presets
Return presets for the frontend UI picker.
backend/services/audio_dsp.py:87
↓ 4 callersFunctionload_lexicon
Load + normalize a lexicon from a JSON file. A missing file, empty file, or non-object JSON yields ``{}`` rather than raising — a project sim
backend/services/pronunciation.py:118
← previousnext →1,101–1,200 of 15,058, ranked by callers