MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

↓ 3 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_routes.py:36
↓ 3 callersFunction_tts_mod
()
tests/test_load_budget_split_1033.py:32
↓ 3 callersFunction_unique_stamp
Return a short unique suffix like '20260415T142301-ab12cd34' for export files.
backend/api/routers/dub_export.py:40
↓ 3 callersFunction_user_env
()
tests/test_user_env_authoritative.py:13
↓ 3 callersFunction_user_managed_dir
The user's own install dir when the env var points anywhere but the app-managed checkout; None for managed/unset (ours to provision).
backend/services/sidecar_install.py:453
↓ 3 callersFunction_validate_type_replacement
Raise 400 on a phoneme replacement that's obviously malformed. Respelling rows accept any text. IPA rows must be a non-empty string free of b
backend/api/routers/pronunciation.py:53
↓ 3 callersFunction_venv_bin
Path to an executable inside the SoniTranslate venv, cross-platform. Windows venvs put executables in Scripts\\ (with a .exe suffix); POSIX uses
backend/services/sonitranslate.py:34
↓ 3 callersFunction_venv_python_path
(venv_dir: Path)
backend/engines/confucius4/bootstrap.py:139
↓ 3 callersFunction_venv_python_path
Return the python executable path inside a venv directory. Handles the Unix (``bin/python``) vs Windows (``Scripts/python.exe``) layout. No f
backend/engines/moss_tts_v15/bootstrap.py:175
↓ 3 callersFunction_venv_python_path
Return the python executable path inside a venv directory. Handles the Unix (``bin/python``) vs Windows (``Scripts/python.exe``) layout. No f
backend/engines/indextts/bootstrap.py:180
↓ 3 callersFunction_venv_python_path
(venv_dir: Path)
backend/engines/dots_tts/bootstrap.py:153
↓ 3 callersFunction_versions_below_floors
(resolved, floors)
tests/test_dependency_security_floors.py:39
↓ 3 callersFunction_wav_bytes
()
backend/tests/test_archetypes_api.py:29
↓ 3 callersFunction_wav_bytes
(sec=0.1, sr=8000)
tests/test_stories_encode.py:22
↓ 3 callersFunction_wav_from_bytes
(data: bytes)
tests/test_synthetic_audio_watermark_1169.py:104
↓ 3 callersFunction_weights_present
True only for a COMPLETED weights download: the completion marker plus a sanity floor (the expected config + one ≥5 MB weight file — the same
backend/services/sidecar_install.py:874
↓ 3 callersFunction_words
Run _words_from_whisper convenience wrapper.
tests/test_segmentation.py:34
↓ 3 callersFunction_words_from_whisper
Extract word-level timing if available, otherwise fall back to chunk-level.
backend/services/segmentation.py:183
↓ 3 callersFunction_worker_wav
WAV bytes shaped like what a worker's `_encode` puts on the wire.
tests/test_generation_remote_routing.py:110
↓ 3 callersFunction_write_wav
(path, *, seconds=1.0, sr=16000, channels=1)
tests/test_persona_bundle.py:232
↓ 3 callersFunction_ytdlp_status
yt-dlp is a python module, not a binary — status reads its version without paying the full package import.
backend/services/media_tools.py:374
↓ 3 callersFunctionaccessibility_trusted
()
frontend/src-tauri/src/commands.rs:518
↓ 3 callersMethodactivate_session
Promote a captured candidate only after the frontend accepts its start event. This keeps an older transcribing session valid when a new press is ignor
frontend/src-tauri/src/dictation_output.rs:192
↓ 3 callersFunctionaggregateDeliveryKind
(current, next)
frontend/src/components/CaptureWidget.jsx:152
↓ 3 callersMethodallows
(self, worker_id: str, model_key: str, *, now: Optional[float] = None)
backend/worker/breaker.py:243
↓ 3 callersFunctionapply_shortcut_change
( replacement: &str, previous: &str, mut activate: A, persist: P, )
frontend/src-tauri/src/commands.rs:1096
↓ 3 callersFunctionarch_unsupported
``(device_arch, build_archs)`` when device 0's architecture is absent from this torch build's compiled arch list — i.e. kernels cannot launch
backend/core/device_caps.py:332
↓ 3 callersFunctionarch_unsupported
(torch)
tests/test_cuda_arch_compat.py:31
↓ 3 callersFunctionaudioFormatForMimeType
(mimeType)
frontend/src/utils/mediaRecorder.js:23
↓ 3 callersFunctionauthenticatedWsUrl
(path: string, options: CommonOptions)
frontend/src/api/authSession.ts:472
↓ 3 callersFunctionauthorization_header
(connection)
backend/core/auth.py:245
↓ 3 callersFunctionavailable_bytes
(path: &Path)
frontend/src-tauri/src/setup.rs:63
↓ 3 callersFunctionbackend_deep_healthy
Deep health probe for the attach-to-a-running-backend shortcut. `/health` and `/system/info` keep answering from a backend whose install was deleted
frontend/src-tauri/src/backend.rs:95
↓ 3 callersFunctionbackend_kill_intended
()
frontend/src-tauri/src/bootstrap.rs:796
↓ 3 callersFunctionbase_url
Where previews are published. Overridable for self-hosting and tests.
backend/services/gallery.py:350
↓ 3 callersFunctionbind_port
()
backend/worker/inbound/service.py:138
↓ 3 callersFunctionbrowserDownload
(url, fallbackName, deps = {})
frontend/src/utils/download.js:37
↓ 3 callersFunctionbuildPastePlan
(text, segments, opts = {})
frontend/src/utils/pasteTranslations.js:133
↓ 3 callersFunctionbuild_bundle
Build the zip and return its absolute path. ``include_network=False`` by default: the bundle is usually requested exactly when something is w
backend/core/diagnostic_bundle.py:51
↓ 3 callersFunctionbuild_concat_list
Build an ffmpeg concat-demuxer list. Single quotes in paths are escaped the ffmpeg way (``'`` → ``'\\''``) so paths can't break the list or inject
backend/services/longform_render.py:443
↓ 3 callersFunctionbuild_loudnorm_apply_filter
Second-pass (apply) loudnorm filter feeding the measured values back in. ``None`` for off/unknown preset OR when ``measured`` is None (so a caller
backend/services/longform_render.py:384
↓ 3 callersFunctionbuild_loudnorm_measure_filter
First-pass loudnorm filter (``print_format=json``) for ``preset``, or ``None`` for off/unknown — mirrors :func:`build_loudnorm_filter`'s lookup
backend/services/longform_render.py:326
↓ 3 callersFunctionbundled_tool_path
Path of an already-acquired bundled binary, or None. Never downloads.
backend/services/media_tools.py:172
↓ 3 callersMethodcache_signature
Deterministic content string folded into every cache key. Empty for a default instance (so unset → byte-identical keys to pre-#1208). Includes
backend/services/audiobook.py:103
↓ 3 callersMethodcalculate_total_weight
Sums up the normalized weights for a string. Text is NFC-normalized first so decomposed (NFD) input — a base letter followed by a com
omnivoice/utils/duration.py:204
↓ 3 callersFunctioncalibration_from_job
Build a Calibration from the ``seg_natural_durs_by_lang`` records dub_generate persists on the job. Tolerates any legacy/partial shape.
backend/services/duration_planner.py:116
↓ 3 callersFunctioncanvasRect
()
frontend/src/components/AudioTrimmer.jsx:337
↓ 3 callersFunctioncapture
Record one product event. A no-op unless the user opted in. Never raises.
backend/core/analytics.py:250
↓ 3 callersFunctioncb
(ev)
scripts/bench_incremental.py:83
↓ 3 callersMethodchat
One-shot chat completion. Returns the assistant content string. Raises on failure — callers decide whether to fallback gracefully. ``t
backend/services/llm_backend.py:57
↓ 3 callersFunctioncheckForUpdate
(store)
frontend/src/utils/updater.js:34
↓ 3 callersFunctioncheck_for_updates
Refresh the manifest at most once a day and re-fetch changed previews. Only previews **already cached** are re-fetched: the preview key is derive
backend/services/gallery.py:406
↓ 3 callersFunctionchunks
()
tests/test_worker_upload_server.py:261
↓ 3 callersFunctionclassifyError
(error: unknown)
frontend/src/utils/errorDocsMap.ts:53
↓ 3 callersFunctionclassify_exception
Best-effort classification of an exception into a stable class key. Pattern-matching on message text is inherently fuzzy — the goal is triage
backend/core/error_journal.py:116
↓ 3 callersFunctionclean_up_segments
Public entry: run merge + stitch passes on already-persisted segments. Used by the UI's "Clean up segments" action so users can repair jobs t
backend/services/segmentation.py:419
↓ 3 callersFunctionclearDubHistory
()
frontend/src/api/dub.ts:169
↓ 3 callersFunctionclearFrontendLogs
()
frontend/src/utils/consoleBuffer.js:67
↓ 3 callersFunctionclearSystemLogs
()
frontend/src/api/system.ts:182
↓ 3 callersFunctionclipboard_still_staged
(staged: &str, current: Option<&str>)
frontend/src-tauri/src/dictation_output.rs:672
↓ 3 callersFunctionclose
()
frontend/src/hooks/useDubWorkflow.js:246
↓ 3 callersFunctionclose
()
tests/frontend/devBackend.test.mjs:277
↓ 3 callersMethodclose
(self)
tests/test_worker_inbound_transport.py:3724
↓ 3 callersMethodcoerce
(cls, value: str)
backend/worker/deadlines.py:76
↓ 3 callersFunctioncomputePeaks
(audioBuffer, buckets = 240)
frontend/src/utils/media.js:62
↓ 3 callersFunctionconfig_path_for_machine
The per-user, platform-standard config path — never the portable one. `setup::record_portable_dir` needs to write specifically HERE: the portable con
frontend/src-tauri/src/config.rs:178
↓ 3 callersFunctionconfigurePersistenceRole
(nextRole: WritablePersistenceRole)
frontend/src/utils/coalescedJsonStorage.ts:440
↓ 3 callersFunctionconfigured_sources
Gallery sources, in priority order. Env var > config file > default.
backend/api/routers/community.py:82
↓ 3 callersMethodconfirm_activation
Publish readiness once Control proves the provisional session live.
backend/worker/transport/client.py:577
↓ 3 callersFunctionconsumeLongformStream
(res, onEvent, { isAborted, signal } = {})
frontend/src/utils/longformStream.js:35
↓ 3 callersFunctioncontactAge
(thenMs: number, nowMs: number = Date.now())
frontend/src/utils/backendContact.ts:66
↓ 3 callersFunctioncontained_child_exit
Observe an unexpected root death without a PID check/signal race. Unix leaves the root unreaped while signalling its still-reserved process group and
frontend/src-tauri/src/tools.rs:438
↓ 3 callersMethodcopy_only
(&self, session_id: u64, text: &str)
frontend/src-tauri/src/dictation_output.rs:448
↓ 3 callersFunctioncrashCauseHint
( marker: Pick<BackendCrashMarker, 'exit_code' | 'signal'> & Partial<Pick<BackendCrashMarker, 'last_stde
frontend/src/utils/backendCrash.ts:318
↓ 3 callersFunctioncreateBackendSupervisor
({ spawnBackend = () => spawn("uv", uvRunArgs(), { stdio: "inherit" }), watchBackend = (onChange) => w
scripts/dev-backend.mjs:122
↓ 3 callersMethodcreateBufferSource
()
frontend/src/test/playBlobAudioFallback.test.js:30
↓ 3 callersFunctioncreateCoalescedJsonStorage
( options: CoalescedJsonStorageOptions = {}, )
frontend/src/utils/coalescedJsonStorage.ts:92
↓ 3 callersMethodcreateGain
()
frontend/src/test/streamingTts.test.js:88
↓ 3 callersFunctioncreateInputLevelStore
(initialLevel = 0)
frontend/src/utils/audioInput.js:6
↓ 3 callersMethodcreate_stream
(self)
tests/test_sherpa_dictation.py:87
↓ 3 callersMethodcreate_voice_clone_prompt
Create a reusable voice clone prompt from reference audio. Args: ref_audio: File path (str) or ``(waveform, sample_rate)`` tuple.
omnivoice/models/omnivoice.py:741
↓ 3 callersFunctioncudnn8_lib_dir_and_pattern
The subdirectory (within `cudnn8_compat/`) actually holding the shared libraries, and the filename pattern that counts as "installed" — same glob scri
frontend/src-tauri/src/bootstrap.rs:1854
↓ 3 callersFunctioncudnn8_probe_marker
Marker recording a cached negative CUDA probe for this venv. Lives inside `.venv/` so a full venv rebuild ("Clean & Retry") clears it implicitly; anyt
frontend/src-tauri/src/bootstrap.rs:1911
↓ 3 callersFunctiondeleteProject
(id: string)
frontend/src/api/projects.ts:24
↓ 3 callersFunctiondemoted_models
Model ids observed to decode nothing on this machine.
backend/services/sherpa_dictation.py:419
↓ 3 callersFunctiondeploymentMode
()
frontend/src/utils/deploymentMode.ts:29
↓ 3 callersFunctiondescribeMicError
(err, platform = detectPlatform())
frontend/src/utils/micError.js:36
↓ 3 callersFunctiondescribe_host
Static facts about this machine, for registration.
backend/worker/transport/client.py:271
↓ 3 callersFunctiondescribe_path_target
Observable facts about where we were writing — "the folder does not exist", "the folder is not writable", "1,234 MB free on its drive". A bar
backend/core/failure.py:904
↓ 3 callersFunctiondesktopRuntimeReady
(options)
scripts/desktop-runtime-preflight.mjs:79
↓ 3 callersFunctiondetectPasteMode
(text)
frontend/src/utils/pasteTranslations.js:46
↓ 3 callersFunctiondetect_watermark
Detect whether audio contains a VoiceStudio watermark. Args: waveform: Audio tensor of shape (channels, samples) sample_rate
backend/services/watermark.py:492
↓ 3 callersFunctiondialectMatchesLang
( dialect: string | null | undefined, langCode: string | null | undefined, )
frontend/src/api/dialects.ts:30
↓ 3 callersFunctiondisableRemoteBackend
(reload: () => void | Promise<void>)
frontend/src/utils/remoteBackendProbe.ts:26
↓ 3 callersFunctiondisk_free_bytes
Free bytes on the volume backing *path* (defaults to the HF cache). Walks up to the nearest existing ancestor so a not-yet-created cache dir
backend/api/routers/setup/models.py:230
↓ 3 callersFunctiondisplay_accelerator
(accelerator: &str)
frontend/src-tauri/src/dictation_shortcut.rs:193
↓ 3 callersFunctiondubListTracks
(jobId: string)
frontend/src/api/dub.ts:194
↓ 3 callersFunctionencodeWav
(samples, sampleRate, channels = 1)
frontend/src/utils/audioTrim.js:7
↓ 3 callersFunctionengines
(active, backends)
frontend/src/test/generatePreflight.test.js:25
↓ 3 callersMethodestablish_session
Everything registration does once the worker is known to be genuine. Split out because inbound mode (NodeService.Attach) reaches this point
backend/worker/transport/server.py:806
← previousnext →1,501–1,600 of 15,058, ranked by callers