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
_main
(args: argparse.Namespace)
scripts/render_gallery.py:176
↓ 1 callers
Function
_main
()
tests/evals/run_evals.py:61
↓ 1 callers
Method
_maintenance_finished
( self, session: _Session, task: asyncio.Task, attribute: str )
backend/worker/transport/server.py:1817
↓ 1 callers
Function
_make_engine
A registry-real fake engine (same harness shape as tests/test_text_normalization_routes.py) that counts its unloads.
tests/test_openai_speech_engine_cache.py:83
↓ 1 callers
Function
_make_existing_artifact_durable
(path: str)
backend/worker/transport/server.py:219
↓ 1 callers
Function
_make_fake_batch_engine
()
tests/test_perf_operation_budgets.py:358
↓ 1 callers
Function
_make_fake_engine
()
tests/test_text_normalization_routes.py:42
↓ 1 callers
Function
_make_fake_engine
(engine_id, *, supports_cloning=True, available=True, own_mastering=False, gpu_compat=(
tests/test_dub_batch_engine_selection.py:42
↓ 1 callers
Function
_make_fake_engine
()
tests/test_text_normalization.py:293
↓ 1 callers
Function
_make_fake_stream_engine
()
tests/test_perf_operation_budgets.py:60
↓ 1 callers
Function
_make_featured
()
backend/core/archetypes.py:299
↓ 1 callers
Function
_make_multilingual
Build the featured archetypes for the non-EN/ZH languages. Cross-products ``_ML_SAMPLES`` (one localized preview script per language) with ``
backend/core/archetypes.py:353
↓ 1 callers
Function
_make_sine_wav
(path: Path, duration: float)
tests/test_smart_fit_export.py:387
↓ 1 callers
Function
_make_test_video
(path: Path, duration: float = 10.0)
tests/test_smart_fit_export.py:377
↓ 1 callers
Function
_make_wav
(path: Path, seconds: float = 0.5, sr: int = 16000)
tests/test_dub_no_tts_load_for_asr.py:30
↓ 1 callers
Function
_make_wav
(path: Path, seconds: float, sr: int = 16000)
tests/test_funasr_global_speaker_chunking.py:22
↓ 1 callers
Function
_make_wav
(path, seconds=1.0, rate=16000)
tests/test_tts_placement_self_heal.py:194
↓ 1 callers
Function
_make_wav
(path: Path, seconds: float = 0.5, sr: int = 16000)
tests/test_dub_export_unique.py:20
↓ 1 callers
Function
_make_wav
(path: Path, seconds: float = 1.0, sr: int = 16000)
tests/test_speaker_hint.py:44
↓ 1 callers
Function
_manifest_url
(source: str)
backend/api/routers/community.py:103
↓ 1 callers
Function
_mask
`hf_…<last 3>` — what the Settings UI shows in the "currently set" field. We never reveal the full token in any read API.
backend/services/token_resolver.py:140
↓ 1 callers
Function
_mask
(secret: str | None)
backend/api/routers/settings.py:315
↓ 1 callers
Function
_mask_token
Belt-and-suspenders token redaction. Used on captured stderr before it lands in any logger record.
backend/engines/omnivoice_gguf/backend.py:85
↓ 1 callers
Method
_mass_failure
Are we watching an infrastructure event rather than bad workers?
backend/worker/breaker.py:282
↓ 1 callers
Function
_match_category
Return (token, match) for the first rule with a hit, else None. Rule order decides the winning token; within the winning rule the earliest oc
backend/core/describe_voice.py:259
↓ 1 callers
Function
_materialize_design_sample
Render a design profile's pending identity sample on first request. Returns the stored filename on success, or None if this isn't a renderable
backend/api/routers/profiles.py:310
↓ 1 callers
Function
_materialize_gallery_profile
Idempotently materialize/heal one My Imports clip as a clone profile.
backend/api/routers/gallery.py:463
↓ 1 callers
Method
_materialize_inputs
Turn declared inputs into local files, then point the params at them. The control plane sends artifact ids, never paths — its own paths mean
backend/worker/executor.py:384
↓ 1 callers
Function
_materialize_item_audio
Copy the current manifest audio, optionally staging it for a later CAS.
backend/api/routers/community.py:700
↓ 1 callers
Function
_materialized_audio_is_current
Whether an existing row still has the sample described by its metadata.
backend/api/routers/archetypes.py:85
↓ 1 callers
Method
_may_read_input
Does this live attempt's task declare the exact requested input?
backend/worker/transport/server.py:3455
↓ 1 callers
Method
_maybe_aggressive_first_flush
Try to flush the first clause of the response on a soft punctuation boundary (comma / em-dash / en-dash) to minimise TTFA. Returns th
backend/services/sentence_chunker.py:475
↓ 1 callers
Function
_maybe_cinematic
Post-process a literal translation into Cinematic/Autofit output. Runs for EVERY provider now (Argos/NLLB/Google/…/OpenAI). The three LLM-ind
backend/api/routers/dub_translate.py:929
↓ 1 callers
Method
_maybe_short_flush
Emit the buffer when it's a short, complete single-sentence utterance. A buffer qualifies when **all** of these hold: 1. Last non-wh
backend/services/sentence_chunker.py:401
↓ 1 callers
Function
_measure_vram_mb
CPU-only engine: always 0. Kept for protocol parity with the parent.
backend/engines/pockettts/main.py:130
↓ 1 callers
Function
_measure_vram_mb
()
backend/engines/confucius4/main.py:69
↓ 1 callers
Function
_measure_vram_mb
This sidecar's own GPU memory in MB. 0 on CPU. Never raises.
backend/engines/omnivoice_subprocess/main.py:86
↓ 1 callers
Function
_measure_vram_mb
This sidecar's own GPU memory in MB (MM2-08). The parent can't see a child's VRAM, so we self-report it in the pong. 0 on CPU. Never raises.
backend/engines/moss_tts_v15/main.py:118
↓ 1 callers
Function
_measure_vram_mb
This sidecar's own GPU memory in MB, for the loaded-models panel (MM2-08). The parent can't see a child's VRAM, so we self-report it in the po
backend/engines/indextts/main.py:80
↓ 1 callers
Function
_measure_vram_mb
This sidecar's own GPU memory in MB (MM2-08). 0 on CPU. Never raises.
backend/engines/dots_tts/main.py:82
↓ 1 callers
Function
_merge
(a: Seg, b: Seg)
backend/services/subtitle_segmenter.py:288
↓ 1 callers
Function
_merge
(manifests: list[tuple[str, Optional[dict]]])
backend/api/routers/community.py:240
↓ 1 callers
Function
_merge_tiny_neighbours
Fold segments shorter than MIN_DURATION_S / MIN_CHARS into their nearest in-sentence neighbour, as long as the merge doesn't violate MAX_
backend/services/subtitle_segmenter.py:248
↓ 1 callers
Function
_merge_unspeakable
Fold chunks with nothing to say into their neighbour (#1330). A boundary can land so that the tail becomes a chunk of pure punctuation — ``'.
backend/services/chunked_tts.py:137
↓ 1 callers
Function
_messages
()
tests/test_worker_transport.py:1036
↓ 1 callers
Function
_migrate
Apply migrations sequentially. Return new version.
backend/core/db.py:309
↓ 1 callers
Function
_missing_module_is_omnivoice
True when *exc* says the ``omnivoice`` package itself is not importable. ``ModuleNotFoundError`` is raised for two very different situations alon
backend/services/model_manager.py:30
↓ 1 callers
Function
_model_config_name
Pocket-tts config name to load: the 6-layer default, or the 24-layer checkpoint when OMNIVOICE_POCKETTTS_24L is set and one exists for the lan
backend/engines/pockettts/main.py:172
↓ 1 callers
Function
_model_display_name
(dir_name: str)
backend/services/storage_report.py:173
↓ 1 callers
Function
_model_init_kwargs
Build version-specific constructor arguments for IndexTTS 2.5 or 2.
backend/engines/indextts/main.py:240
↓ 1 callers
Function
_model_load_timeout
()
backend/services/gpu_gateway.py:946
↓ 1 callers
Method
_model_scale
(cls, model_name: str)
backend/services/asr_backend.py:551
↓ 1 callers
Function
_model_source
Return a pinned model source; custom remote code requires two opt-ins.
backend/engines/moss_tts_v15/main.py:60
↓ 1 callers
Function
_module_file
Map `omnivoice.models.omnivoice` to its file in the vendored package.
tests/test_vendored_omnivoice_imports_1417.py:35
↓ 1 callers
Function
_moshi_compile_module
AudioSeal's vendored moshi compile switch module, or None. Resolved per call rather than at import: ``_check_available()`` is what guarantees
backend/services/watermark.py:85
↓ 1 callers
Function
_moss_candidate_exports
Public names on ``module`` that look like a model class — so the error can say what IS there instead of only what is missing.
backend/services/tts_backend.py:1163
↓ 1 callers
Function
_mount_point
Mount point of the volume holding ``path`` (best-effort, cheap).
backend/services/storage_report.py:93
↓ 1 callers
Function
_ms_to_s
Milliseconds → seconds (FunASR reports ms). None on bad input.
backend/services/asr_backend.py:1851
↓ 1 callers
Function
_mtime
(path: str)
backend/core/db_backup.py:72
↓ 1 callers
Function
_mutating_route_functions
( tree: ast.Module, )
tests/test_admin_route_policy.py:62
↓ 1 callers
Function
_mux_preview
()
backend/api/routers/dub_export.py:1091
↓ 1 callers
Function
_named_literal
(p: Path, name: str)
tests/test_app_version.py:55
↓ 1 callers
Function
_native_batch_width
How many segments to render in one native batch on THIS host. A native batch widens the forward pass, so the width cannot be a constant. The
backend/api/routers/batch.py:115
↓ 1 callers
Function
_nearest_existing
Deepest existing ancestor of *path* (the target may not exist yet).
backend/services/sidecar_install.py:229
↓ 1 callers
Function
_network_check
The preflight "network" check row — auto-race or explicit-endpoint probe. Auto mode (nothing explicitly configured): force a fresh endpoint race
backend/api/routers/setup/wizard.py:215
↓ 1 callers
Function
_new_job
(engine_id: str)
backend/services/sidecar_install.py:386
↓ 1 callers
Method
_next_assignment
(self, *, now: Optional[float] = None)
backend/worker/scheduler.py:614
↓ 1 callers
Function
_next_counter
Next free ``<n>`` for this version so a re-run never overwrites an earlier snapshot of the same version.
backend/core/db_backup.py:92
↓ 1 callers
Method
_next_download_chunk
(session, producer, chunks, context)
backend/worker/transport/server.py:3367
↓ 1 callers
Function
_next_frame
(request_iterator)
backend/worker/inbound/listener.py:973
↓ 1 callers
Method
_next_upload_chunk
Wait for a chunk or revoke, whichever publishes first.
backend/worker/transport/server.py:2979
↓ 1 callers
Function
_noop
()
backend/tests/test_batch.py:51
↓ 1 callers
Function
_noop
()
tests/test_shutdown_preload_race_1000.py:63
↓ 1 callers
Function
_noop_forever
()
tests/test_dub_transcribe.py:83
↓ 1 callers
Function
_norm_default
Strip alembic's cosmetic quoting so '1' and 1 compare equal.
tests/test_pronunciation_api.py:53
↓ 1 callers
Function
_norm_mod
Resolve services.text_normalization at RUN time so monkeypatches land on the same module object the routes import per-request.
tests/test_text_normalization.py:287
↓ 1 callers
Function
_norm_overlap_text
(s: str)
backend/services/translator.py:125
↓ 1 callers
Function
_normalise
Ignore trailing whitespace and blank-line churn between protoc builds.
tests/test_worker_protocol_gen.py:29
↓ 1 callers
Function
_normalise_script
Return the set of normalised lines from the install script. The script has shebangs, env exports, function defs, etc. — we intentionally comp
scripts/validate-install-docs.py:68
↓ 1 callers
Function
_normalise_value
Convert tensors and NumPy scalars to serialisable Python objects.
omnivoice/scripts/denoise_audio.py:377
↓ 1 callers
Function
_normalise_value
Convert tensors and NumPy scalars to serialisable Python objects.
omnivoice/scripts/extract_audio_tokens_add_noise.py:458
↓ 1 callers
Function
_normalise_value
Convert tensors and NumPy scalars to serialisable Python objects.
omnivoice/scripts/extract_audio_tokens.py:268
↓ 1 callers
Function
_normalize
(description: str)
backend/core/describe_voice.py:252
↓ 1 callers
Function
_normalize
Coerce None→'' and normalize CRLF/CR→LF so ``$`` (re.MULTILINE) and span text never carry a stray ``\\r`` on Windows-authored scripts — a cros
backend/services/longform_parser.py:39
↓ 1 callers
Function
_normalize
Drop unknown dims + unknown values from an LLM-returned dict.
backend/services/director.py:136
↓ 1 callers
Function
_normalize
(text)
tests/test_failure_classify.py:231
↓ 1 callers
Function
_normalize_checks
Accept either ``[ "no_nan", {"sample_rate_eq": 44100} ]`` or a mapping, and return a list of (judge_name, args) pairs.
tests/probe/spec.py:122
↓ 1 callers
Function
_normalize_chunk_shapes
Coerce mixed-rank / mixed-channel chunks to one concat-compatible shape. Engines return ``(1, samples)`` per the ``TTSBackend.generate`` contract
backend/services/chunked_tts.py:270
↓ 1 callers
Function
_normalize_lang
Map OmniVoice's language sentinel to the SDK's language codes. The SDK accepts ISO-639-1 codes plus ``"na"`` (language-agnostic for Supertoni
backend/engines/supertonic3/sidecar.py:216
↓ 1 callers
Function
_normalize_language
Confucius4 expects an ISO-ish language code (e.g. 'en', 'zh'). Empty / 'auto' → 'en' as a safe default (the API requires a lang).
backend/engines/confucius4/main.py:142
↓ 1 callers
Function
_normalize_language
Map OmniVoice's language value to what dots.tts accepts, or None. dots.tts accepts None/"auto_detect", ISO codes upper-cased ("EN"/"ZH"), or
backend/engines/dots_tts/main.py:151
↓ 1 callers
Function
_normalize_loudness
(path: Path, sample_rate: int)
scripts/render_demos_omnivoice.py:206
↓ 1 callers
Function
_note_transcribe_success
()
backend/services/asr_backend.py:110
↓ 1 callers
Function
_note_transcribe_timeout
()
backend/services/asr_backend.py:103
↓ 1 callers
Function
_numbers_to_words
(text: str, lang: str)
backend/services/text_normalization.py:403
↓ 1 callers
Function
_offline_asr_repo
The HF repo the active *offline* (dub/batch) ASR backend would download on first load, or None when the selection can't be preflighted (FunASR /
backend/services/asr_backend.py:3128
↓ 1 callers
Function
_offload_unified_memory
Release the TTS model on a unified-memory host when RAM is tight. Returns True when the model was actually released. Never raises — a failure
backend/services/model_manager.py:3166
↓ 1 callers
Method
_on_result_owned
Commit, then acknowledge — never the other way round. The acknowledgement is the worker's licence to forget a finished render, so it
backend/worker/transport/server.py:2237
↓ 1 callers
Function
_one
(seg_id: str, src: str, lit: str)
backend/services/translator.py:483
↓ 1 callers
Function
_one
(key, text, slot, tgt, src, strict)
backend/services/speech_rate.py:269
← previous
next →
3,501–3,600 of 15,058, ranked by callers