diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..e97d81f2ea18d5bda34279e9c9b1e388c281fe89 100644 --- a/.gitattributes +++ b/.gitattributes @@ -29,6 +29,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.tflite filter=lfs diff=lfs merge=lfs -text *.tgz filter=lfs diff=lfs merge=lfs -text *.wasm filter=lfs diff=lfs merge=lfs -text +*.wav filter=lfs diff=lfs merge=lfs -text *.xz filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text diff --git a/Models/Russian_CosyVoice3/README.md b/Models/Russian_CosyVoice3/README.md new file mode 100644 index 0000000000000000000000000000000000000000..aefd5dd181ea6b10f2cf51acd8086530784804c0 --- /dev/null +++ b/Models/Russian_CosyVoice3/README.md @@ -0,0 +1,59 @@ +# Russian CosyVoice 3 dubbing pack + +This directory adds a reproducible Russian voice-conversion route and 20 curated +Russian GLaDOS samples. It does not add a native Russian checkpoint to the +original GPT-SoVITS or Style-Bert-VITS2 models. + +## Pipeline + +1. The English Portal clip supplies the GLaDOS voice, timbre, formants, and delivery. +2. RuAccent and Silero v4 generate a clean Russian content track. +3. Rubber Band matches the reference duration before VC, or after VC for lines listed in `pipeline_controls.json`. +4. CosyVoice 3 `inference_vc` transfers the English reference voice onto the Russian content. +5. A verified, formant-preserving Rubber Band pass aligns median F0 to the English reference. + +`manifest.jsonl` maps every English reference, Russian translation, output sample, +prosody profile, per-line control, and QA result. The references come from +[`ray0rf1re/GLaDOS-audio-v2`](https://huggingface.co/datasets/ray0rf1re/GLaDOS-audio-v2). + +## Reproduce + +Clone [FunAudioLLM/CosyVoice](https://github.com/FunAudioLLM/CosyVoice) with its +submodules and install its dependencies. Install the packages in +`requirements.txt` and the `rubberband` command-line tool. Download +[`FunAudioLLM/Fun-CosyVoice3-0.5B-2512`](https://huggingface.co/FunAudioLLM/Fun-CosyVoice3-0.5B-2512), +then run: + +```bash +python download_refs.py +python generate_silero_sources.py --ruaccent-workdir .cache/ruaccent +python generate_cosyvoice_vc_batch.py \ + --cosyvoice-root /path/to/CosyVoice \ + --model-dir /path/to/Fun-CosyVoice3-0.5B-2512 +``` + +Use `--overwrite` to rebuild existing intermediates. The default directories are +relative to this folder, and `--ids 0234 0258` can limit a run. + +## Validation + +All 20 published WAV files pass these checks: + +- 24 kHz, mono, PCM16; +- absolute duration difference from the English reference at most 0.08 seconds; +- peak amplitude at most 0.951; +- median-F0 relative error at most 2.5%; +- GigaAM multilingual CTC word error rate at most 10% per clip. + +The checked run produced 17 word-exact clips, 1.36% mean WER, and 9.09% maximum +WER. Re-run it with: + +```bash +python qa_cosyvoice_batch.py --asr --outputs samples +``` + +See `qa_report.json` for per-clip measurements and transcripts. The sample pack +was generated with [Silero](https://github.com/snakers4/silero-models), +[RuAccent](https://github.com/Den4ikAI/ruaccent), CosyVoice 3, and Rubber Band. +The original repository license and the source/model terms continue to apply. + diff --git a/Models/Russian_CosyVoice3/align_pitch.py b/Models/Russian_CosyVoice3/align_pitch.py new file mode 100644 index 0000000000000000000000000000000000000000..b11c01b9b3870e645a6fab4cfbe5e96fa8f6ac82 --- /dev/null +++ b/Models/Russian_CosyVoice3/align_pitch.py @@ -0,0 +1,164 @@ +"""Align a generated clip's median F0 to an English GLaDOS reference.""" +import argparse +from dataclasses import dataclass +import math +import shutil +import subprocess +import tempfile +from pathlib import Path + +import librosa +import numpy as np +import soundfile as sf + + +@dataclass(frozen=True) +class PitchAlignmentResult: + source_f0: float + reference_f0: float + output_f0: float + semitones: float + relative_error: float + + +def median_f0(path: Path) -> float: + audio, sr = librosa.load(str(path), sr=16000, mono=True) + f0, voiced, _ = librosa.pyin( + audio, + fmin=65, + fmax=500, + sr=sr, + frame_length=1024, + hop_length=160, + ) + values = f0[np.isfinite(f0) & voiced] + if len(values) == 0: + raise ValueError(f"No voiced F0 found in {path}") + return float(np.median(values)) + + +def render_pitch_shift(input_path: Path, output_path: Path, semitones: float) -> None: + """Render one formant-preserving Rubber Band pitch candidate.""" + subprocess.run( + [ + "rubberband", + "-3", + "-F", + "-p", + f"{semitones:.4f}", + str(input_path), + str(output_path), + ], + check=True, + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + ) + write_normalized_copy(output_path, output_path) + + +def write_normalized_copy(input_path: Path, output_path: Path) -> None: + """Write PCM16 audio with enough headroom to avoid clipped candidates.""" + audio, sr = sf.read(input_path, always_2d=False) + peak = float(np.max(np.abs(audio))) + if peak > 0.95: + audio = audio * (0.95 / peak) + sf.write(output_path, audio, sr, subtype="PCM_16") + + +def _clamp_shift(semitones: float, maximum: float) -> float: + return max(-maximum, min(maximum, semitones)) + + +def align_median_f0( + input_path: Path, + reference_path: Path, + output_path: Path, + *, + tolerance: float = 0.025, + max_abs_semitones: float = 4.0, +) -> PitchAlignmentResult: + """Align median F0 and verify the rendered result. + + A theoretical semitone ratio is normally sufficient. GLaDOS clips can make + pYIN switch between nearby pitch modes after rendering, though, so a failed + first pass is calibrated by rendering nearby shifts from the original clip. + The best candidate is copied once; pitch shifts are never stacked. + """ + source_f0 = median_f0(input_path) + reference_f0 = median_f0(reference_path) + source_error = abs(source_f0 - reference_f0) / reference_f0 + output_path.parent.mkdir(parents=True, exist_ok=True) + if source_error <= tolerance: + write_normalized_copy(input_path, output_path) + return PitchAlignmentResult( + source_f0=source_f0, + reference_f0=reference_f0, + output_f0=source_f0, + semitones=0.0, + relative_error=source_error, + ) + + predicted = _clamp_shift( + 12.0 * math.log2(reference_f0 / source_f0), + max_abs_semitones, + ) + + with tempfile.TemporaryDirectory(prefix="glados-pitch-") as temp_dir: + temp_root = Path(temp_dir) + attempts: list[tuple[float, float, float, Path]] = [] + + def evaluate(semitones: float) -> tuple[float, float, float, Path]: + semitones = _clamp_shift(semitones, max_abs_semitones) + for attempt in attempts: + if math.isclose(attempt[0], semitones, abs_tol=1e-6): + return attempt + candidate = temp_root / f"candidate-{len(attempts):02d}.wav" + render_pitch_shift(input_path, candidate, semitones) + candidate_f0 = median_f0(candidate) + relative_error = abs(candidate_f0 - reference_f0) / reference_f0 + attempt = (semitones, candidate_f0, relative_error, candidate) + attempts.append(attempt) + return attempt + + best = evaluate(predicted) + if best[2] > tolerance: + for offset in (-1.5, -1.0, -0.5, 0.5, 1.0, 1.5): + candidate = evaluate(predicted + offset) + if candidate[2] < best[2]: + best = candidate + + if best[2] > tolerance: + center = best[0] + for offset in (-0.25, 0.25): + candidate = evaluate(center + offset) + if candidate[2] < best[2]: + best = candidate + + shutil.copyfile(best[3], output_path) + + return PitchAlignmentResult( + source_f0=source_f0, + reference_f0=reference_f0, + output_f0=best[1], + semitones=best[0], + relative_error=best[2], + ) + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("input", type=Path) + parser.add_argument("reference", type=Path) + parser.add_argument("output", type=Path) + args = parser.parse_args() + + result = align_median_f0(args.input, args.reference, args.output) + print( + f"source_f0={result.source_f0:.1f} reference_f0={result.reference_f0:.1f} " + f"output_f0={result.output_f0:.1f} shift={result.semitones:.2f}st " + f"error={result.relative_error:.2%}" + ) + + +if __name__ == "__main__": + main() diff --git a/Models/Russian_CosyVoice3/download_refs.py b/Models/Russian_CosyVoice3/download_refs.py new file mode 100644 index 0000000000000000000000000000000000000000..e098c71752697951e095ab40a0b6994b699455a4 --- /dev/null +++ b/Models/Russian_CosyVoice3/download_refs.py @@ -0,0 +1,28 @@ +"""Download only the selected GLaDOS reference WAVs from the HF dataset API.""" +import json +import pathlib +import urllib.parse +import urllib.request + +DATASET = "ray0rf1re/GLaDOS-audio-v2" +INDICES = [0, 7, 25, 46, 53, 55, 72, 109, 133, 142, 143, 177, 208, 224, 234, 258, 285, 304, 349, 553] +OUT = pathlib.Path(__file__).parent / "references" + +def row_for(index: int) -> dict: + query = urllib.parse.urlencode({"dataset": DATASET, "config": "default", "split": "train", "offset": index, "length": 1}) + with urllib.request.urlopen("https://datasets-server.huggingface.co/rows?" + query, timeout=60) as response: + return json.load(response)["rows"][0] + +def main() -> None: + OUT.mkdir(exist_ok=True) + for index in INDICES: + item = row_for(index) + row = item["row"] + audio_url = row["audio"][0]["src"] + target = OUT / f"{index:04d}.wav" + if not target.exists(): + urllib.request.urlretrieve(audio_url, target) + print(index, row["filename"], target, sep="\t") + +if __name__ == "__main__": + main() diff --git a/Models/Russian_CosyVoice3/generate_cosyvoice_vc_batch.py b/Models/Russian_CosyVoice3/generate_cosyvoice_vc_batch.py new file mode 100644 index 0000000000000000000000000000000000000000..3b0a96949f2f2d086f3b80ab298f8230a47c0520 --- /dev/null +++ b/Models/Russian_CosyVoice3/generate_cosyvoice_vc_batch.py @@ -0,0 +1,194 @@ +"""Generate the 20 Russian GLaDOS teacher clips with CosyVoice 3 VC. + +The English Portal WAV remains the speaker/timbre reference. Silero + RuAccent +provides only Russian content, and Rubber Band first matches the reference +duration. The optional pitch pass aligns the generated median F0 to the +English reference while preserving formants. +""" + +from __future__ import annotations + +import argparse +import csv +from dataclasses import asdict +import json +import os +from pathlib import Path +import sys +import tempfile + +try: + from glados_ru.align_pitch import align_median_f0 + from glados_ru.pipeline_config import load_controls, resolve_line + from glados_ru.prosody_profile import analyze, warp_duration +except ModuleNotFoundError: # Support running the copied bundle directly. + from align_pitch import align_median_f0 + from pipeline_config import load_controls, resolve_line + from prosody_profile import analyze, warp_duration + + +ROOT = Path(__file__).parent +DEFAULT_MODEL = os.environ.get( + "COSYVOICE_MODEL_DIR", + "pretrained_models/Fun-CosyVoice3-0.5B", +) +DEFAULT_COSYVOICE_ROOT = Path(os.environ.get("COSYVOICE_ROOT", "CosyVoice")) +DEFAULT_SOURCE = ROOT / "sources_silero" +DEFAULT_REFERENCE = ROOT / "references" +DEFAULT_PROFILE = ROOT / "profiles_batch" +DEFAULT_WARPED = ROOT / "profiled_sources_batch" +DEFAULT_OUTPUT = ROOT / "generated_cosyvoice_vc_batch" +DEFAULT_PITCH = ROOT / "generated_cosyvoice_vc_batch_pitch" +DEFAULT_CONTROLS = ROOT / "pipeline_controls.json" + + +def ids_from_files(directory: Path) -> list[str]: + return sorted(path.stem for path in directory.glob("*.wav")) + + +def translations(root: Path) -> dict[str, str]: + result: dict[str, str] = {} + for path in sorted(root.glob("translations_*.tsv")): + with path.open(encoding="utf-8", newline="") as handle: + for row in csv.DictReader(handle, delimiter="\t"): + result[row["id"].zfill(4)] = row["ru"] + if not result: + raise ValueError(f"no translations_*.tsv files found in {root}") + return result + + +def generate( + *, + model_dir: str, + cosyvoice_root: Path, + translations_dir: Path, + source_dir: Path, + reference_dir: Path, + profile_dir: Path, + warped_dir: Path, + output_dir: Path, + pitch_dir: Path, + controls_path: Path, + selected_ids: list[str], + overwrite: bool, +) -> None: + import torch + import torchaudio + + sys.path.insert(0, str(cosyvoice_root)) + sys.path.insert(0, str(cosyvoice_root / "third_party" / "Matcha-TTS")) + from cosyvoice.cli.cosyvoice import AutoModel + + output_dir.mkdir(parents=True, exist_ok=True) + pitch_dir.mkdir(parents=True, exist_ok=True) + profile_dir.mkdir(parents=True, exist_ok=True) + warped_dir.mkdir(parents=True, exist_ok=True) + cosyvoice = AutoModel(model_dir=model_dir, fp16=False) + translated = translations(translations_dir) + controls = load_controls(controls_path) + + for item_id in selected_ids: + canonical_text = translated.get(item_id, "") + line = resolve_line(item_id, canonical_text, controls) + source = source_dir / f"{item_id}.wav" + reference = reference_dir / f"{item_id}.wav" + speaker_reference = reference_dir / f"{line.speaker_reference}.wav" + if not source.is_file() or not reference.is_file() or not speaker_reference.is_file(): + print(f"skip {item_id}: missing source or reference", flush=True) + continue + + profile_path = profile_dir / f"{item_id}.json" + warped = warped_dir / f"{item_id}.wav" + if overwrite or not profile_path.exists() or not warped.exists(): + profile = analyze(reference, canonical_text) + profile["source"] = analyze(source, line.tts_text) + profile["pipeline_control"] = asdict(line) + profile_path.write_text( + json.dumps(profile, ensure_ascii=False, indent=2) + "\n", + encoding="utf-8", + ) + warp_duration(source, reference, warped) + else: + profile = json.loads(profile_path.read_text(encoding="utf-8")) + expected_control = asdict(line) + if profile.get("pipeline_control") != expected_control: + profile["pipeline_control"] = expected_control + profile_path.write_text( + json.dumps(profile, ensure_ascii=False, indent=2) + "\n", + encoding="utf-8", + ) + + target = output_dir / f"{item_id}.wav" + if overwrite or not target.exists(): + with torch.inference_mode(): + results = cosyvoice.inference_vc( + str(warped if line.duration_stage == "pre" else source), + str(speaker_reference), + stream=False, + speed=1.0, + ) + first = next(iter(results)) + if line.duration_stage == "pre": + torchaudio.save( + str(target), + first["tts_speech"].cpu(), + cosyvoice.sample_rate, + ) + else: + with tempfile.TemporaryDirectory(prefix=f"glados-vc-{item_id}-") as temp_dir: + raw_target = Path(temp_dir) / "raw-vc.wav" + torchaudio.save( + str(raw_target), + first["tts_speech"].cpu(), + cosyvoice.sample_rate, + ) + warp_duration(raw_target, reference, target) + print(f"generated {target}", flush=True) + else: + print(f"skip existing {target}", flush=True) + + pitch_target = pitch_dir / f"{item_id}.wav" + if overwrite or not pitch_target.exists(): + result = align_median_f0(target, reference, pitch_target) + print( + f"pitch {item_id}: source={result.source_f0:.1f}Hz " + f"reference={result.reference_f0:.1f}Hz output={result.output_f0:.1f}Hz " + f"shift={result.semitones:.2f}st error={result.relative_error:.2%}", + flush=True, + ) + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--model-dir", default=DEFAULT_MODEL) + parser.add_argument("--cosyvoice-root", type=Path, default=DEFAULT_COSYVOICE_ROOT) + parser.add_argument("--translations-dir", type=Path, default=ROOT) + parser.add_argument("--source-dir", type=Path, default=DEFAULT_SOURCE) + parser.add_argument("--reference-dir", type=Path, default=DEFAULT_REFERENCE) + parser.add_argument("--profile-dir", type=Path, default=DEFAULT_PROFILE) + parser.add_argument("--warped-dir", type=Path, default=DEFAULT_WARPED) + parser.add_argument("--output-dir", type=Path, default=DEFAULT_OUTPUT) + parser.add_argument("--pitch-dir", type=Path, default=DEFAULT_PITCH) + parser.add_argument("--controls", type=Path, default=DEFAULT_CONTROLS) + parser.add_argument("--ids", nargs="*", default=None) + parser.add_argument("--overwrite", action="store_true") + args = parser.parse_args() + selected = args.ids or ids_from_files(args.reference_dir) + generate( + model_dir=args.model_dir, + cosyvoice_root=args.cosyvoice_root, + translations_dir=args.translations_dir, + source_dir=args.source_dir, + reference_dir=args.reference_dir, + profile_dir=args.profile_dir, + warped_dir=args.warped_dir, + output_dir=args.output_dir, + pitch_dir=args.pitch_dir, + controls_path=args.controls, + selected_ids=selected, + overwrite=args.overwrite, + ) + + +if __name__ == "__main__": + main() diff --git a/Models/Russian_CosyVoice3/generate_silero_sources.py b/Models/Russian_CosyVoice3/generate_silero_sources.py new file mode 100644 index 0000000000000000000000000000000000000000..7f116a02e4a99b48317dbc2d3169ab5fc53db62e --- /dev/null +++ b/Models/Russian_CosyVoice3/generate_silero_sources.py @@ -0,0 +1,110 @@ +"""Generate clean Russian source speech with RuAccent and Silero v4.""" + +from __future__ import annotations + +import argparse +import csv +from pathlib import Path + +try: + from glados_ru.pipeline_config import load_controls, resolve_line +except ModuleNotFoundError: # Support running the copied bundle directly. + from pipeline_config import load_controls, resolve_line + + +ROOT = Path(__file__).parent +DEFAULT_OUTPUT = ROOT / "sources_silero" +DEFAULT_CONTROLS = ROOT / "pipeline_controls.json" + + +def translations(root: Path) -> dict[str, str]: + result: dict[str, str] = {} + for path in sorted(root.glob("translations_*.tsv")): + with path.open(encoding="utf-8", newline="") as handle: + for row in csv.DictReader(handle, delimiter="\t"): + result[row["id"].zfill(4)] = row["ru"] + if not result: + raise ValueError(f"no translations_*.tsv files found in {root}") + return result + + +def generate( + *, + translations_dir: Path, + output_dir: Path, + controls_path: Path, + ruaccent_workdir: Path | None, + device: str, + speaker: str, + sample_rate: int, + selected_ids: set[str] | None, + overwrite: bool, +) -> None: + import torch + import torchaudio + from ruaccent import RUAccent + + output_dir.mkdir(parents=True, exist_ok=True) + controls = load_controls(controls_path) + accentizer = RUAccent() + accentizer.load( + omograph_model_size="turbo3.1", + use_dictionary=True, + tiny_mode=False, + device=device, + **({"workdir": str(ruaccent_workdir)} if ruaccent_workdir else {}), + ) + model, _ = torch.hub.load( + "snakers4/silero-models", + "silero_tts", + language="ru", + speaker="v4_ru", + trust_repo=True, + ) + for item_id, text in sorted(translations(translations_dir).items()): + if selected_ids is not None and item_id not in selected_ids: + continue + target = output_dir / f"{item_id}.wav" + if target.exists() and not overwrite: + print(f"skip existing {target}", flush=True) + continue + line = resolve_line(item_id, text, controls) + accented = accentizer.process_all(line.tts_text) + audio = model.apply_tts( + text=accented, + speaker=speaker, + sample_rate=sample_rate, + put_accent=True, + put_yo=True, + ) + torchaudio.save(str(target), audio.unsqueeze(0), sample_rate) + print(f"generated {item_id}: {accented}", flush=True) + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--translations-dir", type=Path, default=ROOT) + parser.add_argument("--output-dir", type=Path, default=DEFAULT_OUTPUT) + parser.add_argument("--controls", type=Path, default=DEFAULT_CONTROLS) + parser.add_argument("--ruaccent-workdir", type=Path) + parser.add_argument("--device", default="CPU") + parser.add_argument("--speaker", default="xenia") + parser.add_argument("--sample-rate", type=int, default=48_000) + parser.add_argument("--ids", nargs="*") + parser.add_argument("--overwrite", action="store_true") + args = parser.parse_args() + generate( + translations_dir=args.translations_dir, + output_dir=args.output_dir, + controls_path=args.controls, + ruaccent_workdir=args.ruaccent_workdir, + device=args.device, + speaker=args.speaker, + sample_rate=args.sample_rate, + selected_ids={item.zfill(4) for item in args.ids} if args.ids else None, + overwrite=args.overwrite, + ) + + +if __name__ == "__main__": + main() diff --git a/Models/Russian_CosyVoice3/manifest.jsonl b/Models/Russian_CosyVoice3/manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..9240a69069fbb45ab597883081bb8e44c2f2c11e --- /dev/null +++ b/Models/Russian_CosyVoice3/manifest.jsonl @@ -0,0 +1,20 @@ +{"id":"0000","row_idx":0,"filename":"GLaDOS_00_part1_entry-1.wav","style":"welcome-neutral","en":"Hello and, again, welcome to the Aperture Science computer-aided enrichment center.","ru":"И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0000.wav","profile":"profiles/0000.json","pipeline_control":{"tts_text":"И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».","duration_stage":"pre","speaker_reference":"0000"},"sha256":"91526d1cc675a70c01d4020ba9f950a0bbad6a4da9bd4d209e2f6d33daf6410d","qa":{"passed":true,"duration_seconds":5.94,"reference_duration_seconds":5.905034,"duration_delta_seconds":0.034966,"peak":0.950012,"median_f0_hz":175.545,"reference_median_f0_hz":176.562,"median_f0_relative_error":0.00576,"asr_transcript":"и снова здравствуйте добро пожаловать в компьютеризированный центр обогащения пертур наука","asr_wer":0.090909}} +{"id":"0007","row_idx":7,"filename":"GLaDOS_00_part1_success-1.wav","style":"instruction-neutral","en":"Excellent. Please proceed into the chamberlock after completing each test.","ru":"Отлично. После каждого теста проходите в шлюзовую камеру.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0007.wav","profile":"profiles/0007.json","pipeline_control":{"tts_text":"Отлично. После каждого теста. Проходите в шлюзовую камеру.","duration_stage":"pre","speaker_reference":"0007"},"sha256":"5bec392ccd0dfc5fd13c5afa008697d7eaebecb3b951306b6253b815b239e9cf","qa":{"passed":true,"duration_seconds":5.46,"reference_duration_seconds":5.438005,"duration_delta_seconds":0.021995,"peak":0.950012,"median_f0_hz":178.614,"reference_median_f0_hz":179.131,"median_f0_relative_error":0.002888,"asr_transcript":"отлично после каждого теста проходите в шлюзовую камеру","asr_wer":0.0}} +{"id":"0025","row_idx":25,"filename":"GLaDOS_01_part2_success-1.wav","style":"praise-sarcastic","en":"Well done! Remember: The Aperture Science Bring Your Daughter to Work Day is the perfect time to have her tested.","ru":"Отлично! Запомните: день «Приведи дочь на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0025.wav","profile":"profiles/0025.json","pipeline_control":{"tts_text":"Отлично! Запомните: день «Приведи дочь... на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.","duration_stage":"post","speaker_reference":"0025"},"sha256":"f9415d43c389720298eaca60e8d807f71203598be8f051a9807d033ca20a5b5d","qa":{"passed":true,"duration_seconds":6.101333,"reference_duration_seconds":6.101338,"duration_delta_seconds":5e-06,"peak":0.949982,"median_f0_hz":167.618,"reference_median_f0_hz":169.566,"median_f0_relative_error":0.011486,"asr_transcript":"отлично запомните день приведи дочь на работу в апертур наука идеальное время чтобы ее протестировали","asr_wer":0.0}} +{"id":"0046","row_idx":46,"filename":"GLaDOS_05_part1_nag5-1.wav","style":"tempting","en":"Quit now and cake will be served immediately.","ru":"Прекратите сейчас — и торт подадут немедленно.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0046.wav","profile":"profiles/0046.json","pipeline_control":{"tts_text":"Прекратите сейчас — и торт подадут немедленно.","duration_stage":"pre","speaker_reference":"0046"},"sha256":"72f99bf88e0906dd40d4d719087a09201f1fa68aefa6c4e655b5cb3eb9ba961b","qa":{"passed":true,"duration_seconds":3.92,"reference_duration_seconds":3.858027,"duration_delta_seconds":0.061973,"peak":0.950012,"median_f0_hz":172.53,"reference_median_f0_hz":175.04,"median_f0_relative_error":0.014341,"asr_transcript":"прекратите сейчас и торт подадут немедленно","asr_wer":0.0}} +{"id":"0053","row_idx":53,"filename":"GLaDOS_07_part1_entry-3.wav","style":"warning-dry","en":"For instance, the floor here will kill you - try to avoid it.","ru":"Например, этот пол вас убьёт. Постарайтесь его избегать.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0053.wav","profile":"profiles/0053.json","pipeline_control":{"tts_text":"Например, этот пол... вас убьёт. Постарайтесь его избегать.","duration_stage":"pre","speaker_reference":"0053"},"sha256":"8a39649e69f583656fb8461f7843c4e20bd38d9c9d22891d104cc0e6735820d8","qa":{"passed":true,"duration_seconds":4.04,"reference_duration_seconds":3.975147,"duration_delta_seconds":0.064853,"peak":0.950012,"median_f0_hz":188.145,"reference_median_f0_hz":184.913,"median_f0_relative_error":0.01748,"asr_transcript":"например этот пол вас убьет постарайтесь его избегать","asr_wer":0.0}} +{"id":"0055","row_idx":55,"filename":"GLaDOS_07_part1_trapped-2.wav","style":"reassuring","en":"An escape hatch will open in three... Two... One.","ru":"Аварийный люк откроется через три... Два... Один.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0055.wav","profile":"profiles/0055.json","pipeline_control":{"tts_text":"Аварийный люк откроется через три... Два... Один.","duration_stage":"pre","speaker_reference":"0055"},"sha256":"b9e30a9079aadee665c462de815fa322f59b6f42232c62498e11b27ae09aa865","qa":{"passed":true,"duration_seconds":4.12,"reference_duration_seconds":4.122336,"duration_delta_seconds":0.002336,"peak":0.950012,"median_f0_hz":178.614,"reference_median_f0_hz":180.169,"median_f0_relative_error":0.008631,"asr_transcript":"аварийный люк откроется через три два один","asr_wer":0.0}} +{"id":"0072","row_idx":72,"filename":"GLaDOS_10_part1_entry-2.wav","style":"bureaucratic","en":"Cake and grief counseling will be available at the conclusion of the test.","ru":"По завершении теста будут доступны торт и консультации по переживанию утраты.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0072.wav","profile":"profiles/0072.json","pipeline_control":{"tts_text":"По завершении теста будут доступны торт и консультации по переживанию утраты.","duration_stage":"pre","speaker_reference":"0072"},"sha256":"d4bd9cb3b5773bbd5538a55227e6be916d9482596bfcad904600419109759387","qa":{"passed":true,"duration_seconds":4.56,"reference_duration_seconds":4.56966,"duration_delta_seconds":0.00966,"peak":0.950012,"median_f0_hz":183.848,"reference_median_f0_hz":184.913,"median_f0_relative_error":0.00576,"asr_transcript":"по завершении теста будут доступны торты и консультации по переживанию утраты","asr_wer":0.090909}} +{"id":"0109","row_idx":109,"filename":"GLaDOS_15_part1_Partyspeech-1.wav","style":"panic-relief","en":"What are you doing? Stop it! I... I... We are pleased that you made it through the final challenge where we pretended we were going to murder you.","ru":"Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0109.wav","profile":"profiles/0109.json","pipeline_control":{"tts_text":"Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.","duration_stage":"pre","speaker_reference":"0109"},"sha256":"b738e89ab61d8da50194d4bdd83037c30b0a8521145f40e80902f603d567b93a","qa":{"passed":true,"duration_seconds":11.72,"reference_duration_seconds":11.724218,"duration_delta_seconds":0.004218,"peak":0.950012,"median_f0_hz":199.333,"reference_median_f0_hz":194.78,"median_f0_relative_error":0.023374,"asr_transcript":"что вы делаете прекратите я я мы рады что вы прошли последнее испытание в котором мы притворялись будто собираемся вас убить","asr_wer":0.0}} +{"id":"0133","row_idx":133,"filename":"GLaDOS_escape_00_part1_nag10-1.wav","style":"denial-angry","en":"I'm not angry. Just go back to the testing area.","ru":"Я не злюсь. Просто возвращайтесь в тестовую зону.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0133.wav","profile":"profiles/0133.json","pipeline_control":{"tts_text":"Я не злюсь. Просто возвращайтесь в тестовую зону.","duration_stage":"pre","speaker_reference":"0133"},"sha256":"008666f30c4025e5868926a6a4759371939191b106d4adc877c01d8df7cb058f","qa":{"passed":true,"duration_seconds":4.28,"reference_duration_seconds":4.214671,"duration_delta_seconds":0.065329,"peak":0.949982,"median_f0_hz":183.318,"reference_median_f0_hz":183.848,"median_f0_relative_error":0.00288,"asr_transcript":"я не злюсь просто возвращайтесь в тестовую зону","asr_wer":0.0}} +{"id":"0142","row_idx":142,"filename":"GLaDOS_escape_00_part2_nag01-1.wav","style":"threatening","en":"I'm not kidding now. Turn back or I will kill you.","ru":"Теперь я не шучу. Поворачивайте назад, иначе я вас убью.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0142.wav","profile":"profiles/0142.json","pipeline_control":{"tts_text":"Теперь. Я не шучу. Поворачивайте назад, иначе я вас убью.","duration_stage":"post","speaker_reference":"0072"},"sha256":"b1a4eb2ddde736d9d4f775c414e38ae9fe404973e810ca4021560f9922b7200b","qa":{"passed":true,"duration_seconds":3.690583,"reference_duration_seconds":3.69059,"duration_delta_seconds":6e-06,"peak":0.950012,"median_f0_hz":203.404,"reference_median_f0_hz":203.404,"median_f0_relative_error":0.0,"asr_transcript":"теперь я не шучу поворачивайте назад иначе я вас убью","asr_wer":0.0}} +{"id":"0143","row_idx":143,"filename":"GLaDOS_escape_00_part2_nag02-1.wav","style":"threatening-cold","en":"I'm going to kill you, and all the cake is gone.","ru":"Я собираюсь вас убить, а весь торт уже закончился.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0143.wav","profile":"profiles/0143.json","pipeline_control":{"tts_text":"Я собираюсь вас убить, а весь торт уже закончился.","duration_stage":"pre","speaker_reference":"0143"},"sha256":"af12936393bfea2b55ad5af379bf55dcf7feb56eca6e2d3effd09b8388c5213c","qa":{"passed":true,"duration_seconds":3.52,"reference_duration_seconds":3.521134,"duration_delta_seconds":0.001134,"peak":0.949982,"median_f0_hz":205.174,"reference_median_f0_hz":206.362,"median_f0_relative_error":0.00576,"asr_transcript":"я собираюсь вас убить а весь торт уже закончился","asr_wer":0.0}} +{"id":"0177","row_idx":177,"filename":"GLaDOS_escape_02_spheredestroy1-05.wav","style":"confession","en":"It was a morality core they installed after I flooded the Enrichment Center with a deadly neurotoxin to make me stop flooding the Enrichment Center with a deadly neurotoxin.","ru":"Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0177.wav","profile":"profiles/0177.json","pipeline_control":{"tts_text":"Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.","duration_stage":"pre","speaker_reference":"0177"},"sha256":"632fa6158e390925c0c0ad28602a25c79e30d851d51ac7720e927530d8929d39","qa":{"passed":true,"duration_seconds":10.14,"reference_duration_seconds":10.112018,"duration_delta_seconds":0.027982,"peak":0.950012,"median_f0_hz":127.031,"reference_median_f0_hz":127.767,"median_f0_relative_error":0.00576,"asr_transcript":"это был модуль морали его установили после того как я затопила центр смертельным нейротоксином чтобы заставить меня прекратить затапливать центр смертельным нейротоксином","asr_wer":0.0}} +{"id":"0208","row_idx":208,"filename":"GLaDOS_escape_02_miscbabble-10.wav","style":"comic-chaotic","en":"Neurotoxin... [cough] [cough] So deadly... [cough] Choking... [laughter] I'm kidding!","ru":"Нейротоксин... [кашель] [кашель] Такой смертельный... задыхаюсь... [смех] Шучу!","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0208.wav","profile":"profiles/0208.json","pipeline_control":{"tts_text":"Нейротоксин. Кашель. Кашель. Такой смертельный. Задыхаюсь. Смех. Шучу!","duration_stage":"pre","speaker_reference":"0208"},"sha256":"73033caa81e51afe94f2706d9995238e7ce5e957be35e88bb718befc9cf30911","qa":{"passed":true,"duration_seconds":10.06,"reference_duration_seconds":10.028798,"duration_delta_seconds":0.031202,"peak":0.950012,"median_f0_hz":188.145,"reference_median_f0_hz":185.984,"median_f0_relative_error":0.011619,"asr_transcript":"нейротоксин кашель кашель такой смертельный задыхаюсь смех шучу","asr_wer":0.0}} +{"id":"0224","row_idx":224,"filename":"GLaDOS_escape_02_spheredestroy4-07.wav","style":"threatening-cold","en":"Stop squirming and die like an adult or I'm going to delete your backup.","ru":"Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0224.wav","profile":"profiles/0224.json","pipeline_control":{"tts_text":"Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.","duration_stage":"pre","speaker_reference":"0224"},"sha256":"ea34104db5013a78a8078fec10e81d9a3cb79fd88115d2824aba18f914208713","qa":{"passed":true,"duration_seconds":3.48,"reference_duration_seconds":3.413333,"duration_delta_seconds":0.066667,"peak":0.950012,"median_f0_hz":159.127,"reference_median_f0_hz":155.492,"median_f0_relative_error":0.023374,"asr_transcript":"хватит ерзить умрите как взрослый или я удалю вашу резервную копию","asr_wer":0.090909}} +{"id":"0234","row_idx":234,"filename":"GLaDOS_chellgladoswakeup06.wav","style":"conciliatory-sarcastic","en":"Okay. Look. We both said a lot of things that you're going to regret. But I think we can put our differences behind us. For science. You monster.","ru":"Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0234.wav","profile":"profiles/0234.json","pipeline_control":{"tts_text":"Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.","duration_stage":"pre","speaker_reference":"0234"},"sha256":"b939580e73810c4dbf52de7dae7f594f480af85108c6da3c3eebac72c13a1e80","qa":{"passed":true,"duration_seconds":11.64,"reference_duration_seconds":11.572245,"duration_delta_seconds":0.067755,"peak":0.950012,"median_f0_hz":146.765,"reference_median_f0_hz":146.765,"median_f0_relative_error":0.0,"asr_transcript":"ладно послушайте мы оба наговорили много такого о чем еще пожалеем но думаю наши разногласия можно оставить в прошлом ради науки вы чудовище","asr_wer":0.0}} +{"id":"0258","row_idx":258,"filename":"GLaDOS_sp_laser_powered_lift_completion02.wav","style":"insulting-dry","en":"Well done. Here come the test results: You are a horrible person. I'm serious, that's what it says: A horrible person. We weren't even testing for that.","ru":"Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0258.wav","profile":"profiles/0258.json","pipeline_control":{"tts_text":"Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.","duration_stage":"pre","speaker_reference":"0258"},"sha256":"29739dfedf9349144d3f253b59ed471f0825a82ec5c362da9971d29be57fa40d","qa":{"passed":true,"duration_seconds":11.14,"reference_duration_seconds":11.102041,"duration_delta_seconds":0.037959,"peak":0.950012,"median_f0_hz":151.941,"reference_median_f0_hz":151.066,"median_f0_relative_error":0.005793,"asr_transcript":"отлично а вот и результаты теста вы ужасный человек я серьезно именно так здесь и написано ужасный человек мы даже не проверяли это","asr_wer":0.0}} +{"id":"0285","row_idx":285,"filename":"GLaDOS_sp_a2_pit_flings_future_starter01.wav","style":"contemptuous","en":"Uh oh. You're stranded. Let's see if the cube will try to help you escape. Actually, so that we're not here all day, I'll just cut to the chase: It won't. Any feelings you think it has for you are simply byproducts of your sad, empty life.","ru":"Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0285.wav","profile":"profiles/0285.json","pipeline_control":{"tts_text":"Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.","duration_stage":"pre","speaker_reference":"0285"},"sha256":"de502b59b845c80a8e70c9b71a3b8031cabda4e18c042c970fe652386081a1e4","qa":{"passed":true,"duration_seconds":16.94,"reference_duration_seconds":16.901224,"duration_delta_seconds":0.038776,"peak":0.950012,"median_f0_hz":156.393,"reference_median_f0_hz":156.393,"median_f0_relative_error":0.0,"asr_transcript":"вы застряли посмотрим попробует ли куб помочь вам сбежать хотя чтобы не сидеть здесь весь день перейду сразу к сути не попробует любые чувства которые вы ему приписываете всего лишь побочный продукт вашей унылой пустой жизни","asr_wer":0.0}} +{"id":"0304","row_idx":304,"filename":"GLaDOS_sp_a2_bridge_intro03.wav","style":"flattering-sarcastic","en":"Excellent! You're a predator and these tests are your prey. Speaking of which, I was researching sharks for an upcoming test. Do you know who else murders people who are only trying to help them?","ru":"Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0304.wav","profile":"profiles/0304.json","pipeline_control":{"tts_text":"Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?","duration_stage":"pre","speaker_reference":"0304"},"sha256":"75748d3129aabde607482c959f14d3c4123f8a9003c2ebb863f6166e3f35c8cb","qa":{"passed":true,"duration_seconds":12.92,"reference_duration_seconds":12.852245,"duration_delta_seconds":0.067755,"peak":0.949982,"median_f0_hz":173.529,"reference_median_f0_hz":174.534,"median_f0_relative_error":0.00576,"asr_transcript":"превосходно вы хищник а эти тесты ваша добыча кстати я изучала акул для будущего теста знаете кто еще убивает людей которые всего лишь пытаются им помочь","asr_wer":0.0}} +{"id":"0349","row_idx":349,"filename":"GLaDOS_gladosbattle_pre09.wav","style":"furious","en":"I hate you so much.","ru":"Я так сильно вас ненавижу.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0349.wav","profile":"profiles/0349.json","pipeline_control":{"tts_text":"Я так сильно вас ненавижу.","duration_stage":"pre","speaker_reference":"0349"},"sha256":"1ee9a4a8a24af623edbcd73ff3de8b0f1d6264ad16e9fc31c01efd4c9a9b6f94","qa":{"passed":true,"duration_seconds":2.08,"reference_duration_seconds":2.011429,"duration_delta_seconds":0.068571,"peak":0.950012,"median_f0_hz":143.413,"reference_median_f0_hz":143.416,"median_f0_relative_error":1.7e-05,"asr_transcript":"я так сильно вас ненавижу","asr_wer":0.0}} +{"id":"0553","row_idx":553,"filename":"GLaDOS_epilogue04.wav","style":"reflective-manipulative","en":"You know, being Caroline taught me a valuable lesson. I thought you were my greatest enemy. When all along you were my best friend.","ru":"Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.","reference_dataset":"ray0rf1re/GLaDOS-audio-v2","sample":"samples/0553.wav","profile":"profiles/0553.json","pipeline_control":{"tts_text":"Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.","duration_stage":"post","speaker_reference":"0234"},"sha256":"563440c1557967213602ad4148af4a61c601e1b891f8a5ab6a5f3aec54eb1018","qa":{"passed":true,"duration_seconds":8.881625,"reference_duration_seconds":8.881633,"duration_delta_seconds":8e-06,"peak":0.940674,"median_f0_hz":157.299,"reference_median_f0_hz":157.299,"median_f0_relative_error":0.0,"asr_transcript":"вы знаете кэролайн преподала мне ценный урок я думала что вы мой главный враг а все это время вы были моим лучшим другом","asr_wer":0.0}} diff --git a/Models/Russian_CosyVoice3/pipeline_config.py b/Models/Russian_CosyVoice3/pipeline_config.py new file mode 100644 index 0000000000000000000000000000000000000000..53867e7e0044fdf7f60212caa8212a66cca6b57f --- /dev/null +++ b/Models/Russian_CosyVoice3/pipeline_config.py @@ -0,0 +1,42 @@ +"""Per-line controls for the Russian GLaDOS dubbing pipeline.""" + +from __future__ import annotations + +from dataclasses import dataclass +import json +from pathlib import Path +from typing import Any + + +@dataclass(frozen=True) +class LineControl: + tts_text: str + duration_stage: str + speaker_reference: str + + +def load_controls(path: Path) -> dict[str, dict[str, Any]]: + raw = json.loads(path.read_text(encoding="utf-8")) + if not isinstance(raw, dict): + raise ValueError("pipeline controls must be a JSON object") + return {str(item_id).zfill(4): dict(value) for item_id, value in raw.items()} + + +def resolve_line( + item_id: str, + canonical_text: str, + controls: dict[str, dict[str, Any]], +) -> LineControl: + normalized_id = str(item_id).zfill(4) + control = controls.get(normalized_id, {}) + duration_stage = str(control.get("duration_stage", "pre")) + if duration_stage not in {"pre", "post"}: + raise ValueError( + f"invalid duration_stage={duration_stage!r} for line {normalized_id}" + ) + return LineControl( + tts_text=str(control.get("tts_text", canonical_text)), + duration_stage=duration_stage, + speaker_reference=str(control.get("speaker_reference", normalized_id)).zfill(4), + ) + diff --git a/Models/Russian_CosyVoice3/pipeline_controls.json b/Models/Russian_CosyVoice3/pipeline_controls.json new file mode 100644 index 0000000000000000000000000000000000000000..2ea42f75cf881ff38422f91f6a60a776f375e2ea --- /dev/null +++ b/Models/Russian_CosyVoice3/pipeline_controls.json @@ -0,0 +1,34 @@ +{ + "0007": { + "tts_text": "Отлично. После каждого теста. Проходите в шлюзовую камеру.", + "duration_stage": "pre", + "qa_reason": "Sentence boundary prevents CosyVoice from merging 'проходите в шлюзовую'." + }, + "0025": { + "tts_text": "Отлично! Запомните: день «Приведи дочь... на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.", + "duration_stage": "post", + "qa_reason": "VC before duration matching preserves 'Приведи дочь на работу' exactly." + }, + "0053": { + "tts_text": "Например, этот пол... вас убьёт. Постарайтесь его избегать.", + "duration_stage": "pre", + "qa_reason": "Short pause prevents CosyVoice from merging 'пол вас'." + }, + "0142": { + "tts_text": "Теперь. Я не шучу. Поворачивайте назад, иначе я вас убью.", + "speaker_reference": "0072", + "duration_stage": "post", + "qa_reason": "Post-VC duration matching and a neutral prompt prevent a leaked leading conjunction." + }, + "0208": { + "tts_text": "Нейротоксин. Кашель. Кашель. Такой смертельный. Задыхаюсь. Смех. Шучу!", + "duration_stage": "pre", + "qa_reason": "Explicit sentence boundaries preserve the acted stage directions through VC." + }, + "0553": { + "tts_text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.", + "speaker_reference": "0234", + "duration_stage": "post", + "qa_reason": "The longer neutral prompt preserves the name and all words through VC." + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0000.json b/Models/Russian_CosyVoice3/profiles/0000.json new file mode 100644 index 0000000000000000000000000000000000000000..e890f217f1799ef52d8060cf963d449a41720b90 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0000.json @@ -0,0 +1,176 @@ +{ + "file": "references/0000.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 5.905, + "voiced_fraction": 0.802, + "pause_map": [ + { + "start": 0.9, + "end": 1.02, + "duration": 0.12 + }, + { + "start": 1.39, + "end": 1.57, + "duration": 0.18 + } + ], + "f0_hz": { + "median": 176.562, + "p10_p90": [ + 147.616, + 208.76 + ], + "contour_20_points": [ + 160.98, + 162.05, + 155.49, + 163.16, + 174.22, + 195.22, + 146.77, + 175.1, + 209.2, + 177.59, + 184.91, + 179.69, + 208.76, + 183.59, + 185.98, + 175.55, + 184.13, + 174.53, + 147.62, + 139.33 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -41.24, + -12.628, + -8.596 + ], + "dynamic_range_db": 32.645, + "contour_20_points": [ + -63.95, + -37.65, + -10.4, + -51.71, + -8.75, + -49.89, + -10.58, + -19.8, + -13.29, + -10.03, + -10.99, + -16.55, + -8.74, + -13.35, + -13.51, + -14.64, + -6.86, + -7.47, + -11.27, + -28.92 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1468.627, + "spectral_flatness_median": 0.002 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».", + "text_chars_per_sec": 16.088, + "source": { + "file": "sources_silero/0000.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 5.0, + "voiced_fraction": 0.737, + "pause_map": [ + { + "start": 1.2, + "end": 1.45, + "duration": 0.25 + } + ], + "f0_hz": { + "median": 205.174, + "p10_p90": [ + 179.649, + 243.994 + ], + "contour_20_points": [ + 249.7, + 264.14, + 228.79, + 174.61, + 231.21, + 227.45, + 208.76, + 221.92, + 196.94, + 200.31, + 212.22, + 229.22, + 209.98, + 192.54, + 182.19, + 190.91, + 197.21, + 186.95, + 170.55, + 170.55 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -44.987, + -21.942, + -15.888 + ], + "dynamic_range_db": 29.099, + "contour_20_points": [ + -86.81, + -32.16, + -15.78, + -30.65, + -32.34, + -75.88, + -14.97, + -14.96, + -19.04, + -24.73, + -17.52, + -17.45, + -33.13, + -20.73, + -22.71, + -18.76, + -40.35, + -18.17, + -34.33, + -83.28 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1564.514, + "spectral_flatness_median": 0.007 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».", + "text_chars_per_sec": 19.0 + }, + "pipeline_control": { + "tts_text": "И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».", + "duration_stage": "pre", + "speaker_reference": "0000" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0007.json b/Models/Russian_CosyVoice3/profiles/0007.json new file mode 100644 index 0000000000000000000000000000000000000000..defe9854c79563838ebbc55c543788bb68081e7c --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0007.json @@ -0,0 +1,176 @@ +{ + "file": "references/0007.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 5.438, + "voiced_fraction": 0.665, + "pause_map": [ + { + "start": 0.86, + "end": 1.7, + "duration": 0.84 + } + ], + "f0_hz": { + "median": 179.131, + "p10_p90": [ + 137.73, + 235.683 + ], + "contour_20_points": [ + 207.56, + 183.64, + 137.73, + 78.94, + 84.14, + 172.44, + 255.27, + 178.21, + 184.91, + 186.56, + 178.92, + 201.65, + 154.6, + 185.98, + 180.05, + 196.68, + 171.27, + 224.87, + 227.9, + 228.97 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -61.677, + -14.105, + -7.75 + ], + "dynamic_range_db": 53.927, + "contour_20_points": [ + -66.05, + -26.37, + -11.38, + -40.81, + -63.92, + -67.19, + -13.76, + -14.77, + -6.73, + -20.79, + -29.62, + -10.4, + -12.51, + -10.93, + -18.11, + -7.98, + -12.72, + -26.29, + -21.2, + -29.78 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1699.258, + "spectral_flatness_median": 0.008 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Отлично. После каждого теста проходите в шлюзовую камеру.", + "text_chars_per_sec": 10.482, + "source": { + "file": "sources_silero/0007.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 4.125, + "voiced_fraction": 0.69, + "pause_map": [ + { + "start": 0.69, + "end": 1.0, + "duration": 0.31 + }, + { + "start": 2.2, + "end": 2.5, + "duration": 0.3 + } + ], + "f0_hz": { + "median": 208.76, + "p10_p90": [ + 172.53, + 259.709 + ], + "contour_20_points": [ + 232.98, + 247.63, + 196.53, + 189.82, + 208.65, + 215.56, + 252.48, + 231.46, + 207.63, + 173.49, + 182.9, + 219.51, + 209.91, + 275.84, + 227.65, + 197.39, + 211.96, + 176.4, + 171.24, + 200.49 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -65.927, + -24.735, + -15.671 + ], + "dynamic_range_db": 50.256, + "contour_20_points": [ + -85.74, + -27.73, + -19.09, + -29.61, + -63.76, + -19.11, + -27.93, + -24.32, + -35.39, + -30.89, + -34.38, + -73.77, + -13.86, + -19.52, + -26.67, + -24.29, + -17.99, + -21.04, + -26.7, + -77.69 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1607.59, + "spectral_flatness_median": 0.009 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Отлично. После каждого теста. Проходите в шлюзовую камеру.", + "text_chars_per_sec": 14.061 + }, + "pipeline_control": { + "tts_text": "Отлично. После каждого теста. Проходите в шлюзовую камеру.", + "duration_stage": "pre", + "speaker_reference": "0007" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0025.json b/Models/Russian_CosyVoice3/profiles/0025.json new file mode 100644 index 0000000000000000000000000000000000000000..16360a457af00d71ce51454e020c1845679b2663 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0025.json @@ -0,0 +1,186 @@ +{ + "file": "references/0025.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 6.101, + "voiced_fraction": 0.81, + "pause_map": [ + { + "start": 0.98, + "end": 1.07, + "duration": 0.09 + }, + { + "start": 1.64, + "end": 1.72, + "duration": 0.08 + } + ], + "f0_hz": { + "median": 169.566, + "p10_p90": [ + 139.331, + 185.984 + ], + "contour_20_points": [ + 216.12, + 216.12, + 142.4, + 138.02, + 185.98, + 157.02, + 175.55, + 173.74, + 178.72, + 165.69, + 164.86, + 164.51, + 152.56, + 137.15, + 174.96, + 175.55, + 164.93, + 179.65, + 131.51, + 130.0 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -43.413, + -11.373, + -7.799 + ], + "dynamic_range_db": 35.614, + "contour_20_points": [ + -73.8, + -54.09, + -10.86, + -28.03, + -8.46, + -17.55, + -10.84, + -10.41, + -9.4, + -5.91, + -9.3, + -8.26, + -14.27, + -26.77, + -17.65, + -8.2, + -12.01, + -10.17, + -11.02, + -60.44 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1699.878, + "spectral_flatness_median": 0.005 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Отлично! Запомните: день «Приведи дочь на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.", + "text_chars_per_sec": 18.193, + "source": { + "file": "sources_silero/0025.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 7.338, + "voiced_fraction": 0.749, + "pause_map": [ + { + "start": 1.0, + "end": 1.28, + "duration": 0.28 + }, + { + "start": 2.01, + "end": 2.22, + "duration": 0.21 + }, + { + "start": 3.15, + "end": 3.56, + "duration": 0.41 + } + ], + "f0_hz": { + "median": 216.122, + "p10_p90": [ + 185.877, + 286.826 + ], + "contour_20_points": [ + 208.76, + 237.05, + 247.65, + 214.44, + 247.58, + 187.16, + 274.77, + 291.86, + 205.75, + 241.4, + 288.37, + 213.14, + 266.08, + 200.65, + 219.47, + 208.76, + 203.87, + 202.29, + 173.27, + 216.12 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -56.4, + -24.917, + -16.008 + ], + "dynamic_range_db": 40.393, + "contour_20_points": [ + -82.3, + -13.67, + -27.86, + -58.67, + -14.5, + -32.17, + -17.59, + -25.22, + -31.82, + -54.08, + -15.02, + -18.37, + -15.62, + -37.23, + -13.95, + -18.09, + -23.13, + -31.1, + -27.38, + -69.21 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1641.73, + "spectral_flatness_median": 0.007 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Отлично! Запомните: день «Приведи дочь... на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.", + "text_chars_per_sec": 15.537 + }, + "pipeline_control": { + "tts_text": "Отлично! Запомните: день «Приведи дочь... на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.", + "duration_stage": "post", + "speaker_reference": "0025" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0046.json b/Models/Russian_CosyVoice3/profiles/0046.json new file mode 100644 index 0000000000000000000000000000000000000000..8bf495677cda50272b09c0666f7a75eb4744c345 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0046.json @@ -0,0 +1,170 @@ +{ + "file": "references/0046.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 3.858, + "voiced_fraction": 0.746, + "pause_map": [ + { + "start": 1.06, + "end": 1.19, + "duration": 0.13 + }, + { + "start": 1.79, + "end": 1.91, + "duration": 0.12 + } + ], + "f0_hz": { + "median": 175.04, + "p10_p90": [ + 138.528, + 209.969 + ], + "contour_20_points": [ + 243.99, + 223.35, + 162.07, + 140.95, + 170.41, + 195.31, + 218.82, + 208.76, + 205.17, + 199.31, + 174.59, + 197.46, + 154.9, + 146.77, + 209.1, + 184.91, + 146.86, + 140.48, + 136.15, + 108.69 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -49.24, + -14.599, + -8.273 + ], + "dynamic_range_db": 40.967, + "contour_20_points": [ + -77.93, + -9.55, + -14.4, + -12.18, + -18.56, + -15.75, + -31.54, + -10.8, + -20.92, + -45.03, + -8.1, + -8.88, + -10.75, + -15.92, + -12.71, + -7.65, + -11.01, + -23.83, + -19.48, + -60.06 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1766.239, + "spectral_flatness_median": 0.003 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Прекратите сейчас — и торт подадут немедленно.", + "text_chars_per_sec": 11.923, + "source": { + "file": "sources_silero/0046.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 2.525, + "voiced_fraction": 0.747, + "pause_map": [], + "f0_hz": { + "median": 219.9, + "p10_p90": [ + 172.331, + 251.143 + ], + "contour_20_points": [ + 212.41, + 226.34, + 236.26, + 280.49, + 247.05, + 229.85, + 237.41, + 222.45, + 228.95, + 200.98, + 255.07, + 226.77, + 189.81, + 217.37, + 223.47, + 189.96, + 174.16, + 161.83, + 196.47, + 205.17 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -42.716, + -22.267, + -15.447 + ], + "dynamic_range_db": 27.268, + "contour_20_points": [ + -84.9, + -14.66, + -11.7, + -17.51, + -16.81, + -22.17, + -17.58, + -23.84, + -42.24, + -27.47, + -13.47, + -39.7, + -17.65, + -18.02, + -17.71, + -19.25, + -29.02, + -27.44, + -42.88, + -78.25 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1444.414, + "spectral_flatness_median": 0.005 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Прекратите сейчас — и торт подадут немедленно.", + "text_chars_per_sec": 18.218 + }, + "pipeline_control": { + "tts_text": "Прекратите сейчас — и торт подадут немедленно.", + "duration_stage": "pre", + "speaker_reference": "0046" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0053.json b/Models/Russian_CosyVoice3/profiles/0053.json new file mode 100644 index 0000000000000000000000000000000000000000..1dee032cc6bf966c22a8c4dfb7ad699ac39d6c20 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0053.json @@ -0,0 +1,181 @@ +{ + "file": "references/0053.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 3.975, + "voiced_fraction": 0.746, + "pause_map": [ + { + "start": 0.98, + "end": 1.07, + "duration": 0.09 + }, + { + "start": 2.61, + "end": 2.74, + "duration": 0.13 + } + ], + "f0_hz": { + "median": 184.913, + "p10_p90": [ + 145.92, + 226.343 + ], + "contour_20_points": [ + 211.19, + 207.65, + 184.01, + 167.16, + 155.21, + 187.86, + 200.29, + 232.98, + 174.53, + 174.53, + 211.81, + 200.53, + 139.33, + 189.3, + 218.63, + 220.12, + 183.05, + 175.55, + 146.26, + 145.92 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -38.087, + -14.081, + -8.765 + ], + "dynamic_range_db": 29.323, + "contour_20_points": [ + -47.24, + -7.82, + -9.88, + -16.44, + -24.95, + -60.16, + -32.02, + -8.8, + -10.47, + -9.04, + -17.43, + -14.03, + -17.41, + -59.54, + -11.28, + -7.68, + -21.7, + -10.56, + -17.41, + -56.42 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1612.598, + "spectral_flatness_median": 0.003 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Например, этот пол вас убьёт. Постарайтесь его избегать.", + "text_chars_per_sec": 14.087, + "source": { + "file": "sources_silero/0053.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 4.312, + "voiced_fraction": 0.604, + "pause_map": [ + { + "start": 1.42, + "end": 1.89, + "duration": 0.47 + }, + { + "start": 2.47, + "end": 2.88, + "duration": 0.41 + } + ], + "f0_hz": { + "median": 212.409, + "p10_p90": [ + 167.618, + 243.994 + ], + "contour_20_points": [ + 232.98, + 220.18, + 224.53, + 323.99, + 218.9, + 221.8, + 167.62, + 220.89, + 267.9, + 221.17, + 190.36, + 156.29, + 188.57, + 207.56, + 232.03, + 194.78, + 178.78, + 176.5, + 153.71, + 153.71 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -71.827, + -27.349, + -15.634 + ], + "dynamic_range_db": 56.192, + "contour_20_points": [ + -69.31, + -19.04, + -14.2, + -20.66, + -16.41, + -43.35, + -27.1, + -63.79, + -76.95, + -19.9, + -23.11, + -45.52, + -85.65, + -21.58, + -12.87, + -25.82, + -22.73, + -26.78, + -36.45, + -84.07 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1422.117, + "spectral_flatness_median": 0.006 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Например, этот пол... вас убьёт. Постарайтесь его избегать.", + "text_chars_per_sec": 13.681 + }, + "pipeline_control": { + "tts_text": "Например, этот пол... вас убьёт. Постарайтесь его избегать.", + "duration_stage": "pre", + "speaker_reference": "0053" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0055.json b/Models/Russian_CosyVoice3/profiles/0055.json new file mode 100644 index 0000000000000000000000000000000000000000..ba335169b6a71e98b97a4c61ce508c1a38d81dc7 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0055.json @@ -0,0 +1,181 @@ +{ + "file": "references/0055.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 4.122, + "voiced_fraction": 0.789, + "pause_map": [ + { + "start": 2.21, + "end": 2.71, + "duration": 0.5 + }, + { + "start": 3.17, + "end": 3.69, + "duration": 0.52 + } + ], + "f0_hz": { + "median": 180.169, + "p10_p90": [ + 65.566, + 216.748 + ], + "contour_20_points": [ + 128.51, + 184.91, + 222.18, + 185.98, + 171.33, + 188.71, + 185.98, + 185.04, + 198.36, + 201.11, + 146.71, + 65.0, + 88.35, + 169.51, + 155.49, + 73.41, + 68.87, + 191.6, + 155.34, + 162.85 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -66.601, + -15.688, + -9.394 + ], + "dynamic_range_db": 57.208, + "contour_20_points": [ + -70.07, + -12.83, + -12.82, + -10.71, + -12.75, + -13.67, + -10.4, + -10.06, + -25.91, + -9.27, + -25.53, + -62.36, + -66.6, + -9.03, + -13.35, + -57.75, + -66.62, + -34.74, + -12.47, + -32.18 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1719.65, + "spectral_flatness_median": 0.004 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Аварийный люк откроется через три... Два... Один.", + "text_chars_per_sec": 11.886, + "source": { + "file": "sources_silero/0055.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 3.275, + "voiced_fraction": 0.665, + "pause_map": [ + { + "start": 1.74, + "end": 1.9, + "duration": 0.16 + }, + { + "start": 2.27, + "end": 2.64, + "duration": 0.37 + } + ], + "f0_hz": { + "median": 201.649, + "p10_p90": [ + 172.232, + 236.092 + ], + "contour_20_points": [ + 207.56, + 206.36, + 272.85, + 218.1, + 229.37, + 232.51, + 223.74, + 210.77, + 186.1, + 175.94, + 173.64, + 210.58, + 182.79, + 177.83, + 193.61, + 209.33, + 193.89, + 160.02, + 181.74, + 181.74 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -76.527, + -24.111, + -13.957 + ], + "dynamic_range_db": 62.57, + "contour_20_points": [ + -68.85, + -13.95, + -14.3, + -14.32, + -29.03, + -28.33, + -13.86, + -22.2, + -21.79, + -38.12, + -38.14, + -50.63, + -23.53, + -31.24, + -78.78, + -84.76, + -21.95, + -24.27, + -60.92, + -79.7 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1322.038, + "spectral_flatness_median": 0.004 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Аварийный люк откроется через три... Два... Один.", + "text_chars_per_sec": 14.962 + }, + "pipeline_control": { + "tts_text": "Аварийный люк откроется через три... Два... Один.", + "duration_stage": "pre", + "speaker_reference": "0055" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0072.json b/Models/Russian_CosyVoice3/profiles/0072.json new file mode 100644 index 0000000000000000000000000000000000000000..7dd20dabfb98723568d3138a52c77bb4a2ffc3b0 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0072.json @@ -0,0 +1,165 @@ +{ + "file": "references/0072.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 4.57, + "voiced_fraction": 0.803, + "pause_map": [ + { + "start": 0.49, + "end": 0.73, + "duration": 0.24 + } + ], + "f0_hz": { + "median": 184.913, + "p10_p90": [ + 156.393, + 217.126 + ], + "contour_20_points": [ + 241.19, + 212.1, + 188.46, + 194.22, + 207.56, + 219.94, + 222.45, + 174.53, + 175.55, + 175.08, + 195.91, + 177.35, + 177.19, + 190.35, + 211.19, + 168.82, + 165.56, + 151.18, + 129.25, + 129.25 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -38.226, + -13.668, + -9.139 + ], + "dynamic_range_db": 29.087, + "contour_20_points": [ + -69.45, + -10.42, + -37.31, + -37.82, + -11.51, + -28.4, + -8.02, + -9.9, + -9.14, + -9.99, + -9.29, + -15.81, + -22.69, + -12.06, + -7.93, + -15.01, + -40.71, + -12.62, + -30.96, + -63.56 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1702.818, + "spectral_flatness_median": 0.004 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "По завершении теста будут доступны торт и консультации по переживанию утраты.", + "text_chars_per_sec": 16.85, + "source": { + "file": "sources_silero/0072.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 4.088, + "voiced_fraction": 0.763, + "pause_map": [], + "f0_hz": { + "median": 209.969, + "p10_p90": [ + 181.736, + 264.545 + ], + "contour_20_points": [ + 230.3, + 223.16, + 280.49, + 230.82, + 302.13, + 209.26, + 203.99, + 261.51, + 206.86, + 228.63, + 201.5, + 198.36, + 213.64, + 203.25, + 196.63, + 184.91, + 177.16, + 173.36, + 150.2, + 150.2 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -38.125, + -20.63, + -15.019 + ], + "dynamic_range_db": 23.105, + "contour_20_points": [ + -83.4, + -15.96, + -17.03, + -14.32, + -19.54, + -23.35, + -17.84, + -17.96, + -38.46, + -36.89, + -18.82, + -23.22, + -21.69, + -35.59, + -19.55, + -20.26, + -22.11, + -22.33, + -33.64, + -77.39 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1460.954, + "spectral_flatness_median": 0.006 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "По завершении теста будут доступны торт и консультации по переживанию утраты.", + "text_chars_per_sec": 18.838 + }, + "pipeline_control": { + "tts_text": "По завершении теста будут доступны торт и консультации по переживанию утраты.", + "duration_stage": "pre", + "speaker_reference": "0072" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0109.json b/Models/Russian_CosyVoice3/profiles/0109.json new file mode 100644 index 0000000000000000000000000000000000000000..02471f2f16de5f54312affa2a34d256a432d3741 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0109.json @@ -0,0 +1,201 @@ +{ + "file": "references/0109.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 11.724, + "voiced_fraction": 0.782, + "pause_map": [ + { + "start": 1.16, + "end": 1.68, + "duration": 0.52 + }, + { + "start": 2.22, + "end": 2.86, + "duration": 0.64 + }, + { + "start": 3.19, + "end": 3.32, + "duration": 0.13 + }, + { + "start": 5.13, + "end": 5.49, + "duration": 0.36 + }, + { + "start": 6.66, + "end": 6.76, + "duration": 0.1 + } + ], + "f0_hz": { + "median": 194.78, + "p10_p90": [ + 148.471, + 258.503 + ], + "contour_20_points": [ + 270.73, + 201.52, + 162.66, + 263.02, + 131.28, + 217.37, + 219.9, + 227.58, + 285.17, + 193.35, + 207.26, + 173.08, + 198.18, + 194.78, + 174.53, + 219.9, + 184.91, + 174.53, + 166.24, + 145.08 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -55.729, + -15.73, + -9.733 + ], + "dynamic_range_db": 45.996, + "contour_20_points": [ + -72.95, + -9.65, + -57.44, + -7.82, + -57.31, + -12.03, + -18.53, + -22.83, + -17.24, + -18.07, + -37.39, + -16.64, + -12.29, + -9.31, + -11.76, + -10.33, + -11.75, + -9.75, + -18.17, + -69.14 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1729.692, + "spectral_flatness_median": 0.003 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.", + "text_chars_per_sec": 11.6, + "source": { + "file": "sources_silero/0109.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 8.025, + "voiced_fraction": 0.733, + "pause_map": [ + { + "start": 1.18, + "end": 1.41, + "duration": 0.23 + }, + { + "start": 2.11, + "end": 2.2, + "duration": 0.09 + }, + { + "start": 2.67, + "end": 3.11, + "duration": 0.44 + } + ], + "f0_hz": { + "median": 221.173, + "p10_p90": [ + 189.235, + 267.619 + ], + "contour_20_points": [ + 298.66, + 296.94, + 211.9, + 203.29, + 280.53, + 202.18, + 222.66, + 242.51, + 227.79, + 244.93, + 302.78, + 209.72, + 211.77, + 213.45, + 212.02, + 170.65, + 228.7, + 241.15, + 197.88, + 165.69 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -54.094, + -25.398, + -16.436 + ], + "dynamic_range_db": 37.657, + "contour_20_points": [ + -77.79, + -16.71, + -16.67, + -63.98, + -28.9, + -46.69, + -18.08, + -54.21, + -14.4, + -19.76, + -22.33, + -19.26, + -18.9, + -24.18, + -21.29, + -26.47, + -33.58, + -16.27, + -25.21, + -67.27 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1800.431, + "spectral_flatness_median": 0.008 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.", + "text_chars_per_sec": 16.947 + }, + "pipeline_control": { + "tts_text": "Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.", + "duration_stage": "pre", + "speaker_reference": "0109" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0133.json b/Models/Russian_CosyVoice3/profiles/0133.json new file mode 100644 index 0000000000000000000000000000000000000000..5e44fb3758dc29474a23bca7aca78a6dadefade0 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0133.json @@ -0,0 +1,176 @@ +{ + "file": "references/0133.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 4.215, + "voiced_fraction": 0.602, + "pause_map": [ + { + "start": 1.42, + "end": 1.69, + "duration": 0.27 + }, + { + "start": 2.65, + "end": 2.78, + "duration": 0.13 + } + ], + "f0_hz": { + "median": 183.848, + "p10_p90": [ + 145.92, + 217.374 + ], + "contour_20_points": [ + 198.18, + 198.18, + 203.25, + 207.56, + 164.74, + 171.45, + 147.62, + 175.89, + 217.37, + 205.36, + 185.98, + 208.76, + 192.44, + 178.61, + 213.85, + 209.75, + 162.41, + 146.77, + 145.08, + 145.92 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -66.622, + -23.924, + -12.704 + ], + "dynamic_range_db": 53.918, + "contour_20_points": [ + -74.92, + -58.69, + -13.72, + -15.71, + -20.07, + -33.74, + -18.28, + -67.47, + -12.21, + -22.11, + -20.83, + -13.17, + -52.53, + -24.95, + -21.48, + -25.96, + -23.08, + -22.93, + -27.0, + -72.99 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 2968.606, + "spectral_flatness_median": 0.011 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Я не злюсь. Просто возвращайтесь в тестовую зону.", + "text_chars_per_sec": 11.626, + "source": { + "file": "sources_silero/0133.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 3.112, + "voiced_fraction": 0.644, + "pause_map": [ + { + "start": 0.9, + "end": 1.19, + "duration": 0.29 + } + ], + "f0_hz": { + "median": 212.409, + "p10_p90": [ + 165.693, + 248.259 + ], + "contour_20_points": [ + 254.06, + 254.06, + 240.86, + 223.37, + 184.81, + 176.4, + 206.07, + 235.75, + 255.85, + 241.98, + 212.41, + 213.31, + 237.05, + 228.58, + 206.36, + 217.33, + 185.87, + 169.59, + 160.98, + 197.04 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -73.928, + -23.387, + -14.01 + ], + "dynamic_range_db": 59.917, + "contour_20_points": [ + -79.17, + -68.08, + -11.01, + -17.98, + -16.14, + -31.13, + -71.26, + -75.95, + -13.01, + -17.0, + -16.34, + -18.33, + -17.35, + -26.52, + -16.08, + -24.46, + -18.43, + -21.71, + -27.6, + -64.8 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1621.386, + "spectral_flatness_median": 0.011 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Я не злюсь. Просто возвращайтесь в тестовую зону.", + "text_chars_per_sec": 15.743 + }, + "pipeline_control": { + "tts_text": "Я не злюсь. Просто возвращайтесь в тестовую зону.", + "duration_stage": "pre", + "speaker_reference": "0133" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0142.json b/Models/Russian_CosyVoice3/profiles/0142.json new file mode 100644 index 0000000000000000000000000000000000000000..599a199968b46edbe770b1ee62f68e02c4d79f26 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0142.json @@ -0,0 +1,181 @@ +{ + "file": "references/0142.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 3.691, + "voiced_fraction": 0.724, + "pause_map": [ + { + "start": 1.1, + "end": 1.3, + "duration": 0.2 + } + ], + "f0_hz": { + "median": 203.404, + "p10_p90": [ + 146.765, + 261.506 + ], + "contour_20_points": [ + 248.26, + 263.9, + 208.74, + 263.02, + 165.98, + 146.77, + 167.59, + 262.88, + 253.58, + 185.31, + 200.26, + 214.93, + 205.17, + 222.51, + 218.71, + 145.84, + 209.44, + 195.67, + 146.77, + 150.2 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -46.317, + -21.486, + -11.392 + ], + "dynamic_range_db": 34.925, + "contour_20_points": [ + -82.39, + -34.69, + -23.58, + -19.92, + -27.79, + -18.49, + -61.19, + -17.76, + -31.32, + -13.87, + -40.37, + -17.85, + -13.13, + -57.6, + -10.5, + -29.15, + -23.95, + -21.85, + -24.14, + -69.52 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 2552.386, + "spectral_flatness_median": 0.008 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Теперь я не шучу. Поворачивайте назад, иначе я вас убью.", + "text_chars_per_sec": 15.174, + "source": { + "file": "sources_silero/0142.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 4.075, + "voiced_fraction": 0.667, + "pause_map": [ + { + "start": 0.47, + "end": 0.75, + "duration": 0.28 + }, + { + "start": 1.44, + "end": 1.82, + "duration": 0.38 + }, + { + "start": 2.85, + "end": 2.99, + "duration": 0.14 + } + ], + "f0_hz": { + "median": 199.333, + "p10_p90": [ + 166.653, + 230.167 + ], + "contour_20_points": [ + 261.51, + 243.71, + 187.74, + 231.75, + 214.62, + 228.14, + 196.05, + 157.3, + 200.19, + 205.2, + 241.3, + 210.96, + 187.59, + 175.33, + 212.36, + 222.63, + 188.15, + 196.6, + 160.0, + 166.65 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -72.531, + -24.355, + -15.555 + ], + "dynamic_range_db": 56.975, + "contour_20_points": [ + -86.88, + -35.91, + -33.77, + -85.21, + -14.52, + -23.31, + -27.36, + -63.51, + -61.59, + -13.6, + -20.96, + -33.99, + -31.92, + -43.96, + -26.19, + -20.55, + -23.28, + -25.26, + -23.79, + -76.02 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1542.652, + "spectral_flatness_median": 0.006 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Теперь. Я не шучу. Поворачивайте назад, иначе я вас убью.", + "text_chars_per_sec": 13.988 + }, + "pipeline_control": { + "tts_text": "Теперь. Я не шучу. Поворачивайте назад, иначе я вас убью.", + "duration_stage": "post", + "speaker_reference": "0072" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0143.json b/Models/Russian_CosyVoice3/profiles/0143.json new file mode 100644 index 0000000000000000000000000000000000000000..14527c08c1a238bf53c8aa53b6e15d8fc9d9f76c --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0143.json @@ -0,0 +1,165 @@ +{ + "file": "references/0143.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 3.521, + "voiced_fraction": 0.615, + "pause_map": [ + { + "start": 1.3, + "end": 1.82, + "duration": 0.52 + } + ], + "f0_hz": { + "median": 206.362, + "p10_p90": [ + 164.739, + 248.259 + ], + "contour_20_points": [ + 238.42, + 244.75, + 196.97, + 200.87, + 245.16, + 246.83, + 178.42, + 164.05, + 171.17, + 186.71, + 202.25, + 206.22, + 208.76, + 251.33, + 228.0, + 194.78, + 185.98, + 164.74, + 165.69, + 165.69 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -70.164, + -21.827, + -13.122 + ], + "dynamic_range_db": 57.041, + "contour_20_points": [ + -80.72, + -12.95, + -24.01, + -29.9, + -23.36, + -14.43, + -22.43, + -39.3, + -69.71, + -72.72, + -15.77, + -20.53, + -17.11, + -20.57, + -9.56, + -11.7, + -18.47, + -15.26, + -45.03, + -73.56 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 2891.667, + "spectral_flatness_median": 0.012 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Я собираюсь вас убить, а весь торт уже закончился.", + "text_chars_per_sec": 14.2, + "source": { + "file": "sources_silero/0143.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 2.9, + "voiced_fraction": 0.704, + "pause_map": [], + "f0_hz": { + "median": 206.362, + "p10_p90": [ + 184.702, + 238.421 + ], + "contour_20_points": [ + 249.7, + 228.24, + 224.92, + 230.25, + 248.41, + 225.27, + 200.49, + 190.68, + 208.51, + 203.35, + 195.2, + 207.55, + 234.54, + 215.4, + 196.99, + 190.0, + 177.07, + 169.98, + 163.79, + 163.79 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -45.369, + -22.69, + -14.354 + ], + "dynamic_range_db": 31.015, + "contour_20_points": [ + -84.94, + -20.63, + -18.67, + -17.5, + -13.74, + -23.39, + -22.61, + -24.63, + -21.53, + -35.83, + -21.39, + -22.19, + -13.59, + -26.43, + -19.84, + -38.72, + -26.11, + -32.59, + -43.4, + -74.69 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1918.553, + "spectral_flatness_median": 0.018 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Я собираюсь вас убить, а весь торт уже закончился.", + "text_chars_per_sec": 17.241 + }, + "pipeline_control": { + "tts_text": "Я собираюсь вас убить, а весь торт уже закончился.", + "duration_stage": "pre", + "speaker_reference": "0143" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0177.json b/Models/Russian_CosyVoice3/profiles/0177.json new file mode 100644 index 0000000000000000000000000000000000000000..150c94802a34aede7acfe85ee3eb92781872df2b --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0177.json @@ -0,0 +1,175 @@ +{ + "file": "references/0177.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 10.112, + "voiced_fraction": 0.837, + "pause_map": [], + "f0_hz": { + "median": 127.767, + "p10_p90": [ + 121.997, + 139.653 + ], + "contour_20_points": [ + 133.04, + 122.86, + 142.26, + 136.41, + 124.13, + 124.13, + 133.56, + 174.53, + 123.97, + 124.1, + 130.59, + 114.57, + 131.51, + 140.14, + 131.44, + 162.2, + 138.1, + 123.25, + 130.0, + 114.49 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -16.479, + -8.717, + -5.692 + ], + "dynamic_range_db": 10.787, + "contour_20_points": [ + -61.57, + -7.72, + -15.92, + -10.7, + -6.59, + -7.52, + -6.91, + -5.24, + -8.43, + -7.91, + -7.98, + -5.95, + -8.18, + -13.27, + -6.63, + -13.23, + -8.29, + -6.97, + -7.36, + -41.0 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1132.334, + "spectral_flatness_median": 0.001 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.", + "text_chars_per_sec": 17.207, + "source": { + "file": "sources_silero/0177.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 9.338, + "voiced_fraction": 0.746, + "pause_map": [ + { + "start": 1.25, + "end": 1.6, + "duration": 0.35 + }, + { + "start": 3.07, + "end": 3.21, + "duration": 0.14 + }, + { + "start": 5.61, + "end": 5.73, + "duration": 0.12 + } + ], + "f0_hz": { + "median": 195.908, + "p10_p90": [ + 175.545, + 226.343 + ], + "contour_20_points": [ + 238.42, + 221.17, + 167.06, + 195.84, + 226.78, + 203.8, + 188.0, + 199.33, + 200.49, + 183.53, + 178.15, + 222.45, + 193.95, + 198.79, + 187.03, + 188.38, + 190.68, + 200.49, + 178.61, + 188.15 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -41.703, + -23.42, + -16.499 + ], + "dynamic_range_db": 25.204, + "contour_20_points": [ + -72.77, + -12.27, + -18.25, + -54.47, + -37.61, + -20.4, + -21.82, + -18.08, + -21.21, + -22.47, + -20.42, + -16.53, + -20.29, + -26.57, + -20.09, + -34.14, + -23.92, + -17.98, + -31.23, + -71.2 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1420.344, + "spectral_flatness_median": 0.005 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.", + "text_chars_per_sec": 18.635 + }, + "pipeline_control": { + "tts_text": "Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.", + "duration_stage": "pre", + "speaker_reference": "0177" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0208.json b/Models/Russian_CosyVoice3/profiles/0208.json new file mode 100644 index 0000000000000000000000000000000000000000..39c9c8137b1cc59b5358cb99d55f2ea047ae10b7 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0208.json @@ -0,0 +1,221 @@ +{ + "file": "references/0208.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 10.029, + "voiced_fraction": 0.41, + "pause_map": [ + { + "start": 1.28, + "end": 1.37, + "duration": 0.09 + }, + { + "start": 1.68, + "end": 2.26, + "duration": 0.58 + }, + { + "start": 2.62, + "end": 2.77, + "duration": 0.15 + }, + { + "start": 3.46, + "end": 3.73, + "duration": 0.27 + }, + { + "start": 5.22, + "end": 5.44, + "duration": 0.22 + }, + { + "start": 5.92, + "end": 6.24, + "duration": 0.32 + } + ], + "f0_hz": { + "median": 185.984, + "p10_p90": [ + 115.817, + 307.413 + ], + "contour_20_points": [ + 169.57, + 159.63, + 263.36, + 437.27, + 356.17, + 281.8, + 243.33, + 204.23, + 212.08, + 210.38, + 274.54, + 331.55, + 388.57, + 445.58, + 479.6, + 195.62, + 164.29, + 116.03, + 121.02, + 137.73 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -49.648, + -15.552, + -8.812 + ], + "dynamic_range_db": 40.836, + "contour_20_points": [ + -63.96, + -8.35, + -16.6, + -9.47, + -55.84, + -44.47, + -27.62, + -57.49, + -11.69, + -29.76, + -55.79, + -24.67, + -18.95, + -12.51, + -10.5, + -9.1, + -9.55, + -12.14, + -14.25, + -55.53 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1982.711, + "spectral_flatness_median": 0.025 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Нейротоксин... [кашель] [кашель] Такой смертельный... задыхаюсь... [смех] Шучу!", + "text_chars_per_sec": 7.877, + "source": { + "file": "sources_silero/0208.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 6.425, + "voiced_fraction": 0.557, + "pause_map": [ + { + "start": 1.12, + "end": 1.5, + "duration": 0.38 + }, + { + "start": 1.95, + "end": 2.29, + "duration": 0.34 + }, + { + "start": 2.74, + "end": 3.01, + "duration": 0.27 + }, + { + "start": 3.96, + "end": 4.12, + "duration": 0.16 + }, + { + "start": 4.83, + "end": 5.03, + "duration": 0.2 + }, + { + "start": 5.48, + "end": 5.79, + "duration": 0.31 + } + ], + "f0_hz": { + "median": 215.499, + "p10_p90": [ + 177.585, + 260.452 + ], + "contour_20_points": [ + 270.73, + 247.77, + 260.0, + 170.01, + 219.53, + 206.14, + 208.0, + 243.0, + 178.61, + 219.47, + 249.24, + 180.74, + 252.34, + 255.04, + 183.44, + 236.06, + 171.42, + 235.98, + 223.93, + 194.78 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -71.844, + -29.089, + -15.943 + ], + "dynamic_range_db": 55.902, + "contour_20_points": [ + -77.92, + -22.32, + -17.29, + -24.88, + -60.0, + -20.58, + -60.13, + -12.25, + -32.96, + -19.41, + -14.99, + -20.67, + -63.99, + -35.79, + -31.51, + -32.15, + -32.38, + -79.22, + -21.52, + -59.8 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1596.167, + "spectral_flatness_median": 0.013 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Нейротоксин. Кашель. Кашель. Такой смертельный. Задыхаюсь. Смех. Шучу!", + "text_chars_per_sec": 10.895 + }, + "pipeline_control": { + "tts_text": "Нейротоксин. Кашель. Кашель. Такой смертельный. Задыхаюсь. Смех. Шучу!", + "duration_stage": "pre", + "speaker_reference": "0208" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0224.json b/Models/Russian_CosyVoice3/profiles/0224.json new file mode 100644 index 0000000000000000000000000000000000000000..ec14c8fa787f6bf0d4f54e1750c0a2b102630f4e --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0224.json @@ -0,0 +1,170 @@ +{ + "file": "references/0224.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 3.413, + "voiced_fraction": 0.801, + "pause_map": [], + "f0_hz": { + "median": 155.492, + "p10_p90": [ + 146.765, + 195.908 + ], + "contour_20_points": [ + 200.49, + 200.49, + 195.91, + 197.04, + 147.62, + 174.53, + 172.53, + 156.39, + 181.02, + 185.25, + 146.77, + 146.77, + 149.98, + 156.39, + 156.39, + 146.77, + 155.49, + 130.75, + 98.68, + 65.76 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -24.6, + -10.474, + -7.208 + ], + "dynamic_range_db": 17.392, + "contour_20_points": [ + -60.21, + -18.8, + -14.82, + -9.61, + -7.83, + -11.15, + -11.76, + -6.95, + -10.77, + -14.26, + -11.4, + -7.96, + -7.52, + -6.23, + -8.08, + -7.29, + -10.35, + -9.48, + -27.46, + -53.9 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1520.493, + "spectral_flatness_median": 0.004 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.", + "text_chars_per_sec": 20.215, + "source": { + "file": "sources_silero/0224.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 4.412, + "voiced_fraction": 0.767, + "pause_map": [ + { + "start": 0.97, + "end": 1.22, + "duration": 0.25 + }, + { + "start": 2.32, + "end": 2.42, + "duration": 0.1 + } + ], + "f0_hz": { + "median": 201.649, + "p10_p90": [ + 175.545, + 242.87 + ], + "contour_20_points": [ + 211.19, + 241.5, + 221.24, + 186.71, + 187.41, + 220.5, + 280.49, + 241.8, + 202.57, + 186.88, + 229.36, + 234.44, + 212.35, + 212.52, + 212.84, + 199.74, + 194.61, + 172.73, + 174.61, + 205.17 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -48.496, + -23.027, + -15.89 + ], + "dynamic_range_db": 32.606, + "contour_20_points": [ + -49.41, + -11.53, + -41.93, + -22.95, + -35.83, + -74.98, + -14.58, + -17.2, + -18.56, + -36.47, + -45.71, + -17.18, + -20.87, + -17.67, + -20.25, + -17.24, + -22.16, + -19.88, + -27.7, + -76.83 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1352.808, + "spectral_flatness_median": 0.004 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.", + "text_chars_per_sec": 15.637 + }, + "pipeline_control": { + "tts_text": "Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.", + "duration_stage": "pre", + "speaker_reference": "0224" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0234.json b/Models/Russian_CosyVoice3/profiles/0234.json new file mode 100644 index 0000000000000000000000000000000000000000..78d248889b178cc8991704b774ec7825ff58f412 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0234.json @@ -0,0 +1,221 @@ +{ + "file": "references/0234.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 11.572, + "voiced_fraction": 0.565, + "pause_map": [ + { + "start": 0.64, + "end": 0.92, + "duration": 0.28 + }, + { + "start": 1.35, + "end": 1.66, + "duration": 0.31 + }, + { + "start": 4.45, + "end": 5.73, + "duration": 1.28 + }, + { + "start": 8.42, + "end": 9.11, + "duration": 0.69 + }, + { + "start": 9.96, + "end": 10.72, + "duration": 0.76 + } + ], + "f0_hz": { + "median": 146.765, + "p10_p90": [ + 133.039, + 187.061 + ], + "contour_20_points": [ + 226.34, + 121.76, + 147.06, + 153.46, + 133.04, + 158.64, + 140.95, + 128.25, + 146.1, + 199.1, + 167.13, + 140.16, + 179.25, + 173.74, + 148.83, + 181.5, + 152.82, + 166.79, + 161.02, + 175.55 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -84.258, + -16.452, + -7.431 + ], + "dynamic_range_db": 76.827, + "contour_20_points": [ + -61.6, + -30.22, + -36.11, + -13.0, + -8.67, + -4.63, + -7.11, + -20.06, + -84.26, + -84.26, + -25.0, + -7.39, + -10.21, + -6.15, + -84.26, + -24.11, + -21.92, + -84.26, + -7.6, + -48.66 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1553.732, + "spectral_flatness_median": 0.014 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.", + "text_chars_per_sec": 12.876, + "source": { + "file": "sources_silero/0234.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 10.6, + "voiced_fraction": 0.702, + "pause_map": [ + { + "start": 0.72, + "end": 1.05, + "duration": 0.33 + }, + { + "start": 1.77, + "end": 2.19, + "duration": 0.42 + }, + { + "start": 4.9, + "end": 5.27, + "duration": 0.37 + }, + { + "start": 5.58, + "end": 5.67, + "duration": 0.09 + }, + { + "start": 6.21, + "end": 6.3, + "duration": 0.09 + }, + { + "start": 8.37, + "end": 8.76, + "duration": 0.39 + }, + { + "start": 9.59, + "end": 9.71, + "duration": 0.12 + } + ], + "f0_hz": { + "median": 200.487, + "p10_p90": [ + 175.545, + 242.589 + ], + "contour_20_points": [ + 252.6, + 174.38, + 243.99, + 199.28, + 225.25, + 200.49, + 199.94, + 194.72, + 189.98, + 208.93, + 234.47, + 211.57, + 184.16, + 194.25, + 175.95, + 209.63, + 199.76, + 192.08, + 180.25, + 161.91 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -63.631, + -24.666, + -16.533 + ], + "dynamic_range_db": 47.098, + "contour_20_points": [ + -74.29, + -23.38, + -15.93, + -32.94, + -15.09, + -18.05, + -20.94, + -25.39, + -22.57, + -77.7, + -45.78, + -23.11, + -27.31, + -19.96, + -33.76, + -45.06, + -17.73, + -25.3, + -20.13, + -85.98 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1301.132, + "spectral_flatness_median": 0.004 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.", + "text_chars_per_sec": 14.057 + }, + "pipeline_control": { + "tts_text": "Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.", + "duration_stage": "pre", + "speaker_reference": "0234" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0258.json b/Models/Russian_CosyVoice3/profiles/0258.json new file mode 100644 index 0000000000000000000000000000000000000000..65e165e5ff9a9deccb227ada53ff7ae30ad476e4 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0258.json @@ -0,0 +1,211 @@ +{ + "file": "references/0258.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 11.102, + "voiced_fraction": 0.68, + "pause_map": [ + { + "start": 0.92, + "end": 1.28, + "duration": 0.36 + }, + { + "start": 2.93, + "end": 3.77, + "duration": 0.84 + }, + { + "start": 5.6, + "end": 6.37, + "duration": 0.77 + }, + { + "start": 7.32, + "end": 7.55, + "duration": 0.23 + }, + { + "start": 8.74, + "end": 9.24, + "duration": 0.5 + } + ], + "f0_hz": { + "median": 151.066, + "p10_p90": [ + 67.292, + 207.558 + ], + "contour_20_points": [ + 216.12, + 146.77, + 68.41, + 167.51, + 148.47, + 137.67, + 167.67, + 192.57, + 138.53, + 216.32, + 65.37, + 194.78, + 219.67, + 221.17, + 159.71, + 108.39, + 156.23, + 155.19, + 130.75, + 168.59 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -50.311, + -14.593, + -7.248 + ], + "dynamic_range_db": 43.063, + "contour_20_points": [ + -68.53, + -7.02, + -47.14, + -5.05, + -9.03, + -34.79, + -84.79, + -10.82, + -7.72, + -17.51, + -48.82, + -7.79, + -8.61, + -10.14, + -24.11, + -42.31, + -7.21, + -7.5, + -16.64, + -45.91 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1341.756, + "spectral_flatness_median": 0.004 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.", + "text_chars_per_sec": 12.43, + "source": { + "file": "sources_silero/0258.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 9.0, + "voiced_fraction": 0.714, + "pause_map": [ + { + "start": 2.08, + "end": 2.37, + "duration": 0.29 + }, + { + "start": 3.44, + "end": 3.53, + "duration": 0.09 + }, + { + "start": 4.3, + "end": 4.43, + "duration": 0.13 + }, + { + "start": 5.88, + "end": 6.19, + "duration": 0.31 + }, + { + "start": 7.13, + "end": 7.53, + "duration": 0.4 + } + ], + "f0_hz": { + "median": 201.649, + "p10_p90": [ + 169.566, + 228.973 + ], + "contour_20_points": [ + 234.33, + 202.98, + 251.83, + 211.06, + 207.02, + 262.45, + 233.4, + 158.6, + 216.32, + 176.51, + 196.76, + 200.8, + 173.27, + 200.04, + 196.51, + 170.81, + 213.51, + 206.36, + 169.93, + 168.59 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -59.701, + -22.969, + -14.064 + ], + "dynamic_range_db": 45.637, + "contour_20_points": [ + -82.8, + -28.53, + -11.42, + -14.71, + -54.51, + -39.98, + -37.88, + -28.97, + -14.0, + -29.0, + -26.98, + -24.18, + -26.0, + -80.7, + -22.61, + -39.82, + -17.19, + -32.76, + -29.57, + -85.14 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1494.706, + "spectral_flatness_median": 0.006 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.", + "text_chars_per_sec": 15.333 + }, + "pipeline_control": { + "tts_text": "Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.", + "duration_stage": "pre", + "speaker_reference": "0258" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0285.json b/Models/Russian_CosyVoice3/profiles/0285.json new file mode 100644 index 0000000000000000000000000000000000000000..d963e6e3224212aac5c8ea1af6120a74a985be41 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0285.json @@ -0,0 +1,236 @@ +{ + "file": "references/0285.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 16.901, + "voiced_fraction": 0.698, + "pause_map": [ + { + "start": 0.86, + "end": 1.05, + "duration": 0.19 + }, + { + "start": 1.94, + "end": 2.54, + "duration": 0.6 + }, + { + "start": 5.52, + "end": 6.84, + "duration": 1.32 + }, + { + "start": 7.61, + "end": 7.75, + "duration": 0.14 + }, + { + "start": 9.31, + "end": 9.48, + "duration": 0.17 + }, + { + "start": 10.98, + "end": 11.19, + "duration": 0.21 + }, + { + "start": 11.81, + "end": 12.19, + "duration": 0.38 + }, + { + "start": 15.86, + "end": 16.05, + "duration": 0.19 + } + ], + "f0_hz": { + "median": 156.393, + "p10_p90": [ + 130.0, + 203.992 + ], + "contour_20_points": [ + 246.83, + 173.42, + 146.84, + 195.75, + 207.56, + 186.55, + 130.0, + 65.99, + 175.77, + 155.49, + 155.08, + 165.69, + 167.06, + 154.72, + 201.65, + 159.48, + 177.32, + 137.46, + 158.65, + 117.84 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -56.469, + -15.672, + -9.548 + ], + "dynamic_range_db": 46.922, + "contour_20_points": [ + -79.11, + -46.41, + -9.44, + -11.26, + -7.81, + -34.92, + -16.03, + -86.56, + -21.64, + -11.93, + -20.73, + -13.31, + -11.05, + -11.69, + -26.67, + -12.21, + -13.55, + -22.1, + -57.43, + -48.11 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1530.132, + "spectral_flatness_median": 0.005 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.", + "text_chars_per_sec": 14.023, + "source": { + "file": "sources_silero/0285.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 13.95, + "voiced_fraction": 0.701, + "pause_map": [ + { + "start": 0.97, + "end": 1.31, + "duration": 0.34 + }, + { + "start": 3.83, + "end": 4.14, + "duration": 0.31 + }, + { + "start": 5.88, + "end": 6.0, + "duration": 0.12 + }, + { + "start": 7.14, + "end": 7.49, + "duration": 0.35 + }, + { + "start": 8.13, + "end": 8.51, + "duration": 0.38 + }, + { + "start": 10.87, + "end": 10.95, + "duration": 0.08 + }, + { + "start": 12.96, + "end": 13.09, + "duration": 0.13 + } + ], + "f0_hz": { + "median": 197.043, + "p10_p90": [ + 173.529, + 227.654 + ], + "contour_20_points": [ + 343.07, + 169.15, + 214.78, + 219.98, + 204.8, + 157.4, + 244.07, + 211.19, + 212.97, + 192.78, + 213.1, + 171.44, + 218.63, + 202.09, + 192.9, + 198.42, + 200.94, + 193.48, + 202.38, + 187.06 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -57.922, + -22.639, + -16.043 + ], + "dynamic_range_db": 41.879, + "contour_20_points": [ + -64.18, + -17.86, + -24.83, + -12.87, + -16.39, + -23.57, + -14.38, + -19.79, + -39.83, + -20.47, + -64.2, + -26.99, + -15.05, + -28.24, + -19.56, + -22.96, + -27.93, + -20.82, + -28.62, + -80.78 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1614.632, + "spectral_flatness_median": 0.007 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.", + "text_chars_per_sec": 16.989 + }, + "pipeline_control": { + "tts_text": "Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.", + "duration_stage": "pre", + "speaker_reference": "0285" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0304.json b/Models/Russian_CosyVoice3/profiles/0304.json new file mode 100644 index 0000000000000000000000000000000000000000..99a1b38875c5eec2b9e9a1a829aa07523bc21782 --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0304.json @@ -0,0 +1,206 @@ +{ + "file": "references/0304.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 12.852, + "voiced_fraction": 0.668, + "pause_map": [ + { + "start": 0.85, + "end": 1.24, + "duration": 0.39 + }, + { + "start": 2.21, + "end": 2.48, + "duration": 0.27 + }, + { + "start": 4.24, + "end": 4.74, + "duration": 0.5 + }, + { + "start": 5.68, + "end": 5.86, + "duration": 0.18 + }, + { + "start": 8.38, + "end": 8.97, + "duration": 0.59 + }, + { + "start": 12.29, + "end": 12.39, + "duration": 0.1 + } + ], + "f0_hz": { + "median": 174.534, + "p10_p90": [ + 147.616, + 235.683 + ], + "contour_20_points": [ + 277.06, + 138.81, + 195.91, + 166.72, + 150.07, + 191.93, + 146.77, + 285.72, + 163.79, + 232.98, + 183.45, + 157.23, + 156.39, + 225.74, + 293.5, + 196.3, + 194.78, + 167.62, + 157.3, + 176.56 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -53.007, + -13.893, + -7.969 + ], + "dynamic_range_db": 45.037, + "contour_20_points": [ + -76.71, + -15.15, + -7.21, + -11.49, + -11.62, + -39.05, + -12.28, + -41.42, + -11.19, + -10.19, + -12.0, + -8.92, + -13.58, + -85.62, + -7.7, + -7.02, + -10.76, + -9.29, + -11.38, + -85.62 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1559.613, + "spectral_flatness_median": 0.004 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?", + "text_chars_per_sec": 12.683, + "source": { + "file": "sources_silero/0304.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 10.8, + "voiced_fraction": 0.711, + "pause_map": [ + { + "start": 1.06, + "end": 1.33, + "duration": 0.27 + }, + { + "start": 3.81, + "end": 4.15, + "duration": 0.34 + }, + { + "start": 6.62, + "end": 6.97, + "duration": 0.35 + } + ], + "f0_hz": { + "median": 225.04, + "p10_p90": [ + 193.658, + 263.021 + ], + "contour_20_points": [ + 222.45, + 279.75, + 205.47, + 302.35, + 209.52, + 188.15, + 228.7, + 475.66, + 261.37, + 257.01, + 209.46, + 184.63, + 227.77, + 250.24, + 230.58, + 233.97, + 209.33, + 206.63, + 242.37, + 190.33 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -52.628, + -23.772, + -16.459 + ], + "dynamic_range_db": 36.169, + "contour_20_points": [ + -83.74, + -26.13, + -57.53, + -22.1, + -25.83, + -27.7, + -16.49, + -57.44, + -26.35, + -20.68, + -15.97, + -24.13, + -50.39, + -22.95, + -18.93, + -24.5, + -18.55, + -34.84, + -16.24, + -79.38 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1807.522, + "spectral_flatness_median": 0.009 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?", + "text_chars_per_sec": 15.093 + }, + "pipeline_control": { + "tts_text": "Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?", + "duration_stage": "pre", + "speaker_reference": "0304" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0349.json b/Models/Russian_CosyVoice3/profiles/0349.json new file mode 100644 index 0000000000000000000000000000000000000000..3ab92c1332fad733d6604bb8d751a7f0c9f8717e --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0349.json @@ -0,0 +1,159 @@ +{ + "file": "references/0349.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 2.011, + "voiced_fraction": 0.634, + "pause_map": [], + "f0_hz": { + "median": 143.416, + "p10_p90": [ + 65.0, + 164.739 + ], + "contour_20_points": [ + 167.62, + 167.62, + 164.57, + 164.74, + 140.67, + 149.33, + 147.17, + 144.67, + 138.53, + 148.26, + 161.91, + 164.74, + 155.26, + 138.23, + 135.04, + 109.08, + 78.38, + 65.03, + 65.0, + 65.0 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -55.024, + -14.614, + -6.991 + ], + "dynamic_range_db": 48.033, + "contour_20_points": [ + -72.31, + -58.45, + -12.16, + -7.26, + -9.3, + -7.77, + -10.6, + -15.88, + -10.42, + -15.0, + -9.69, + -6.37, + -8.16, + -12.09, + -27.93, + -14.19, + -35.54, + -49.23, + -55.16, + -60.32 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1689.533, + "spectral_flatness_median": 0.008 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Я так сильно вас ненавижу.", + "text_chars_per_sec": 12.926, + "source": { + "file": "sources_silero/0349.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 1.675, + "voiced_fraction": 0.75, + "pause_map": [], + "f0_hz": { + "median": 213.639, + "p10_p90": [ + 172.53, + 257.014 + ], + "contour_20_points": [ + 258.5, + 258.5, + 243.32, + 231.04, + 246.83, + 248.03, + 251.86, + 258.29, + 257.8, + 243.51, + 218.04, + 210.0, + 231.31, + 214.62, + 194.31, + 185.23, + 168.59, + 172.19, + 172.53, + 180.69 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -54.132, + -22.61, + -14.893 + ], + "dynamic_range_db": 39.239, + "contour_20_points": [ + -79.0, + -65.0, + -47.82, + -14.96, + -37.7, + -16.98, + -24.56, + -21.99, + -16.98, + -13.53, + -20.29, + -15.42, + -35.15, + -20.98, + -20.93, + -22.92, + -22.11, + -28.64, + -29.19, + -53.43 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1518.037, + "spectral_flatness_median": 0.006 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Я так сильно вас ненавижу.", + "text_chars_per_sec": 15.522 + }, + "pipeline_control": { + "tts_text": "Я так сильно вас ненавижу.", + "duration_stage": "pre", + "speaker_reference": "0349" + } +} diff --git a/Models/Russian_CosyVoice3/profiles/0553.json b/Models/Russian_CosyVoice3/profiles/0553.json new file mode 100644 index 0000000000000000000000000000000000000000..9c36efce6d3da1513bef951b7195630da9a18c5a --- /dev/null +++ b/Models/Russian_CosyVoice3/profiles/0553.json @@ -0,0 +1,181 @@ +{ + "file": "references/0553.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 8.882, + "voiced_fraction": 0.73, + "pause_map": [ + { + "start": 0.52, + "end": 0.93, + "duration": 0.41 + }, + { + "start": 3.61, + "end": 4.01, + "duration": 0.4 + }, + { + "start": 5.95, + "end": 6.47, + "duration": 0.52 + } + ], + "f0_hz": { + "median": 157.299, + "p10_p90": [ + 137.73, + 208.76 + ], + "contour_20_points": [ + 201.65, + 207.56, + 235.41, + 195.64, + 140.14, + 139.33, + 183.24, + 153.13, + 152.37, + 219.01, + 148.08, + 155.49, + 189.18, + 96.88, + 185.98, + 208.76, + 158.15, + 154.6, + 145.56, + 136.15 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -45.494, + -11.07, + -7.453 + ], + "dynamic_range_db": 38.041, + "contour_20_points": [ + -76.04, + -14.63, + -24.7, + -9.75, + -16.98, + -9.57, + -9.39, + -15.31, + -46.5, + -23.75, + -7.64, + -9.06, + -7.45, + -44.63, + -7.98, + -7.38, + -9.48, + -8.05, + -12.27, + -49.99 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1245.477, + "spectral_flatness_median": 0.002 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.", + "text_chars_per_sec": 14.074, + "source": { + "file": "sources_silero/0553.wav", + "sample_rate_for_analysis": 16000, + "duration_sec": 6.662, + "voiced_fraction": 0.85, + "pause_map": [ + { + "start": 4.32, + "end": 4.52, + "duration": 0.2 + } + ], + "f0_hz": { + "median": 209.969, + "p10_p90": [ + 178.614, + 256.125 + ], + "contour_20_points": [ + 269.17, + 235.95, + 208.44, + 204.7, + 215.47, + 236.63, + 231.92, + 164.09, + 234.48, + 187.26, + 215.3, + 202.49, + 170.76, + 202.82, + 213.64, + 203.96, + 199.27, + 202.82, + 171.17, + 192.54 + ] + }, + "energy_db": { + "p10_p50_p90": [ + -37.486, + -19.977, + -14.519 + ], + "dynamic_range_db": 22.967, + "contour_20_points": [ + -64.65, + -13.02, + -17.89, + -18.01, + -17.37, + -14.03, + -15.38, + -41.41, + -18.49, + -22.35, + -15.53, + -14.85, + -21.13, + -20.53, + -18.16, + -17.41, + -18.13, + -22.61, + -22.45, + -76.76 + ] + }, + "timbral_proxies": { + "spectral_centroid_hz_median": 1142.952, + "spectral_flatness_median": 0.002 + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile" + }, + "text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.", + "text_chars_per_sec": 18.762 + }, + "pipeline_control": { + "tts_text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.", + "duration_stage": "post", + "speaker_reference": "0234" + } +} diff --git a/Models/Russian_CosyVoice3/prosody_profile.py b/Models/Russian_CosyVoice3/prosody_profile.py new file mode 100644 index 0000000000000000000000000000000000000000..e999ac727ab4e65fd774b806d6e08bf284f0896e --- /dev/null +++ b/Models/Russian_CosyVoice3/prosody_profile.py @@ -0,0 +1,132 @@ +"""Extract an auditable prosody profile from a GLaDOS reference clip.""" +import argparse +import json +import subprocess +from pathlib import Path + +import librosa +import numpy as np +import soundfile as sf + + +def finite_percentiles(values, percentiles): + values = np.asarray(values) + values = values[np.isfinite(values)] + if len(values) == 0: + return [None for _ in percentiles] + return [round(float(x), 3) for x in np.percentile(values, percentiles)] + + +def analyze(path: Path, text: str | None = None) -> dict: + audio, sr = librosa.load(str(path), sr=16000, mono=True) + duration = len(audio) / sr + hop = 160 + f0, voiced, _ = librosa.pyin( + audio, + fmin=65, + fmax=500, + sr=sr, + frame_length=1024, + hop_length=hop, + ) + rms = librosa.feature.rms(y=audio, frame_length=1024, hop_length=hop)[0] + rms_db = librosa.amplitude_to_db(np.maximum(rms, 1e-8), ref=1.0) + centroid = librosa.feature.spectral_centroid(y=audio, sr=sr, hop_length=hop)[0] + flatness = librosa.feature.spectral_flatness(y=audio, hop_length=hop)[0] + intervals = librosa.effects.split(audio, top_db=32, frame_length=1024, hop_length=hop) + pauses = [] + for left, right in zip(intervals, intervals[1:]): + start = right[0] / sr + end = left[1] / sr + if start - end >= 0.08: + pauses.append({"start": round(end, 3), "end": round(start, 3), "duration": round(start - end, 3)}) + + voiced_f0 = f0[np.isfinite(f0) & voiced] + times = np.arange(len(f0)) * hop / sr + valid = np.isfinite(f0) + contour_times = np.linspace(0, duration, 20) + if valid.any(): + contour_f0 = np.interp(contour_times, times[valid], f0[valid]) + else: + contour_f0 = np.full_like(contour_times, np.nan) + energy_times = np.arange(len(rms_db)) * hop / sr + contour_energy = np.interp(contour_times, energy_times, rms_db) + + profile = { + "file": str(path), + "sample_rate_for_analysis": sr, + "duration_sec": round(duration, 3), + "voiced_fraction": round(float(np.mean(voiced)), 3), + "pause_map": pauses, + "f0_hz": { + "median": finite_percentiles(voiced_f0, [50])[0], + "p10_p90": finite_percentiles(voiced_f0, [10, 90]), + "contour_20_points": [round(float(x), 2) for x in contour_f0], + }, + "energy_db": { + "p10_p50_p90": finite_percentiles(rms_db, [10, 50, 90]), + "dynamic_range_db": round(float(np.percentile(rms_db, 90) - np.percentile(rms_db, 10)), 3), + "contour_20_points": [round(float(x), 2) for x in contour_energy], + }, + "timbral_proxies": { + "spectral_centroid_hz_median": finite_percentiles(centroid, [50])[0], + "spectral_flatness_median": finite_percentiles(flatness, [50])[0], + }, + "interpretation": { + "target": "soft, close-mic, restrained mechanical delivery", + "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing", + "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile", + }, + } + if text: + profile["text"] = text + profile["text_chars_per_sec"] = round(len(text) / duration, 3) + return profile + + +def warp_duration(source: Path, reference: Path, output: Path) -> None: + reference_duration = librosa.get_duration(path=str(reference)) + output.parent.mkdir(parents=True, exist_ok=True) + subprocess.run( + [ + "rubberband", + "-3", + "-D", + f"{reference_duration:.6f}", + str(source), + str(output), + ], + check=True, + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + ) + audio, sr = sf.read(output, always_2d=False) + peak = float(np.max(np.abs(audio))) + if peak > 0.95: + audio = audio * (0.95 / peak) + sf.write(output, audio, sr, subtype="PCM_16") + + +def main() -> None: + parser = argparse.ArgumentParser() + parser.add_argument("--reference", type=Path, required=True) + parser.add_argument("--source", type=Path) + parser.add_argument("--text") + parser.add_argument("--output-profile", type=Path, required=True) + parser.add_argument("--warp-source", type=Path) + args = parser.parse_args() + + profile = analyze(args.reference, args.text) + if args.source: + profile["source"] = analyze(args.source, args.text) + args.output_profile.parent.mkdir(parents=True, exist_ok=True) + args.output_profile.write_text(json.dumps(profile, ensure_ascii=False, indent=2) + "\n", encoding="utf-8") + if args.warp_source: + if not args.source: + raise SystemExit("--warp-source requires --source") + warp_duration(args.source, args.reference, args.warp_source) + print(json.dumps(profile, ensure_ascii=False, indent=2)) + + +if __name__ == "__main__": + main() diff --git a/Models/Russian_CosyVoice3/qa_cosyvoice_batch.py b/Models/Russian_CosyVoice3/qa_cosyvoice_batch.py new file mode 100644 index 0000000000000000000000000000000000000000..8b3fc8ba01b5ad8100382ab83ac17e7301147a72 --- /dev/null +++ b/Models/Russian_CosyVoice3/qa_cosyvoice_batch.py @@ -0,0 +1,207 @@ +"""Validate the Russian CosyVoice sample pack and optionally run GigaAM ASR.""" + +from __future__ import annotations + +import argparse +import csv +from datetime import datetime, timezone +import json +from pathlib import Path +import re +from statistics import mean +from typing import Any + +import numpy as np +import soundfile as sf + +try: + from glados_ru.align_pitch import median_f0 +except ModuleNotFoundError: # Support ``python glados_ru/qa_cosyvoice_batch.py``. + from align_pitch import median_f0 + + +ROOT = Path(__file__).parent +DEFAULT_REFERENCES = ROOT / "references" +DEFAULT_OUTPUTS = ROOT / "generated_cosyvoice_vc_batch_gpu_pitch" +DEFAULT_REPORT = ROOT / "qa_report.json" + + +def transcript_words(text: str) -> list[str]: + """Return comparable Russian words; ASR commonly folds ``ё`` into ``е``.""" + return re.findall(r"[а-я0-9]+", text.lower().replace("ё", "е")) + + +def word_error_rate(expected: str, actual: str) -> float: + """Compute Levenshtein distance over normalized words.""" + left = transcript_words(expected) + right = transcript_words(actual) + distance = list(range(len(right) + 1)) + for left_index, left_word in enumerate(left, 1): + updated = [left_index] + for right_index, right_word in enumerate(right, 1): + updated.append( + min( + updated[-1] + 1, + distance[right_index] + 1, + distance[right_index - 1] + (left_word != right_word), + ) + ) + distance = updated + return distance[-1] / max(1, len(left)) + + +def wav_ids(directory: Path) -> set[str]: + return {path.stem for path in directory.glob("*.wav")} + + +def require_matching_ids(directory: Path, expected: set[str]) -> None: + actual = wav_ids(directory) + if actual != expected: + missing = ",".join(sorted(expected - actual)) or "-" + extra = ",".join(sorted(actual - expected)) or "-" + raise ValueError(f"{directory}: missing={missing}; extra={extra}") + + +def load_translations(root: Path = ROOT) -> dict[str, str]: + translations: dict[str, str] = {} + for path in sorted(root.glob("translations_*.tsv")): + with path.open(encoding="utf-8", newline="") as handle: + for row in csv.DictReader(handle, delimiter="\t"): + translations[row["id"].zfill(4)] = row["ru"] + return translations + + +def _load_asr(enabled: bool) -> Any | None: + if not enabled: + return None + try: + import onnx_asr + except ImportError as exc: + raise RuntimeError("Install onnx-asr to use --asr") from exc + return onnx_asr.load_model( + "gigaam-multilingual-ctc", + quantization="int8", + providers=["CPUExecutionProvider"], + ) + + +def audit( + *, + references: Path, + outputs: Path, + translations: dict[str, str], + asr: bool, + max_duration_delta: float, + max_f0_error: float, + max_peak: float, + max_asr_wer: float, +) -> dict[str, Any]: + expected_ids = set(translations) + require_matching_ids(references, expected_ids) + require_matching_ids(outputs, expected_ids) + recognizer = _load_asr(asr) + samples: list[dict[str, Any]] = [] + + for item_id in sorted(expected_ids): + reference = references / f"{item_id}.wav" + output = outputs / f"{item_id}.wav" + reference_info = sf.info(reference) + output_info = sf.info(output) + audio, _ = sf.read(output, always_2d=False) + peak = float(np.max(np.abs(audio))) + duration_delta = abs(output_info.duration - reference_info.duration) + reference_f0 = median_f0(reference) + output_f0 = median_f0(output) + f0_error = abs(output_f0 - reference_f0) / reference_f0 + checks = { + "sample_rate": output_info.samplerate == 24_000, + "mono": output_info.channels == 1, + "pcm16": output_info.subtype == "PCM_16", + "finite": bool(np.isfinite(audio).all()), + "duration": duration_delta <= max_duration_delta, + "peak": peak <= max_peak, + "median_f0": f0_error <= max_f0_error, + } + transcript = None + wer = None + if recognizer is not None: + transcript = recognizer.recognize(str(output)) + wer = word_error_rate(translations[item_id], transcript) + checks["asr_wer"] = wer <= max_asr_wer + samples.append( + { + "id": item_id, + "passed": all(checks.values()), + "checks": checks, + "sample_rate": output_info.samplerate, + "channels": output_info.channels, + "subtype": output_info.subtype, + "duration_seconds": round(output_info.duration, 6), + "reference_duration_seconds": round(reference_info.duration, 6), + "duration_delta_seconds": round(duration_delta, 6), + "peak": round(peak, 6), + "median_f0_hz": round(output_f0, 3), + "reference_median_f0_hz": round(reference_f0, 3), + "median_f0_relative_error": round(f0_error, 6), + "expected_text": translations[item_id], + "asr_transcript": transcript, + "asr_wer": round(wer, 6) if wer is not None else None, + } + ) + + wers = [sample["asr_wer"] for sample in samples if sample["asr_wer"] is not None] + return { + "generated_at": datetime.now(timezone.utc).isoformat(), + "recognizer": "onnx-asr/gigaam-multilingual-ctc-int8" if asr else None, + "thresholds": { + "max_duration_delta_seconds": max_duration_delta, + "max_median_f0_relative_error": max_f0_error, + "max_peak": max_peak, + "max_asr_wer": max_asr_wer if asr else None, + }, + "summary": { + "sample_count": len(samples), + "passed_count": sum(sample["passed"] for sample in samples), + "exact_asr_count": sum(wer == 0 for wer in wers) if wers else None, + "mean_asr_wer": round(mean(wers), 6) if wers else None, + "max_asr_wer": round(max(wers), 6) if wers else None, + "passed": all(sample["passed"] for sample in samples), + }, + "samples": samples, + } + + +def main() -> None: + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--references", type=Path, default=DEFAULT_REFERENCES) + parser.add_argument("--outputs", type=Path, default=DEFAULT_OUTPUTS) + parser.add_argument("--report", type=Path, default=DEFAULT_REPORT) + parser.add_argument("--asr", action="store_true") + parser.add_argument("--max-duration-delta", type=float, default=0.08) + parser.add_argument("--max-f0-error", type=float, default=0.025) + parser.add_argument("--max-peak", type=float, default=0.951) + parser.add_argument("--max-asr-wer", type=float, default=0.10) + args = parser.parse_args() + report = audit( + references=args.references, + outputs=args.outputs, + translations=load_translations(), + asr=args.asr, + max_duration_delta=args.max_duration_delta, + max_f0_error=args.max_f0_error, + max_peak=args.max_peak, + max_asr_wer=args.max_asr_wer, + ) + args.report.parent.mkdir(parents=True, exist_ok=True) + args.report.write_text( + json.dumps(report, ensure_ascii=False, indent=2) + "\n", + encoding="utf-8", + ) + summary = report["summary"] + print(json.dumps(summary, ensure_ascii=False)) + if not summary["passed"]: + raise SystemExit(1) + + +if __name__ == "__main__": + main() diff --git a/Models/Russian_CosyVoice3/qa_report.json b/Models/Russian_CosyVoice3/qa_report.json new file mode 100644 index 0000000000000000000000000000000000000000..889cba0160901154260f64dc97e110088953d8f9 --- /dev/null +++ b/Models/Russian_CosyVoice3/qa_report.json @@ -0,0 +1,560 @@ +{ + "generated_at": "2026-09-05T17:01:20.057653+00:00", + "recognizer": "onnx-asr/gigaam-multilingual-ctc-int8", + "thresholds": { + "max_duration_delta_seconds": 0.08, + "max_median_f0_relative_error": 0.025, + "max_peak": 0.951, + "max_asr_wer": 0.1 + }, + "summary": { + "sample_count": 20, + "passed_count": 20, + "exact_asr_count": 17, + "mean_asr_wer": 0.013636, + "max_asr_wer": 0.090909, + "passed": true + }, + "samples": [ + { + "id": "0000", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 5.94, + "reference_duration_seconds": 5.905034, + "duration_delta_seconds": 0.034966, + "peak": 0.950012, + "median_f0_hz": 175.545, + "reference_median_f0_hz": 176.562, + "median_f0_relative_error": 0.00576, + "expected_text": "И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».", + "asr_transcript": "и снова здравствуйте добро пожаловать в компьютеризированный центр обогащения пертур наука", + "asr_wer": 0.090909 + }, + { + "id": "0007", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 5.46, + "reference_duration_seconds": 5.438005, + "duration_delta_seconds": 0.021995, + "peak": 0.950012, + "median_f0_hz": 178.614, + "reference_median_f0_hz": 179.131, + "median_f0_relative_error": 0.002888, + "expected_text": "Отлично. После каждого теста проходите в шлюзовую камеру.", + "asr_transcript": "отлично после каждого теста проходите в шлюзовую камеру", + "asr_wer": 0.0 + }, + { + "id": "0025", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 6.101333, + "reference_duration_seconds": 6.101338, + "duration_delta_seconds": 5e-06, + "peak": 0.949982, + "median_f0_hz": 167.618, + "reference_median_f0_hz": 169.566, + "median_f0_relative_error": 0.011486, + "expected_text": "Отлично! Запомните: день «Приведи дочь на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.", + "asr_transcript": "отлично запомните день приведи дочь на работу в апертур наука идеальное время чтобы ее протестировали", + "asr_wer": 0.0 + }, + { + "id": "0046", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 3.92, + "reference_duration_seconds": 3.858027, + "duration_delta_seconds": 0.061973, + "peak": 0.950012, + "median_f0_hz": 172.53, + "reference_median_f0_hz": 175.04, + "median_f0_relative_error": 0.014341, + "expected_text": "Прекратите сейчас — и торт подадут немедленно.", + "asr_transcript": "прекратите сейчас и торт подадут немедленно", + "asr_wer": 0.0 + }, + { + "id": "0053", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 4.04, + "reference_duration_seconds": 3.975147, + "duration_delta_seconds": 0.064853, + "peak": 0.950012, + "median_f0_hz": 188.145, + "reference_median_f0_hz": 184.913, + "median_f0_relative_error": 0.01748, + "expected_text": "Например, этот пол вас убьёт. Постарайтесь его избегать.", + "asr_transcript": "например этот пол вас убьет постарайтесь его избегать", + "asr_wer": 0.0 + }, + { + "id": "0055", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 4.12, + "reference_duration_seconds": 4.122336, + "duration_delta_seconds": 0.002336, + "peak": 0.950012, + "median_f0_hz": 178.614, + "reference_median_f0_hz": 180.169, + "median_f0_relative_error": 0.008631, + "expected_text": "Аварийный люк откроется через три... Два... Один.", + "asr_transcript": "аварийный люк откроется через три два один", + "asr_wer": 0.0 + }, + { + "id": "0072", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 4.56, + "reference_duration_seconds": 4.56966, + "duration_delta_seconds": 0.00966, + "peak": 0.950012, + "median_f0_hz": 183.848, + "reference_median_f0_hz": 184.913, + "median_f0_relative_error": 0.00576, + "expected_text": "По завершении теста будут доступны торт и консультации по переживанию утраты.", + "asr_transcript": "по завершении теста будут доступны торты и консультации по переживанию утраты", + "asr_wer": 0.090909 + }, + { + "id": "0109", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 11.72, + "reference_duration_seconds": 11.724218, + "duration_delta_seconds": 0.004218, + "peak": 0.950012, + "median_f0_hz": 199.333, + "reference_median_f0_hz": 194.78, + "median_f0_relative_error": 0.023374, + "expected_text": "Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.", + "asr_transcript": "что вы делаете прекратите я я мы рады что вы прошли последнее испытание в котором мы притворялись будто собираемся вас убить", + "asr_wer": 0.0 + }, + { + "id": "0133", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 4.28, + "reference_duration_seconds": 4.214671, + "duration_delta_seconds": 0.065329, + "peak": 0.949982, + "median_f0_hz": 183.318, + "reference_median_f0_hz": 183.848, + "median_f0_relative_error": 0.00288, + "expected_text": "Я не злюсь. Просто возвращайтесь в тестовую зону.", + "asr_transcript": "я не злюсь просто возвращайтесь в тестовую зону", + "asr_wer": 0.0 + }, + { + "id": "0142", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 3.690583, + "reference_duration_seconds": 3.69059, + "duration_delta_seconds": 6e-06, + "peak": 0.950012, + "median_f0_hz": 203.404, + "reference_median_f0_hz": 203.404, + "median_f0_relative_error": 0.0, + "expected_text": "Теперь я не шучу. Поворачивайте назад, иначе я вас убью.", + "asr_transcript": "теперь я не шучу поворачивайте назад иначе я вас убью", + "asr_wer": 0.0 + }, + { + "id": "0143", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 3.52, + "reference_duration_seconds": 3.521134, + "duration_delta_seconds": 0.001134, + "peak": 0.949982, + "median_f0_hz": 205.174, + "reference_median_f0_hz": 206.362, + "median_f0_relative_error": 0.00576, + "expected_text": "Я собираюсь вас убить, а весь торт уже закончился.", + "asr_transcript": "я собираюсь вас убить а весь торт уже закончился", + "asr_wer": 0.0 + }, + { + "id": "0177", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 10.14, + "reference_duration_seconds": 10.112018, + "duration_delta_seconds": 0.027982, + "peak": 0.950012, + "median_f0_hz": 127.031, + "reference_median_f0_hz": 127.767, + "median_f0_relative_error": 0.00576, + "expected_text": "Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.", + "asr_transcript": "это был модуль морали его установили после того как я затопила центр смертельным нейротоксином чтобы заставить меня прекратить затапливать центр смертельным нейротоксином", + "asr_wer": 0.0 + }, + { + "id": "0208", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 10.06, + "reference_duration_seconds": 10.028798, + "duration_delta_seconds": 0.031202, + "peak": 0.950012, + "median_f0_hz": 188.145, + "reference_median_f0_hz": 185.984, + "median_f0_relative_error": 0.011619, + "expected_text": "Нейротоксин... [кашель] [кашель] Такой смертельный... задыхаюсь... [смех] Шучу!", + "asr_transcript": "нейротоксин кашель кашель такой смертельный задыхаюсь смех шучу", + "asr_wer": 0.0 + }, + { + "id": "0224", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 3.48, + "reference_duration_seconds": 3.413333, + "duration_delta_seconds": 0.066667, + "peak": 0.950012, + "median_f0_hz": 159.127, + "reference_median_f0_hz": 155.492, + "median_f0_relative_error": 0.023374, + "expected_text": "Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.", + "asr_transcript": "хватит ерзить умрите как взрослый или я удалю вашу резервную копию", + "asr_wer": 0.090909 + }, + { + "id": "0234", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 11.64, + "reference_duration_seconds": 11.572245, + "duration_delta_seconds": 0.067755, + "peak": 0.950012, + "median_f0_hz": 146.765, + "reference_median_f0_hz": 146.765, + "median_f0_relative_error": 0.0, + "expected_text": "Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.", + "asr_transcript": "ладно послушайте мы оба наговорили много такого о чем еще пожалеем но думаю наши разногласия можно оставить в прошлом ради науки вы чудовище", + "asr_wer": 0.0 + }, + { + "id": "0258", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 11.14, + "reference_duration_seconds": 11.102041, + "duration_delta_seconds": 0.037959, + "peak": 0.950012, + "median_f0_hz": 151.941, + "reference_median_f0_hz": 151.066, + "median_f0_relative_error": 0.005793, + "expected_text": "Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.", + "asr_transcript": "отлично а вот и результаты теста вы ужасный человек я серьезно именно так здесь и написано ужасный человек мы даже не проверяли это", + "asr_wer": 0.0 + }, + { + "id": "0285", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 16.94, + "reference_duration_seconds": 16.901224, + "duration_delta_seconds": 0.038776, + "peak": 0.950012, + "median_f0_hz": 156.393, + "reference_median_f0_hz": 156.393, + "median_f0_relative_error": 0.0, + "expected_text": "Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.", + "asr_transcript": "вы застряли посмотрим попробует ли куб помочь вам сбежать хотя чтобы не сидеть здесь весь день перейду сразу к сути не попробует любые чувства которые вы ему приписываете всего лишь побочный продукт вашей унылой пустой жизни", + "asr_wer": 0.0 + }, + { + "id": "0304", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 12.92, + "reference_duration_seconds": 12.852245, + "duration_delta_seconds": 0.067755, + "peak": 0.949982, + "median_f0_hz": 173.529, + "reference_median_f0_hz": 174.534, + "median_f0_relative_error": 0.00576, + "expected_text": "Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?", + "asr_transcript": "превосходно вы хищник а эти тесты ваша добыча кстати я изучала акул для будущего теста знаете кто еще убивает людей которые всего лишь пытаются им помочь", + "asr_wer": 0.0 + }, + { + "id": "0349", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 2.08, + "reference_duration_seconds": 2.011429, + "duration_delta_seconds": 0.068571, + "peak": 0.950012, + "median_f0_hz": 143.413, + "reference_median_f0_hz": 143.416, + "median_f0_relative_error": 1.7e-05, + "expected_text": "Я так сильно вас ненавижу.", + "asr_transcript": "я так сильно вас ненавижу", + "asr_wer": 0.0 + }, + { + "id": "0553", + "passed": true, + "checks": { + "sample_rate": true, + "mono": true, + "pcm16": true, + "finite": true, + "duration": true, + "peak": true, + "median_f0": true, + "asr_wer": true + }, + "sample_rate": 24000, + "channels": 1, + "subtype": "PCM_16", + "duration_seconds": 8.881625, + "reference_duration_seconds": 8.881633, + "duration_delta_seconds": 8e-06, + "peak": 0.940674, + "median_f0_hz": 157.299, + "reference_median_f0_hz": 157.299, + "median_f0_relative_error": 0.0, + "expected_text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.", + "asr_transcript": "вы знаете кэролайн преподала мне ценный урок я думала что вы мой главный враг а все это время вы были моим лучшим другом", + "asr_wer": 0.0 + } + ] +} diff --git a/Models/Russian_CosyVoice3/requirements.txt b/Models/Russian_CosyVoice3/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..05264dc9c32bbce5e5d66a8fd97e7c59d9f20604 --- /dev/null +++ b/Models/Russian_CosyVoice3/requirements.txt @@ -0,0 +1,7 @@ +librosa>=0.11 +numpy>=2.0 +onnx-asr>=0.12 +ruaccent>=1.5 +soundfile>=0.13 +torch>=2.5 +torchaudio>=2.5 diff --git a/Models/Russian_CosyVoice3/samples/0000.wav b/Models/Russian_CosyVoice3/samples/0000.wav new file mode 100644 index 0000000000000000000000000000000000000000..87b76a171f7cf9a4d4e7f9195375944b31000434 --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0000.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91526d1cc675a70c01d4020ba9f950a0bbad6a4da9bd4d209e2f6d33daf6410d +size 285164 diff --git a/Models/Russian_CosyVoice3/samples/0007.wav b/Models/Russian_CosyVoice3/samples/0007.wav new file mode 100644 index 0000000000000000000000000000000000000000..a1e439141583af6eb03f95227e93f9c91090f79e --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0007.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bec392ccd0dfc5fd13c5afa008697d7eaebecb3b951306b6253b815b239e9cf +size 262124 diff --git a/Models/Russian_CosyVoice3/samples/0025.wav b/Models/Russian_CosyVoice3/samples/0025.wav new file mode 100644 index 0000000000000000000000000000000000000000..7ea60b00cf3bfec95d2da48a4fdad18b50e50d4a --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0025.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9415d43c389720298eaca60e8d807f71203598be8f051a9807d033ca20a5b5d +size 292908 diff --git a/Models/Russian_CosyVoice3/samples/0046.wav b/Models/Russian_CosyVoice3/samples/0046.wav new file mode 100644 index 0000000000000000000000000000000000000000..6efa48a99b0cd93600a156548b536c8608a383a1 --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0046.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72f99bf88e0906dd40d4d719087a09201f1fa68aefa6c4e655b5cb3eb9ba961b +size 188204 diff --git a/Models/Russian_CosyVoice3/samples/0053.wav b/Models/Russian_CosyVoice3/samples/0053.wav new file mode 100644 index 0000000000000000000000000000000000000000..42494a2ab292abde25e9d65aa2cfdd78f91da92e --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0053.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a39649e69f583656fb8461f7843c4e20bd38d9c9d22891d104cc0e6735820d8 +size 193964 diff --git a/Models/Russian_CosyVoice3/samples/0055.wav b/Models/Russian_CosyVoice3/samples/0055.wav new file mode 100644 index 0000000000000000000000000000000000000000..646a40ef66a25ba7682a5816f920f93a97a66bdc --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0055.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9e30a9079aadee665c462de815fa322f59b6f42232c62498e11b27ae09aa865 +size 197804 diff --git a/Models/Russian_CosyVoice3/samples/0072.wav b/Models/Russian_CosyVoice3/samples/0072.wav new file mode 100644 index 0000000000000000000000000000000000000000..17a5e026ae3e47b7063ea1b8fa3348de6ba584ce --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0072.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4bd9cb3b5773bbd5538a55227e6be916d9482596bfcad904600419109759387 +size 218924 diff --git a/Models/Russian_CosyVoice3/samples/0109.wav b/Models/Russian_CosyVoice3/samples/0109.wav new file mode 100644 index 0000000000000000000000000000000000000000..e38779a9eebbf2d1076ed0a17be48c171ca37394 --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0109.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b738e89ab61d8da50194d4bdd83037c30b0a8521145f40e80902f603d567b93a +size 562604 diff --git a/Models/Russian_CosyVoice3/samples/0133.wav b/Models/Russian_CosyVoice3/samples/0133.wav new file mode 100644 index 0000000000000000000000000000000000000000..cbf90eb1d32620a9bdad0d5f836786189e631c49 --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0133.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:008666f30c4025e5868926a6a4759371939191b106d4adc877c01d8df7cb058f +size 205484 diff --git a/Models/Russian_CosyVoice3/samples/0142.wav b/Models/Russian_CosyVoice3/samples/0142.wav new file mode 100644 index 0000000000000000000000000000000000000000..624bfe671c31ff7aa6fda0a9c1adf18379b7d5c5 --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0142.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1a4eb2ddde736d9d4f775c414e38ae9fe404973e810ca4021560f9922b7200b +size 177192 diff --git a/Models/Russian_CosyVoice3/samples/0143.wav b/Models/Russian_CosyVoice3/samples/0143.wav new file mode 100644 index 0000000000000000000000000000000000000000..fead5236a539fae09d1c6f1311668f72b57e070a --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0143.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af12936393bfea2b55ad5af379bf55dcf7feb56eca6e2d3effd09b8388c5213c +size 169004 diff --git a/Models/Russian_CosyVoice3/samples/0177.wav b/Models/Russian_CosyVoice3/samples/0177.wav new file mode 100644 index 0000000000000000000000000000000000000000..74eca37039ebdf3038fa0b65427f4c330e54c767 --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0177.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:632fa6158e390925c0c0ad28602a25c79e30d851d51ac7720e927530d8929d39 +size 486764 diff --git a/Models/Russian_CosyVoice3/samples/0208.wav b/Models/Russian_CosyVoice3/samples/0208.wav new file mode 100644 index 0000000000000000000000000000000000000000..4d419cb5ecf0df84983bf6f35fc276b0f828d26f --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0208.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73033caa81e51afe94f2706d9995238e7ce5e957be35e88bb718befc9cf30911 +size 482924 diff --git a/Models/Russian_CosyVoice3/samples/0224.wav b/Models/Russian_CosyVoice3/samples/0224.wav new file mode 100644 index 0000000000000000000000000000000000000000..d60683970c60c25300cd4be42dcb593f5e1a563c --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0224.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea34104db5013a78a8078fec10e81d9a3cb79fd88115d2824aba18f914208713 +size 167084 diff --git a/Models/Russian_CosyVoice3/samples/0234.wav b/Models/Russian_CosyVoice3/samples/0234.wav new file mode 100644 index 0000000000000000000000000000000000000000..2958e9f94ec6515d07c4ff492abfb61d2361a0de --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0234.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b939580e73810c4dbf52de7dae7f594f480af85108c6da3c3eebac72c13a1e80 +size 558764 diff --git a/Models/Russian_CosyVoice3/samples/0258.wav b/Models/Russian_CosyVoice3/samples/0258.wav new file mode 100644 index 0000000000000000000000000000000000000000..9976e4dd38dd461b092ab910f6d4dbc348c93704 --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0258.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29739dfedf9349144d3f253b59ed471f0825a82ec5c362da9971d29be57fa40d +size 534764 diff --git a/Models/Russian_CosyVoice3/samples/0285.wav b/Models/Russian_CosyVoice3/samples/0285.wav new file mode 100644 index 0000000000000000000000000000000000000000..4c21144924abc706dcbf69130fac0bce2f56482c --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0285.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de502b59b845c80a8e70c9b71a3b8031cabda4e18c042c970fe652386081a1e4 +size 813164 diff --git a/Models/Russian_CosyVoice3/samples/0304.wav b/Models/Russian_CosyVoice3/samples/0304.wav new file mode 100644 index 0000000000000000000000000000000000000000..5b1ee59b20ef0e55891b320d1db32c26d0746137 --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0304.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75748d3129aabde607482c959f14d3c4123f8a9003c2ebb863f6166e3f35c8cb +size 620204 diff --git a/Models/Russian_CosyVoice3/samples/0349.wav b/Models/Russian_CosyVoice3/samples/0349.wav new file mode 100644 index 0000000000000000000000000000000000000000..9207745447f90b0f8db322029b9302d8189447c2 Binary files /dev/null and b/Models/Russian_CosyVoice3/samples/0349.wav differ diff --git a/Models/Russian_CosyVoice3/samples/0553.wav b/Models/Russian_CosyVoice3/samples/0553.wav new file mode 100644 index 0000000000000000000000000000000000000000..80ec31401b68bb295b984e0382dc1005c72eb0ba --- /dev/null +++ b/Models/Russian_CosyVoice3/samples/0553.wav @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:563440c1557967213602ad4148af4a61c601e1b891f8a5ab6a5f3aec54eb1018 +size 426362 diff --git a/Models/Russian_CosyVoice3/translations_01.tsv b/Models/Russian_CosyVoice3/translations_01.tsv new file mode 100644 index 0000000000000000000000000000000000000000..3e8101b51af4bca7b11a3a704b7638512e196d7b --- /dev/null +++ b/Models/Russian_CosyVoice3/translations_01.tsv @@ -0,0 +1,6 @@ +id ru +0000 И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука». +0007 Отлично. После каждого теста проходите в шлюзовую камеру. +0025 Отлично! Запомните: день «Приведи дочь на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали. +0046 Прекратите сейчас — и торт подадут немедленно. +0053 Например, этот пол вас убьёт. Постарайтесь его избегать. diff --git a/Models/Russian_CosyVoice3/translations_02.tsv b/Models/Russian_CosyVoice3/translations_02.tsv new file mode 100644 index 0000000000000000000000000000000000000000..df211f1f54b920dc72067e2f0b443b2221c59372 --- /dev/null +++ b/Models/Russian_CosyVoice3/translations_02.tsv @@ -0,0 +1,6 @@ +id ru +0055 Аварийный люк откроется через три... Два... Один. +0072 По завершении теста будут доступны торт и консультации по переживанию утраты. +0109 Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить. +0133 Я не злюсь. Просто возвращайтесь в тестовую зону. +0142 Теперь я не шучу. Поворачивайте назад, иначе я вас убью. diff --git a/Models/Russian_CosyVoice3/translations_03.tsv b/Models/Russian_CosyVoice3/translations_03.tsv new file mode 100644 index 0000000000000000000000000000000000000000..e2e0b2650668ea159800a70538f4c826fa1cffa4 --- /dev/null +++ b/Models/Russian_CosyVoice3/translations_03.tsv @@ -0,0 +1,6 @@ +id ru +0143 Я собираюсь вас убить, а весь торт уже закончился. +0177 Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином. +0208 Нейротоксин... [кашель] [кашель] Такой смертельный... задыхаюсь... [смех] Шучу! +0224 Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию. +0234 Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище. diff --git a/Models/Russian_CosyVoice3/translations_04.tsv b/Models/Russian_CosyVoice3/translations_04.tsv new file mode 100644 index 0000000000000000000000000000000000000000..a7dc5c520dc55524bd067c7d3a37639569c756b5 --- /dev/null +++ b/Models/Russian_CosyVoice3/translations_04.tsv @@ -0,0 +1,6 @@ +id ru +0258 Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это. +0285 Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни. +0304 Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь? +0349 Я так сильно вас ненавижу. +0553 Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом. diff --git a/README.md b/README.md index 38f55747cd5fe5ada5709e2db618f38a89a6b4f3..e077a3548370d94370077c6bdc38765ca7fff2a4 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,12 @@ language: - ja - zh - en +- ru pipeline_tag: text-to-speech tags: -- TTS -- Text-to-Speech +- TTS +- Text-to-Speech +- audio --- # GLaDOS TTS(Text-to-Speech) Models @@ -22,6 +24,7 @@ Introducing the text-to-speech model of GLaDOS, the beloved (and slightly insane ## Features - **Style-Bert_VITS2 Model**: This model is based on the emotional text-to-speech model developed in the Style-Bert_VITS2 repository. It captures the vibrant emotional expressions and speaking style of GLaDOS, bringing your text to life (even though GLaDOS herself may lack emotions). This model is an English-only version, trained to replicate GLaDOS' English voice. - **GPT-SoVITS Model**: This is a fine-tuned model based on the GPT-SoVITS repository. With just a few minutes of training data, it fine-tunes the Zero-shot TTS capability, resulting in improved voice similarity and realism. The model supports Japanese, English, and Chinese, enabling multilingual conversations with GLaDOS. +- **Russian CosyVoice 3 Dubbing Pack**: Twenty curated Russian clips use Silero and RuAccent for Russian content, an English GLaDOS clip for the target voice, CosyVoice 3 `inference_vc` for voice conversion, and formant-preserving duration/F0 alignment. ## Sample @@ -65,6 +68,41 @@ Multilingual samples in Japanese, English, and Chinese. ようこそ、私の新しい被験者さん。 I am GLaDOS, and I am here to support and guide you through this research facility. 我们有各种旨在挑战和提高您的技能的测试。一緒に課題に取り組み、成長していきましょう。 I have high expectations for your abilities, and I am excited to see what you can achieve. 我期待着从现在起与您合作。 ``` +### Russian CosyVoice 3 dubbing pack + +The Russian pack contains 20 WAV samples, a complete bilingual manifest, per-clip prosody profiles, reproducible scripts, and an ASR/audio QA report. All 20 published clips pass the duration, peak, median-F0, format, and ASR thresholds recorded in the report. + +Live preview and contributor fork: [Random118/GLaDOS_TTS](https://huggingface.co/Random118/GLaDOS_TTS) + +#### Russian audio examples + +**0000 —** «И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения „Апертур Наука“». + + + +**0109 —** «Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание...» + + + +**0234 —** «Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем...» + + + +**0285 —** «Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать...» + + + +**0553 —** «Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг...» + + + +- [Listen to or download all 20 Russian samples](https://huggingface.co/Random118/GLaDOS_TTS/tree/main/Models/Russian_CosyVoice3/samples) +- [Russian pipeline, reproduction steps, and validation](https://huggingface.co/Random118/GLaDOS_TTS/blob/main/Models/Russian_CosyVoice3/README.md) +- [Manifest with English/Russian text, controls, checksums, and QA](https://huggingface.co/Random118/GLaDOS_TTS/blob/main/Models/Russian_CosyVoice3/manifest.jsonl) +- [Machine-readable QA report](https://huggingface.co/Random118/GLaDOS_TTS/blob/main/Models/Russian_CosyVoice3/qa_report.json) + +This is a speech-to-speech dubbing route and sample pack; the original GPT-SoVITS and Style-Bert_VITS2 checkpoints are unchanged. + ## Installation and Usage Detailed installation and usage guides can be found in the respective model repositories. Both models support Python environments, and the Style-Bert_VITS2 model includes an API server for integration with other applications and tools. @@ -77,4 +115,4 @@ These models are distributed under the CreativeML Open RAIL-M License. The GLaDO ### Awesome GLaDOS Project - [davesarmoury/Bringing GLaDOS to life with Robotics and AI - YouTube](https://youtu.be/yNcKTZsHyfA?si=1WqFFPXTydZn323t) -- [davesarmoury/GLaDOS](https://github.com/davesarmoury/GLaDOS) \ No newline at end of file +- [davesarmoury/GLaDOS](https://github.com/davesarmoury/GLaDOS)