Random118 commited on
Commit
8c2913a
·
verified ·
1 Parent(s): 9ef2b2d

Add Russian CosyVoice 3 dubbing pack and audio gallery

Browse files

Adds the reproducible Russian dubbing pipeline, 20 QA-verified samples, and five playable examples to the model card.

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. Models/Russian_CosyVoice3/README.md +59 -0
  3. Models/Russian_CosyVoice3/align_pitch.py +164 -0
  4. Models/Russian_CosyVoice3/download_refs.py +28 -0
  5. Models/Russian_CosyVoice3/generate_cosyvoice_vc_batch.py +194 -0
  6. Models/Russian_CosyVoice3/generate_silero_sources.py +110 -0
  7. Models/Russian_CosyVoice3/manifest.jsonl +20 -0
  8. Models/Russian_CosyVoice3/pipeline_config.py +42 -0
  9. Models/Russian_CosyVoice3/pipeline_controls.json +34 -0
  10. Models/Russian_CosyVoice3/profiles/0000.json +176 -0
  11. Models/Russian_CosyVoice3/profiles/0007.json +176 -0
  12. Models/Russian_CosyVoice3/profiles/0025.json +186 -0
  13. Models/Russian_CosyVoice3/profiles/0046.json +170 -0
  14. Models/Russian_CosyVoice3/profiles/0053.json +181 -0
  15. Models/Russian_CosyVoice3/profiles/0055.json +181 -0
  16. Models/Russian_CosyVoice3/profiles/0072.json +165 -0
  17. Models/Russian_CosyVoice3/profiles/0109.json +201 -0
  18. Models/Russian_CosyVoice3/profiles/0133.json +176 -0
  19. Models/Russian_CosyVoice3/profiles/0142.json +181 -0
  20. Models/Russian_CosyVoice3/profiles/0143.json +165 -0
  21. Models/Russian_CosyVoice3/profiles/0177.json +175 -0
  22. Models/Russian_CosyVoice3/profiles/0208.json +221 -0
  23. Models/Russian_CosyVoice3/profiles/0224.json +170 -0
  24. Models/Russian_CosyVoice3/profiles/0234.json +221 -0
  25. Models/Russian_CosyVoice3/profiles/0258.json +211 -0
  26. Models/Russian_CosyVoice3/profiles/0285.json +236 -0
  27. Models/Russian_CosyVoice3/profiles/0304.json +206 -0
  28. Models/Russian_CosyVoice3/profiles/0349.json +159 -0
  29. Models/Russian_CosyVoice3/profiles/0553.json +181 -0
  30. Models/Russian_CosyVoice3/prosody_profile.py +132 -0
  31. Models/Russian_CosyVoice3/qa_cosyvoice_batch.py +207 -0
  32. Models/Russian_CosyVoice3/qa_report.json +560 -0
  33. Models/Russian_CosyVoice3/requirements.txt +7 -0
  34. Models/Russian_CosyVoice3/samples/0000.wav +3 -0
  35. Models/Russian_CosyVoice3/samples/0007.wav +3 -0
  36. Models/Russian_CosyVoice3/samples/0025.wav +3 -0
  37. Models/Russian_CosyVoice3/samples/0046.wav +3 -0
  38. Models/Russian_CosyVoice3/samples/0053.wav +3 -0
  39. Models/Russian_CosyVoice3/samples/0055.wav +3 -0
  40. Models/Russian_CosyVoice3/samples/0072.wav +3 -0
  41. Models/Russian_CosyVoice3/samples/0109.wav +3 -0
  42. Models/Russian_CosyVoice3/samples/0133.wav +3 -0
  43. Models/Russian_CosyVoice3/samples/0142.wav +3 -0
  44. Models/Russian_CosyVoice3/samples/0143.wav +3 -0
  45. Models/Russian_CosyVoice3/samples/0177.wav +3 -0
  46. Models/Russian_CosyVoice3/samples/0208.wav +3 -0
  47. Models/Russian_CosyVoice3/samples/0224.wav +3 -0
  48. Models/Russian_CosyVoice3/samples/0234.wav +3 -0
  49. Models/Russian_CosyVoice3/samples/0258.wav +3 -0
  50. Models/Russian_CosyVoice3/samples/0285.wav +3 -0
.gitattributes CHANGED
@@ -29,6 +29,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
  *.tflite filter=lfs diff=lfs merge=lfs -text
30
  *.tgz filter=lfs diff=lfs merge=lfs -text
31
  *.wasm filter=lfs diff=lfs merge=lfs -text
 
32
  *.xz filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
 
29
  *.tflite filter=lfs diff=lfs merge=lfs -text
30
  *.tgz filter=lfs diff=lfs merge=lfs -text
31
  *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.wav filter=lfs diff=lfs merge=lfs -text
33
  *.xz filter=lfs diff=lfs merge=lfs -text
34
  *.zip filter=lfs diff=lfs merge=lfs -text
35
  *.zst filter=lfs diff=lfs merge=lfs -text
Models/Russian_CosyVoice3/README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Russian CosyVoice 3 dubbing pack
2
+
3
+ This directory adds a reproducible Russian voice-conversion route and 20 curated
4
+ Russian GLaDOS samples. It does not add a native Russian checkpoint to the
5
+ original GPT-SoVITS or Style-Bert-VITS2 models.
6
+
7
+ ## Pipeline
8
+
9
+ 1. The English Portal clip supplies the GLaDOS voice, timbre, formants, and delivery.
10
+ 2. RuAccent and Silero v4 generate a clean Russian content track.
11
+ 3. Rubber Band matches the reference duration before VC, or after VC for lines listed in `pipeline_controls.json`.
12
+ 4. CosyVoice 3 `inference_vc` transfers the English reference voice onto the Russian content.
13
+ 5. A verified, formant-preserving Rubber Band pass aligns median F0 to the English reference.
14
+
15
+ `manifest.jsonl` maps every English reference, Russian translation, output sample,
16
+ prosody profile, per-line control, and QA result. The references come from
17
+ [`ray0rf1re/GLaDOS-audio-v2`](https://huggingface.co/datasets/ray0rf1re/GLaDOS-audio-v2).
18
+
19
+ ## Reproduce
20
+
21
+ Clone [FunAudioLLM/CosyVoice](https://github.com/FunAudioLLM/CosyVoice) with its
22
+ submodules and install its dependencies. Install the packages in
23
+ `requirements.txt` and the `rubberband` command-line tool. Download
24
+ [`FunAudioLLM/Fun-CosyVoice3-0.5B-2512`](https://huggingface.co/FunAudioLLM/Fun-CosyVoice3-0.5B-2512),
25
+ then run:
26
+
27
+ ```bash
28
+ python download_refs.py
29
+ python generate_silero_sources.py --ruaccent-workdir .cache/ruaccent
30
+ python generate_cosyvoice_vc_batch.py \
31
+ --cosyvoice-root /path/to/CosyVoice \
32
+ --model-dir /path/to/Fun-CosyVoice3-0.5B-2512
33
+ ```
34
+
35
+ Use `--overwrite` to rebuild existing intermediates. The default directories are
36
+ relative to this folder, and `--ids 0234 0258` can limit a run.
37
+
38
+ ## Validation
39
+
40
+ All 20 published WAV files pass these checks:
41
+
42
+ - 24 kHz, mono, PCM16;
43
+ - absolute duration difference from the English reference at most 0.08 seconds;
44
+ - peak amplitude at most 0.951;
45
+ - median-F0 relative error at most 2.5%;
46
+ - GigaAM multilingual CTC word error rate at most 10% per clip.
47
+
48
+ The checked run produced 17 word-exact clips, 1.36% mean WER, and 9.09% maximum
49
+ WER. Re-run it with:
50
+
51
+ ```bash
52
+ python qa_cosyvoice_batch.py --asr --outputs samples
53
+ ```
54
+
55
+ See `qa_report.json` for per-clip measurements and transcripts. The sample pack
56
+ was generated with [Silero](https://github.com/snakers4/silero-models),
57
+ [RuAccent](https://github.com/Den4ikAI/ruaccent), CosyVoice 3, and Rubber Band.
58
+ The original repository license and the source/model terms continue to apply.
59
+
Models/Russian_CosyVoice3/align_pitch.py ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Align a generated clip's median F0 to an English GLaDOS reference."""
2
+ import argparse
3
+ from dataclasses import dataclass
4
+ import math
5
+ import shutil
6
+ import subprocess
7
+ import tempfile
8
+ from pathlib import Path
9
+
10
+ import librosa
11
+ import numpy as np
12
+ import soundfile as sf
13
+
14
+
15
+ @dataclass(frozen=True)
16
+ class PitchAlignmentResult:
17
+ source_f0: float
18
+ reference_f0: float
19
+ output_f0: float
20
+ semitones: float
21
+ relative_error: float
22
+
23
+
24
+ def median_f0(path: Path) -> float:
25
+ audio, sr = librosa.load(str(path), sr=16000, mono=True)
26
+ f0, voiced, _ = librosa.pyin(
27
+ audio,
28
+ fmin=65,
29
+ fmax=500,
30
+ sr=sr,
31
+ frame_length=1024,
32
+ hop_length=160,
33
+ )
34
+ values = f0[np.isfinite(f0) & voiced]
35
+ if len(values) == 0:
36
+ raise ValueError(f"No voiced F0 found in {path}")
37
+ return float(np.median(values))
38
+
39
+
40
+ def render_pitch_shift(input_path: Path, output_path: Path, semitones: float) -> None:
41
+ """Render one formant-preserving Rubber Band pitch candidate."""
42
+ subprocess.run(
43
+ [
44
+ "rubberband",
45
+ "-3",
46
+ "-F",
47
+ "-p",
48
+ f"{semitones:.4f}",
49
+ str(input_path),
50
+ str(output_path),
51
+ ],
52
+ check=True,
53
+ stdout=subprocess.DEVNULL,
54
+ stderr=subprocess.DEVNULL,
55
+ )
56
+ write_normalized_copy(output_path, output_path)
57
+
58
+
59
+ def write_normalized_copy(input_path: Path, output_path: Path) -> None:
60
+ """Write PCM16 audio with enough headroom to avoid clipped candidates."""
61
+ audio, sr = sf.read(input_path, always_2d=False)
62
+ peak = float(np.max(np.abs(audio)))
63
+ if peak > 0.95:
64
+ audio = audio * (0.95 / peak)
65
+ sf.write(output_path, audio, sr, subtype="PCM_16")
66
+
67
+
68
+ def _clamp_shift(semitones: float, maximum: float) -> float:
69
+ return max(-maximum, min(maximum, semitones))
70
+
71
+
72
+ def align_median_f0(
73
+ input_path: Path,
74
+ reference_path: Path,
75
+ output_path: Path,
76
+ *,
77
+ tolerance: float = 0.025,
78
+ max_abs_semitones: float = 4.0,
79
+ ) -> PitchAlignmentResult:
80
+ """Align median F0 and verify the rendered result.
81
+
82
+ A theoretical semitone ratio is normally sufficient. GLaDOS clips can make
83
+ pYIN switch between nearby pitch modes after rendering, though, so a failed
84
+ first pass is calibrated by rendering nearby shifts from the original clip.
85
+ The best candidate is copied once; pitch shifts are never stacked.
86
+ """
87
+ source_f0 = median_f0(input_path)
88
+ reference_f0 = median_f0(reference_path)
89
+ source_error = abs(source_f0 - reference_f0) / reference_f0
90
+ output_path.parent.mkdir(parents=True, exist_ok=True)
91
+ if source_error <= tolerance:
92
+ write_normalized_copy(input_path, output_path)
93
+ return PitchAlignmentResult(
94
+ source_f0=source_f0,
95
+ reference_f0=reference_f0,
96
+ output_f0=source_f0,
97
+ semitones=0.0,
98
+ relative_error=source_error,
99
+ )
100
+
101
+ predicted = _clamp_shift(
102
+ 12.0 * math.log2(reference_f0 / source_f0),
103
+ max_abs_semitones,
104
+ )
105
+
106
+ with tempfile.TemporaryDirectory(prefix="glados-pitch-") as temp_dir:
107
+ temp_root = Path(temp_dir)
108
+ attempts: list[tuple[float, float, float, Path]] = []
109
+
110
+ def evaluate(semitones: float) -> tuple[float, float, float, Path]:
111
+ semitones = _clamp_shift(semitones, max_abs_semitones)
112
+ for attempt in attempts:
113
+ if math.isclose(attempt[0], semitones, abs_tol=1e-6):
114
+ return attempt
115
+ candidate = temp_root / f"candidate-{len(attempts):02d}.wav"
116
+ render_pitch_shift(input_path, candidate, semitones)
117
+ candidate_f0 = median_f0(candidate)
118
+ relative_error = abs(candidate_f0 - reference_f0) / reference_f0
119
+ attempt = (semitones, candidate_f0, relative_error, candidate)
120
+ attempts.append(attempt)
121
+ return attempt
122
+
123
+ best = evaluate(predicted)
124
+ if best[2] > tolerance:
125
+ for offset in (-1.5, -1.0, -0.5, 0.5, 1.0, 1.5):
126
+ candidate = evaluate(predicted + offset)
127
+ if candidate[2] < best[2]:
128
+ best = candidate
129
+
130
+ if best[2] > tolerance:
131
+ center = best[0]
132
+ for offset in (-0.25, 0.25):
133
+ candidate = evaluate(center + offset)
134
+ if candidate[2] < best[2]:
135
+ best = candidate
136
+
137
+ shutil.copyfile(best[3], output_path)
138
+
139
+ return PitchAlignmentResult(
140
+ source_f0=source_f0,
141
+ reference_f0=reference_f0,
142
+ output_f0=best[1],
143
+ semitones=best[0],
144
+ relative_error=best[2],
145
+ )
146
+
147
+
148
+ def main() -> None:
149
+ parser = argparse.ArgumentParser()
150
+ parser.add_argument("input", type=Path)
151
+ parser.add_argument("reference", type=Path)
152
+ parser.add_argument("output", type=Path)
153
+ args = parser.parse_args()
154
+
155
+ result = align_median_f0(args.input, args.reference, args.output)
156
+ print(
157
+ f"source_f0={result.source_f0:.1f} reference_f0={result.reference_f0:.1f} "
158
+ f"output_f0={result.output_f0:.1f} shift={result.semitones:.2f}st "
159
+ f"error={result.relative_error:.2%}"
160
+ )
161
+
162
+
163
+ if __name__ == "__main__":
164
+ main()
Models/Russian_CosyVoice3/download_refs.py ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Download only the selected GLaDOS reference WAVs from the HF dataset API."""
2
+ import json
3
+ import pathlib
4
+ import urllib.parse
5
+ import urllib.request
6
+
7
+ DATASET = "ray0rf1re/GLaDOS-audio-v2"
8
+ INDICES = [0, 7, 25, 46, 53, 55, 72, 109, 133, 142, 143, 177, 208, 224, 234, 258, 285, 304, 349, 553]
9
+ OUT = pathlib.Path(__file__).parent / "references"
10
+
11
+ def row_for(index: int) -> dict:
12
+ query = urllib.parse.urlencode({"dataset": DATASET, "config": "default", "split": "train", "offset": index, "length": 1})
13
+ with urllib.request.urlopen("https://datasets-server.huggingface.co/rows?" + query, timeout=60) as response:
14
+ return json.load(response)["rows"][0]
15
+
16
+ def main() -> None:
17
+ OUT.mkdir(exist_ok=True)
18
+ for index in INDICES:
19
+ item = row_for(index)
20
+ row = item["row"]
21
+ audio_url = row["audio"][0]["src"]
22
+ target = OUT / f"{index:04d}.wav"
23
+ if not target.exists():
24
+ urllib.request.urlretrieve(audio_url, target)
25
+ print(index, row["filename"], target, sep="\t")
26
+
27
+ if __name__ == "__main__":
28
+ main()
Models/Russian_CosyVoice3/generate_cosyvoice_vc_batch.py ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Generate the 20 Russian GLaDOS teacher clips with CosyVoice 3 VC.
2
+
3
+ The English Portal WAV remains the speaker/timbre reference. Silero + RuAccent
4
+ provides only Russian content, and Rubber Band first matches the reference
5
+ duration. The optional pitch pass aligns the generated median F0 to the
6
+ English reference while preserving formants.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import argparse
12
+ import csv
13
+ from dataclasses import asdict
14
+ import json
15
+ import os
16
+ from pathlib import Path
17
+ import sys
18
+ import tempfile
19
+
20
+ try:
21
+ from glados_ru.align_pitch import align_median_f0
22
+ from glados_ru.pipeline_config import load_controls, resolve_line
23
+ from glados_ru.prosody_profile import analyze, warp_duration
24
+ except ModuleNotFoundError: # Support running the copied bundle directly.
25
+ from align_pitch import align_median_f0
26
+ from pipeline_config import load_controls, resolve_line
27
+ from prosody_profile import analyze, warp_duration
28
+
29
+
30
+ ROOT = Path(__file__).parent
31
+ DEFAULT_MODEL = os.environ.get(
32
+ "COSYVOICE_MODEL_DIR",
33
+ "pretrained_models/Fun-CosyVoice3-0.5B",
34
+ )
35
+ DEFAULT_COSYVOICE_ROOT = Path(os.environ.get("COSYVOICE_ROOT", "CosyVoice"))
36
+ DEFAULT_SOURCE = ROOT / "sources_silero"
37
+ DEFAULT_REFERENCE = ROOT / "references"
38
+ DEFAULT_PROFILE = ROOT / "profiles_batch"
39
+ DEFAULT_WARPED = ROOT / "profiled_sources_batch"
40
+ DEFAULT_OUTPUT = ROOT / "generated_cosyvoice_vc_batch"
41
+ DEFAULT_PITCH = ROOT / "generated_cosyvoice_vc_batch_pitch"
42
+ DEFAULT_CONTROLS = ROOT / "pipeline_controls.json"
43
+
44
+
45
+ def ids_from_files(directory: Path) -> list[str]:
46
+ return sorted(path.stem for path in directory.glob("*.wav"))
47
+
48
+
49
+ def translations(root: Path) -> dict[str, str]:
50
+ result: dict[str, str] = {}
51
+ for path in sorted(root.glob("translations_*.tsv")):
52
+ with path.open(encoding="utf-8", newline="") as handle:
53
+ for row in csv.DictReader(handle, delimiter="\t"):
54
+ result[row["id"].zfill(4)] = row["ru"]
55
+ if not result:
56
+ raise ValueError(f"no translations_*.tsv files found in {root}")
57
+ return result
58
+
59
+
60
+ def generate(
61
+ *,
62
+ model_dir: str,
63
+ cosyvoice_root: Path,
64
+ translations_dir: Path,
65
+ source_dir: Path,
66
+ reference_dir: Path,
67
+ profile_dir: Path,
68
+ warped_dir: Path,
69
+ output_dir: Path,
70
+ pitch_dir: Path,
71
+ controls_path: Path,
72
+ selected_ids: list[str],
73
+ overwrite: bool,
74
+ ) -> None:
75
+ import torch
76
+ import torchaudio
77
+
78
+ sys.path.insert(0, str(cosyvoice_root))
79
+ sys.path.insert(0, str(cosyvoice_root / "third_party" / "Matcha-TTS"))
80
+ from cosyvoice.cli.cosyvoice import AutoModel
81
+
82
+ output_dir.mkdir(parents=True, exist_ok=True)
83
+ pitch_dir.mkdir(parents=True, exist_ok=True)
84
+ profile_dir.mkdir(parents=True, exist_ok=True)
85
+ warped_dir.mkdir(parents=True, exist_ok=True)
86
+ cosyvoice = AutoModel(model_dir=model_dir, fp16=False)
87
+ translated = translations(translations_dir)
88
+ controls = load_controls(controls_path)
89
+
90
+ for item_id in selected_ids:
91
+ canonical_text = translated.get(item_id, "")
92
+ line = resolve_line(item_id, canonical_text, controls)
93
+ source = source_dir / f"{item_id}.wav"
94
+ reference = reference_dir / f"{item_id}.wav"
95
+ speaker_reference = reference_dir / f"{line.speaker_reference}.wav"
96
+ if not source.is_file() or not reference.is_file() or not speaker_reference.is_file():
97
+ print(f"skip {item_id}: missing source or reference", flush=True)
98
+ continue
99
+
100
+ profile_path = profile_dir / f"{item_id}.json"
101
+ warped = warped_dir / f"{item_id}.wav"
102
+ if overwrite or not profile_path.exists() or not warped.exists():
103
+ profile = analyze(reference, canonical_text)
104
+ profile["source"] = analyze(source, line.tts_text)
105
+ profile["pipeline_control"] = asdict(line)
106
+ profile_path.write_text(
107
+ json.dumps(profile, ensure_ascii=False, indent=2) + "\n",
108
+ encoding="utf-8",
109
+ )
110
+ warp_duration(source, reference, warped)
111
+ else:
112
+ profile = json.loads(profile_path.read_text(encoding="utf-8"))
113
+ expected_control = asdict(line)
114
+ if profile.get("pipeline_control") != expected_control:
115
+ profile["pipeline_control"] = expected_control
116
+ profile_path.write_text(
117
+ json.dumps(profile, ensure_ascii=False, indent=2) + "\n",
118
+ encoding="utf-8",
119
+ )
120
+
121
+ target = output_dir / f"{item_id}.wav"
122
+ if overwrite or not target.exists():
123
+ with torch.inference_mode():
124
+ results = cosyvoice.inference_vc(
125
+ str(warped if line.duration_stage == "pre" else source),
126
+ str(speaker_reference),
127
+ stream=False,
128
+ speed=1.0,
129
+ )
130
+ first = next(iter(results))
131
+ if line.duration_stage == "pre":
132
+ torchaudio.save(
133
+ str(target),
134
+ first["tts_speech"].cpu(),
135
+ cosyvoice.sample_rate,
136
+ )
137
+ else:
138
+ with tempfile.TemporaryDirectory(prefix=f"glados-vc-{item_id}-") as temp_dir:
139
+ raw_target = Path(temp_dir) / "raw-vc.wav"
140
+ torchaudio.save(
141
+ str(raw_target),
142
+ first["tts_speech"].cpu(),
143
+ cosyvoice.sample_rate,
144
+ )
145
+ warp_duration(raw_target, reference, target)
146
+ print(f"generated {target}", flush=True)
147
+ else:
148
+ print(f"skip existing {target}", flush=True)
149
+
150
+ pitch_target = pitch_dir / f"{item_id}.wav"
151
+ if overwrite or not pitch_target.exists():
152
+ result = align_median_f0(target, reference, pitch_target)
153
+ print(
154
+ f"pitch {item_id}: source={result.source_f0:.1f}Hz "
155
+ f"reference={result.reference_f0:.1f}Hz output={result.output_f0:.1f}Hz "
156
+ f"shift={result.semitones:.2f}st error={result.relative_error:.2%}",
157
+ flush=True,
158
+ )
159
+
160
+
161
+ def main() -> None:
162
+ parser = argparse.ArgumentParser(description=__doc__)
163
+ parser.add_argument("--model-dir", default=DEFAULT_MODEL)
164
+ parser.add_argument("--cosyvoice-root", type=Path, default=DEFAULT_COSYVOICE_ROOT)
165
+ parser.add_argument("--translations-dir", type=Path, default=ROOT)
166
+ parser.add_argument("--source-dir", type=Path, default=DEFAULT_SOURCE)
167
+ parser.add_argument("--reference-dir", type=Path, default=DEFAULT_REFERENCE)
168
+ parser.add_argument("--profile-dir", type=Path, default=DEFAULT_PROFILE)
169
+ parser.add_argument("--warped-dir", type=Path, default=DEFAULT_WARPED)
170
+ parser.add_argument("--output-dir", type=Path, default=DEFAULT_OUTPUT)
171
+ parser.add_argument("--pitch-dir", type=Path, default=DEFAULT_PITCH)
172
+ parser.add_argument("--controls", type=Path, default=DEFAULT_CONTROLS)
173
+ parser.add_argument("--ids", nargs="*", default=None)
174
+ parser.add_argument("--overwrite", action="store_true")
175
+ args = parser.parse_args()
176
+ selected = args.ids or ids_from_files(args.reference_dir)
177
+ generate(
178
+ model_dir=args.model_dir,
179
+ cosyvoice_root=args.cosyvoice_root,
180
+ translations_dir=args.translations_dir,
181
+ source_dir=args.source_dir,
182
+ reference_dir=args.reference_dir,
183
+ profile_dir=args.profile_dir,
184
+ warped_dir=args.warped_dir,
185
+ output_dir=args.output_dir,
186
+ pitch_dir=args.pitch_dir,
187
+ controls_path=args.controls,
188
+ selected_ids=selected,
189
+ overwrite=args.overwrite,
190
+ )
191
+
192
+
193
+ if __name__ == "__main__":
194
+ main()
Models/Russian_CosyVoice3/generate_silero_sources.py ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Generate clean Russian source speech with RuAccent and Silero v4."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import csv
7
+ from pathlib import Path
8
+
9
+ try:
10
+ from glados_ru.pipeline_config import load_controls, resolve_line
11
+ except ModuleNotFoundError: # Support running the copied bundle directly.
12
+ from pipeline_config import load_controls, resolve_line
13
+
14
+
15
+ ROOT = Path(__file__).parent
16
+ DEFAULT_OUTPUT = ROOT / "sources_silero"
17
+ DEFAULT_CONTROLS = ROOT / "pipeline_controls.json"
18
+
19
+
20
+ def translations(root: Path) -> dict[str, str]:
21
+ result: dict[str, str] = {}
22
+ for path in sorted(root.glob("translations_*.tsv")):
23
+ with path.open(encoding="utf-8", newline="") as handle:
24
+ for row in csv.DictReader(handle, delimiter="\t"):
25
+ result[row["id"].zfill(4)] = row["ru"]
26
+ if not result:
27
+ raise ValueError(f"no translations_*.tsv files found in {root}")
28
+ return result
29
+
30
+
31
+ def generate(
32
+ *,
33
+ translations_dir: Path,
34
+ output_dir: Path,
35
+ controls_path: Path,
36
+ ruaccent_workdir: Path | None,
37
+ device: str,
38
+ speaker: str,
39
+ sample_rate: int,
40
+ selected_ids: set[str] | None,
41
+ overwrite: bool,
42
+ ) -> None:
43
+ import torch
44
+ import torchaudio
45
+ from ruaccent import RUAccent
46
+
47
+ output_dir.mkdir(parents=True, exist_ok=True)
48
+ controls = load_controls(controls_path)
49
+ accentizer = RUAccent()
50
+ accentizer.load(
51
+ omograph_model_size="turbo3.1",
52
+ use_dictionary=True,
53
+ tiny_mode=False,
54
+ device=device,
55
+ **({"workdir": str(ruaccent_workdir)} if ruaccent_workdir else {}),
56
+ )
57
+ model, _ = torch.hub.load(
58
+ "snakers4/silero-models",
59
+ "silero_tts",
60
+ language="ru",
61
+ speaker="v4_ru",
62
+ trust_repo=True,
63
+ )
64
+ for item_id, text in sorted(translations(translations_dir).items()):
65
+ if selected_ids is not None and item_id not in selected_ids:
66
+ continue
67
+ target = output_dir / f"{item_id}.wav"
68
+ if target.exists() and not overwrite:
69
+ print(f"skip existing {target}", flush=True)
70
+ continue
71
+ line = resolve_line(item_id, text, controls)
72
+ accented = accentizer.process_all(line.tts_text)
73
+ audio = model.apply_tts(
74
+ text=accented,
75
+ speaker=speaker,
76
+ sample_rate=sample_rate,
77
+ put_accent=True,
78
+ put_yo=True,
79
+ )
80
+ torchaudio.save(str(target), audio.unsqueeze(0), sample_rate)
81
+ print(f"generated {item_id}: {accented}", flush=True)
82
+
83
+
84
+ def main() -> None:
85
+ parser = argparse.ArgumentParser(description=__doc__)
86
+ parser.add_argument("--translations-dir", type=Path, default=ROOT)
87
+ parser.add_argument("--output-dir", type=Path, default=DEFAULT_OUTPUT)
88
+ parser.add_argument("--controls", type=Path, default=DEFAULT_CONTROLS)
89
+ parser.add_argument("--ruaccent-workdir", type=Path)
90
+ parser.add_argument("--device", default="CPU")
91
+ parser.add_argument("--speaker", default="xenia")
92
+ parser.add_argument("--sample-rate", type=int, default=48_000)
93
+ parser.add_argument("--ids", nargs="*")
94
+ parser.add_argument("--overwrite", action="store_true")
95
+ args = parser.parse_args()
96
+ generate(
97
+ translations_dir=args.translations_dir,
98
+ output_dir=args.output_dir,
99
+ controls_path=args.controls,
100
+ ruaccent_workdir=args.ruaccent_workdir,
101
+ device=args.device,
102
+ speaker=args.speaker,
103
+ sample_rate=args.sample_rate,
104
+ selected_ids={item.zfill(4) for item in args.ids} if args.ids else None,
105
+ overwrite=args.overwrite,
106
+ )
107
+
108
+
109
+ if __name__ == "__main__":
110
+ main()
Models/Russian_CosyVoice3/manifest.jsonl ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"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}}
2
+ {"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}}
3
+ {"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}}
4
+ {"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}}
5
+ {"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}}
6
+ {"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}}
7
+ {"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}}
8
+ {"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}}
9
+ {"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}}
10
+ {"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}}
11
+ {"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}}
12
+ {"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}}
13
+ {"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}}
14
+ {"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}}
15
+ {"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}}
16
+ {"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}}
17
+ {"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}}
18
+ {"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}}
19
+ {"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}}
20
+ {"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}}
Models/Russian_CosyVoice3/pipeline_config.py ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Per-line controls for the Russian GLaDOS dubbing pipeline."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from dataclasses import dataclass
6
+ import json
7
+ from pathlib import Path
8
+ from typing import Any
9
+
10
+
11
+ @dataclass(frozen=True)
12
+ class LineControl:
13
+ tts_text: str
14
+ duration_stage: str
15
+ speaker_reference: str
16
+
17
+
18
+ def load_controls(path: Path) -> dict[str, dict[str, Any]]:
19
+ raw = json.loads(path.read_text(encoding="utf-8"))
20
+ if not isinstance(raw, dict):
21
+ raise ValueError("pipeline controls must be a JSON object")
22
+ return {str(item_id).zfill(4): dict(value) for item_id, value in raw.items()}
23
+
24
+
25
+ def resolve_line(
26
+ item_id: str,
27
+ canonical_text: str,
28
+ controls: dict[str, dict[str, Any]],
29
+ ) -> LineControl:
30
+ normalized_id = str(item_id).zfill(4)
31
+ control = controls.get(normalized_id, {})
32
+ duration_stage = str(control.get("duration_stage", "pre"))
33
+ if duration_stage not in {"pre", "post"}:
34
+ raise ValueError(
35
+ f"invalid duration_stage={duration_stage!r} for line {normalized_id}"
36
+ )
37
+ return LineControl(
38
+ tts_text=str(control.get("tts_text", canonical_text)),
39
+ duration_stage=duration_stage,
40
+ speaker_reference=str(control.get("speaker_reference", normalized_id)).zfill(4),
41
+ )
42
+
Models/Russian_CosyVoice3/pipeline_controls.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "0007": {
3
+ "tts_text": "Отлично. После каждого теста. Проходите в шлюзовую камеру.",
4
+ "duration_stage": "pre",
5
+ "qa_reason": "Sentence boundary prevents CosyVoice from merging 'проходите в шлюзовую'."
6
+ },
7
+ "0025": {
8
+ "tts_text": "Отлично! Запомните: день «Приведи дочь... на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.",
9
+ "duration_stage": "post",
10
+ "qa_reason": "VC before duration matching preserves 'Приведи дочь на работу' exactly."
11
+ },
12
+ "0053": {
13
+ "tts_text": "Например, этот пол... вас убьёт. Постарайтесь его избегать.",
14
+ "duration_stage": "pre",
15
+ "qa_reason": "Short pause prevents CosyVoice from merging 'пол вас'."
16
+ },
17
+ "0142": {
18
+ "tts_text": "Теперь. Я не шучу. Поворачивайте назад, иначе я вас убью.",
19
+ "speaker_reference": "0072",
20
+ "duration_stage": "post",
21
+ "qa_reason": "Post-VC duration matching and a neutral prompt prevent a leaked leading conjunction."
22
+ },
23
+ "0208": {
24
+ "tts_text": "Нейротоксин. Кашель. Кашель. Такой смертельный. Задыхаюсь. Смех. Шучу!",
25
+ "duration_stage": "pre",
26
+ "qa_reason": "Explicit sentence boundaries preserve the acted stage directions through VC."
27
+ },
28
+ "0553": {
29
+ "tts_text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.",
30
+ "speaker_reference": "0234",
31
+ "duration_stage": "post",
32
+ "qa_reason": "The longer neutral prompt preserves the name and all words through VC."
33
+ }
34
+ }
Models/Russian_CosyVoice3/profiles/0000.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0000.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 5.905,
5
+ "voiced_fraction": 0.802,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.9,
9
+ "end": 1.02,
10
+ "duration": 0.12
11
+ },
12
+ {
13
+ "start": 1.39,
14
+ "end": 1.57,
15
+ "duration": 0.18
16
+ }
17
+ ],
18
+ "f0_hz": {
19
+ "median": 176.562,
20
+ "p10_p90": [
21
+ 147.616,
22
+ 208.76
23
+ ],
24
+ "contour_20_points": [
25
+ 160.98,
26
+ 162.05,
27
+ 155.49,
28
+ 163.16,
29
+ 174.22,
30
+ 195.22,
31
+ 146.77,
32
+ 175.1,
33
+ 209.2,
34
+ 177.59,
35
+ 184.91,
36
+ 179.69,
37
+ 208.76,
38
+ 183.59,
39
+ 185.98,
40
+ 175.55,
41
+ 184.13,
42
+ 174.53,
43
+ 147.62,
44
+ 139.33
45
+ ]
46
+ },
47
+ "energy_db": {
48
+ "p10_p50_p90": [
49
+ -41.24,
50
+ -12.628,
51
+ -8.596
52
+ ],
53
+ "dynamic_range_db": 32.645,
54
+ "contour_20_points": [
55
+ -63.95,
56
+ -37.65,
57
+ -10.4,
58
+ -51.71,
59
+ -8.75,
60
+ -49.89,
61
+ -10.58,
62
+ -19.8,
63
+ -13.29,
64
+ -10.03,
65
+ -10.99,
66
+ -16.55,
67
+ -8.74,
68
+ -13.35,
69
+ -13.51,
70
+ -14.64,
71
+ -6.86,
72
+ -7.47,
73
+ -11.27,
74
+ -28.92
75
+ ]
76
+ },
77
+ "timbral_proxies": {
78
+ "spectral_centroid_hz_median": 1468.627,
79
+ "spectral_flatness_median": 0.002
80
+ },
81
+ "interpretation": {
82
+ "target": "soft, close-mic, restrained mechanical delivery",
83
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
84
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
85
+ },
86
+ "text": "И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».",
87
+ "text_chars_per_sec": 16.088,
88
+ "source": {
89
+ "file": "sources_silero/0000.wav",
90
+ "sample_rate_for_analysis": 16000,
91
+ "duration_sec": 5.0,
92
+ "voiced_fraction": 0.737,
93
+ "pause_map": [
94
+ {
95
+ "start": 1.2,
96
+ "end": 1.45,
97
+ "duration": 0.25
98
+ }
99
+ ],
100
+ "f0_hz": {
101
+ "median": 205.174,
102
+ "p10_p90": [
103
+ 179.649,
104
+ 243.994
105
+ ],
106
+ "contour_20_points": [
107
+ 249.7,
108
+ 264.14,
109
+ 228.79,
110
+ 174.61,
111
+ 231.21,
112
+ 227.45,
113
+ 208.76,
114
+ 221.92,
115
+ 196.94,
116
+ 200.31,
117
+ 212.22,
118
+ 229.22,
119
+ 209.98,
120
+ 192.54,
121
+ 182.19,
122
+ 190.91,
123
+ 197.21,
124
+ 186.95,
125
+ 170.55,
126
+ 170.55
127
+ ]
128
+ },
129
+ "energy_db": {
130
+ "p10_p50_p90": [
131
+ -44.987,
132
+ -21.942,
133
+ -15.888
134
+ ],
135
+ "dynamic_range_db": 29.099,
136
+ "contour_20_points": [
137
+ -86.81,
138
+ -32.16,
139
+ -15.78,
140
+ -30.65,
141
+ -32.34,
142
+ -75.88,
143
+ -14.97,
144
+ -14.96,
145
+ -19.04,
146
+ -24.73,
147
+ -17.52,
148
+ -17.45,
149
+ -33.13,
150
+ -20.73,
151
+ -22.71,
152
+ -18.76,
153
+ -40.35,
154
+ -18.17,
155
+ -34.33,
156
+ -83.28
157
+ ]
158
+ },
159
+ "timbral_proxies": {
160
+ "spectral_centroid_hz_median": 1564.514,
161
+ "spectral_flatness_median": 0.007
162
+ },
163
+ "interpretation": {
164
+ "target": "soft, close-mic, restrained mechanical delivery",
165
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
166
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
167
+ },
168
+ "text": "И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».",
169
+ "text_chars_per_sec": 19.0
170
+ },
171
+ "pipeline_control": {
172
+ "tts_text": "И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».",
173
+ "duration_stage": "pre",
174
+ "speaker_reference": "0000"
175
+ }
176
+ }
Models/Russian_CosyVoice3/profiles/0007.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0007.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 5.438,
5
+ "voiced_fraction": 0.665,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.86,
9
+ "end": 1.7,
10
+ "duration": 0.84
11
+ }
12
+ ],
13
+ "f0_hz": {
14
+ "median": 179.131,
15
+ "p10_p90": [
16
+ 137.73,
17
+ 235.683
18
+ ],
19
+ "contour_20_points": [
20
+ 207.56,
21
+ 183.64,
22
+ 137.73,
23
+ 78.94,
24
+ 84.14,
25
+ 172.44,
26
+ 255.27,
27
+ 178.21,
28
+ 184.91,
29
+ 186.56,
30
+ 178.92,
31
+ 201.65,
32
+ 154.6,
33
+ 185.98,
34
+ 180.05,
35
+ 196.68,
36
+ 171.27,
37
+ 224.87,
38
+ 227.9,
39
+ 228.97
40
+ ]
41
+ },
42
+ "energy_db": {
43
+ "p10_p50_p90": [
44
+ -61.677,
45
+ -14.105,
46
+ -7.75
47
+ ],
48
+ "dynamic_range_db": 53.927,
49
+ "contour_20_points": [
50
+ -66.05,
51
+ -26.37,
52
+ -11.38,
53
+ -40.81,
54
+ -63.92,
55
+ -67.19,
56
+ -13.76,
57
+ -14.77,
58
+ -6.73,
59
+ -20.79,
60
+ -29.62,
61
+ -10.4,
62
+ -12.51,
63
+ -10.93,
64
+ -18.11,
65
+ -7.98,
66
+ -12.72,
67
+ -26.29,
68
+ -21.2,
69
+ -29.78
70
+ ]
71
+ },
72
+ "timbral_proxies": {
73
+ "spectral_centroid_hz_median": 1699.258,
74
+ "spectral_flatness_median": 0.008
75
+ },
76
+ "interpretation": {
77
+ "target": "soft, close-mic, restrained mechanical delivery",
78
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
79
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
80
+ },
81
+ "text": "Отлично. После каждого теста проходите в шлюзовую камеру.",
82
+ "text_chars_per_sec": 10.482,
83
+ "source": {
84
+ "file": "sources_silero/0007.wav",
85
+ "sample_rate_for_analysis": 16000,
86
+ "duration_sec": 4.125,
87
+ "voiced_fraction": 0.69,
88
+ "pause_map": [
89
+ {
90
+ "start": 0.69,
91
+ "end": 1.0,
92
+ "duration": 0.31
93
+ },
94
+ {
95
+ "start": 2.2,
96
+ "end": 2.5,
97
+ "duration": 0.3
98
+ }
99
+ ],
100
+ "f0_hz": {
101
+ "median": 208.76,
102
+ "p10_p90": [
103
+ 172.53,
104
+ 259.709
105
+ ],
106
+ "contour_20_points": [
107
+ 232.98,
108
+ 247.63,
109
+ 196.53,
110
+ 189.82,
111
+ 208.65,
112
+ 215.56,
113
+ 252.48,
114
+ 231.46,
115
+ 207.63,
116
+ 173.49,
117
+ 182.9,
118
+ 219.51,
119
+ 209.91,
120
+ 275.84,
121
+ 227.65,
122
+ 197.39,
123
+ 211.96,
124
+ 176.4,
125
+ 171.24,
126
+ 200.49
127
+ ]
128
+ },
129
+ "energy_db": {
130
+ "p10_p50_p90": [
131
+ -65.927,
132
+ -24.735,
133
+ -15.671
134
+ ],
135
+ "dynamic_range_db": 50.256,
136
+ "contour_20_points": [
137
+ -85.74,
138
+ -27.73,
139
+ -19.09,
140
+ -29.61,
141
+ -63.76,
142
+ -19.11,
143
+ -27.93,
144
+ -24.32,
145
+ -35.39,
146
+ -30.89,
147
+ -34.38,
148
+ -73.77,
149
+ -13.86,
150
+ -19.52,
151
+ -26.67,
152
+ -24.29,
153
+ -17.99,
154
+ -21.04,
155
+ -26.7,
156
+ -77.69
157
+ ]
158
+ },
159
+ "timbral_proxies": {
160
+ "spectral_centroid_hz_median": 1607.59,
161
+ "spectral_flatness_median": 0.009
162
+ },
163
+ "interpretation": {
164
+ "target": "soft, close-mic, restrained mechanical delivery",
165
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
166
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
167
+ },
168
+ "text": "Отлично. После каждого теста. Проходите в шлюзовую камеру.",
169
+ "text_chars_per_sec": 14.061
170
+ },
171
+ "pipeline_control": {
172
+ "tts_text": "Отлично. После каждого теста. Проходите в шлюзовую камеру.",
173
+ "duration_stage": "pre",
174
+ "speaker_reference": "0007"
175
+ }
176
+ }
Models/Russian_CosyVoice3/profiles/0025.json ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0025.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 6.101,
5
+ "voiced_fraction": 0.81,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.98,
9
+ "end": 1.07,
10
+ "duration": 0.09
11
+ },
12
+ {
13
+ "start": 1.64,
14
+ "end": 1.72,
15
+ "duration": 0.08
16
+ }
17
+ ],
18
+ "f0_hz": {
19
+ "median": 169.566,
20
+ "p10_p90": [
21
+ 139.331,
22
+ 185.984
23
+ ],
24
+ "contour_20_points": [
25
+ 216.12,
26
+ 216.12,
27
+ 142.4,
28
+ 138.02,
29
+ 185.98,
30
+ 157.02,
31
+ 175.55,
32
+ 173.74,
33
+ 178.72,
34
+ 165.69,
35
+ 164.86,
36
+ 164.51,
37
+ 152.56,
38
+ 137.15,
39
+ 174.96,
40
+ 175.55,
41
+ 164.93,
42
+ 179.65,
43
+ 131.51,
44
+ 130.0
45
+ ]
46
+ },
47
+ "energy_db": {
48
+ "p10_p50_p90": [
49
+ -43.413,
50
+ -11.373,
51
+ -7.799
52
+ ],
53
+ "dynamic_range_db": 35.614,
54
+ "contour_20_points": [
55
+ -73.8,
56
+ -54.09,
57
+ -10.86,
58
+ -28.03,
59
+ -8.46,
60
+ -17.55,
61
+ -10.84,
62
+ -10.41,
63
+ -9.4,
64
+ -5.91,
65
+ -9.3,
66
+ -8.26,
67
+ -14.27,
68
+ -26.77,
69
+ -17.65,
70
+ -8.2,
71
+ -12.01,
72
+ -10.17,
73
+ -11.02,
74
+ -60.44
75
+ ]
76
+ },
77
+ "timbral_proxies": {
78
+ "spectral_centroid_hz_median": 1699.878,
79
+ "spectral_flatness_median": 0.005
80
+ },
81
+ "interpretation": {
82
+ "target": "soft, close-mic, restrained mechanical delivery",
83
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
84
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
85
+ },
86
+ "text": "Отлично! Запомните: день «Приведи дочь на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.",
87
+ "text_chars_per_sec": 18.193,
88
+ "source": {
89
+ "file": "sources_silero/0025.wav",
90
+ "sample_rate_for_analysis": 16000,
91
+ "duration_sec": 7.338,
92
+ "voiced_fraction": 0.749,
93
+ "pause_map": [
94
+ {
95
+ "start": 1.0,
96
+ "end": 1.28,
97
+ "duration": 0.28
98
+ },
99
+ {
100
+ "start": 2.01,
101
+ "end": 2.22,
102
+ "duration": 0.21
103
+ },
104
+ {
105
+ "start": 3.15,
106
+ "end": 3.56,
107
+ "duration": 0.41
108
+ }
109
+ ],
110
+ "f0_hz": {
111
+ "median": 216.122,
112
+ "p10_p90": [
113
+ 185.877,
114
+ 286.826
115
+ ],
116
+ "contour_20_points": [
117
+ 208.76,
118
+ 237.05,
119
+ 247.65,
120
+ 214.44,
121
+ 247.58,
122
+ 187.16,
123
+ 274.77,
124
+ 291.86,
125
+ 205.75,
126
+ 241.4,
127
+ 288.37,
128
+ 213.14,
129
+ 266.08,
130
+ 200.65,
131
+ 219.47,
132
+ 208.76,
133
+ 203.87,
134
+ 202.29,
135
+ 173.27,
136
+ 216.12
137
+ ]
138
+ },
139
+ "energy_db": {
140
+ "p10_p50_p90": [
141
+ -56.4,
142
+ -24.917,
143
+ -16.008
144
+ ],
145
+ "dynamic_range_db": 40.393,
146
+ "contour_20_points": [
147
+ -82.3,
148
+ -13.67,
149
+ -27.86,
150
+ -58.67,
151
+ -14.5,
152
+ -32.17,
153
+ -17.59,
154
+ -25.22,
155
+ -31.82,
156
+ -54.08,
157
+ -15.02,
158
+ -18.37,
159
+ -15.62,
160
+ -37.23,
161
+ -13.95,
162
+ -18.09,
163
+ -23.13,
164
+ -31.1,
165
+ -27.38,
166
+ -69.21
167
+ ]
168
+ },
169
+ "timbral_proxies": {
170
+ "spectral_centroid_hz_median": 1641.73,
171
+ "spectral_flatness_median": 0.007
172
+ },
173
+ "interpretation": {
174
+ "target": "soft, close-mic, restrained mechanical delivery",
175
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
176
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
177
+ },
178
+ "text": "Отлично! Запомните: день «Приведи дочь... на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.",
179
+ "text_chars_per_sec": 15.537
180
+ },
181
+ "pipeline_control": {
182
+ "tts_text": "Отлично! Запомните: день «Приведи дочь... на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.",
183
+ "duration_stage": "post",
184
+ "speaker_reference": "0025"
185
+ }
186
+ }
Models/Russian_CosyVoice3/profiles/0046.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0046.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 3.858,
5
+ "voiced_fraction": 0.746,
6
+ "pause_map": [
7
+ {
8
+ "start": 1.06,
9
+ "end": 1.19,
10
+ "duration": 0.13
11
+ },
12
+ {
13
+ "start": 1.79,
14
+ "end": 1.91,
15
+ "duration": 0.12
16
+ }
17
+ ],
18
+ "f0_hz": {
19
+ "median": 175.04,
20
+ "p10_p90": [
21
+ 138.528,
22
+ 209.969
23
+ ],
24
+ "contour_20_points": [
25
+ 243.99,
26
+ 223.35,
27
+ 162.07,
28
+ 140.95,
29
+ 170.41,
30
+ 195.31,
31
+ 218.82,
32
+ 208.76,
33
+ 205.17,
34
+ 199.31,
35
+ 174.59,
36
+ 197.46,
37
+ 154.9,
38
+ 146.77,
39
+ 209.1,
40
+ 184.91,
41
+ 146.86,
42
+ 140.48,
43
+ 136.15,
44
+ 108.69
45
+ ]
46
+ },
47
+ "energy_db": {
48
+ "p10_p50_p90": [
49
+ -49.24,
50
+ -14.599,
51
+ -8.273
52
+ ],
53
+ "dynamic_range_db": 40.967,
54
+ "contour_20_points": [
55
+ -77.93,
56
+ -9.55,
57
+ -14.4,
58
+ -12.18,
59
+ -18.56,
60
+ -15.75,
61
+ -31.54,
62
+ -10.8,
63
+ -20.92,
64
+ -45.03,
65
+ -8.1,
66
+ -8.88,
67
+ -10.75,
68
+ -15.92,
69
+ -12.71,
70
+ -7.65,
71
+ -11.01,
72
+ -23.83,
73
+ -19.48,
74
+ -60.06
75
+ ]
76
+ },
77
+ "timbral_proxies": {
78
+ "spectral_centroid_hz_median": 1766.239,
79
+ "spectral_flatness_median": 0.003
80
+ },
81
+ "interpretation": {
82
+ "target": "soft, close-mic, restrained mechanical delivery",
83
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
84
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
85
+ },
86
+ "text": "Прекратите сейчас — и торт подадут немедленно.",
87
+ "text_chars_per_sec": 11.923,
88
+ "source": {
89
+ "file": "sources_silero/0046.wav",
90
+ "sample_rate_for_analysis": 16000,
91
+ "duration_sec": 2.525,
92
+ "voiced_fraction": 0.747,
93
+ "pause_map": [],
94
+ "f0_hz": {
95
+ "median": 219.9,
96
+ "p10_p90": [
97
+ 172.331,
98
+ 251.143
99
+ ],
100
+ "contour_20_points": [
101
+ 212.41,
102
+ 226.34,
103
+ 236.26,
104
+ 280.49,
105
+ 247.05,
106
+ 229.85,
107
+ 237.41,
108
+ 222.45,
109
+ 228.95,
110
+ 200.98,
111
+ 255.07,
112
+ 226.77,
113
+ 189.81,
114
+ 217.37,
115
+ 223.47,
116
+ 189.96,
117
+ 174.16,
118
+ 161.83,
119
+ 196.47,
120
+ 205.17
121
+ ]
122
+ },
123
+ "energy_db": {
124
+ "p10_p50_p90": [
125
+ -42.716,
126
+ -22.267,
127
+ -15.447
128
+ ],
129
+ "dynamic_range_db": 27.268,
130
+ "contour_20_points": [
131
+ -84.9,
132
+ -14.66,
133
+ -11.7,
134
+ -17.51,
135
+ -16.81,
136
+ -22.17,
137
+ -17.58,
138
+ -23.84,
139
+ -42.24,
140
+ -27.47,
141
+ -13.47,
142
+ -39.7,
143
+ -17.65,
144
+ -18.02,
145
+ -17.71,
146
+ -19.25,
147
+ -29.02,
148
+ -27.44,
149
+ -42.88,
150
+ -78.25
151
+ ]
152
+ },
153
+ "timbral_proxies": {
154
+ "spectral_centroid_hz_median": 1444.414,
155
+ "spectral_flatness_median": 0.005
156
+ },
157
+ "interpretation": {
158
+ "target": "soft, close-mic, restrained mechanical delivery",
159
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
160
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
161
+ },
162
+ "text": "Прекратите сейчас — и торт подадут немедленно.",
163
+ "text_chars_per_sec": 18.218
164
+ },
165
+ "pipeline_control": {
166
+ "tts_text": "Прекратите сейчас — и торт подадут немедленно.",
167
+ "duration_stage": "pre",
168
+ "speaker_reference": "0046"
169
+ }
170
+ }
Models/Russian_CosyVoice3/profiles/0053.json ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0053.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 3.975,
5
+ "voiced_fraction": 0.746,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.98,
9
+ "end": 1.07,
10
+ "duration": 0.09
11
+ },
12
+ {
13
+ "start": 2.61,
14
+ "end": 2.74,
15
+ "duration": 0.13
16
+ }
17
+ ],
18
+ "f0_hz": {
19
+ "median": 184.913,
20
+ "p10_p90": [
21
+ 145.92,
22
+ 226.343
23
+ ],
24
+ "contour_20_points": [
25
+ 211.19,
26
+ 207.65,
27
+ 184.01,
28
+ 167.16,
29
+ 155.21,
30
+ 187.86,
31
+ 200.29,
32
+ 232.98,
33
+ 174.53,
34
+ 174.53,
35
+ 211.81,
36
+ 200.53,
37
+ 139.33,
38
+ 189.3,
39
+ 218.63,
40
+ 220.12,
41
+ 183.05,
42
+ 175.55,
43
+ 146.26,
44
+ 145.92
45
+ ]
46
+ },
47
+ "energy_db": {
48
+ "p10_p50_p90": [
49
+ -38.087,
50
+ -14.081,
51
+ -8.765
52
+ ],
53
+ "dynamic_range_db": 29.323,
54
+ "contour_20_points": [
55
+ -47.24,
56
+ -7.82,
57
+ -9.88,
58
+ -16.44,
59
+ -24.95,
60
+ -60.16,
61
+ -32.02,
62
+ -8.8,
63
+ -10.47,
64
+ -9.04,
65
+ -17.43,
66
+ -14.03,
67
+ -17.41,
68
+ -59.54,
69
+ -11.28,
70
+ -7.68,
71
+ -21.7,
72
+ -10.56,
73
+ -17.41,
74
+ -56.42
75
+ ]
76
+ },
77
+ "timbral_proxies": {
78
+ "spectral_centroid_hz_median": 1612.598,
79
+ "spectral_flatness_median": 0.003
80
+ },
81
+ "interpretation": {
82
+ "target": "soft, close-mic, restrained mechanical delivery",
83
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
84
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
85
+ },
86
+ "text": "Например, этот пол вас убьёт. Постарайтесь его избегать.",
87
+ "text_chars_per_sec": 14.087,
88
+ "source": {
89
+ "file": "sources_silero/0053.wav",
90
+ "sample_rate_for_analysis": 16000,
91
+ "duration_sec": 4.312,
92
+ "voiced_fraction": 0.604,
93
+ "pause_map": [
94
+ {
95
+ "start": 1.42,
96
+ "end": 1.89,
97
+ "duration": 0.47
98
+ },
99
+ {
100
+ "start": 2.47,
101
+ "end": 2.88,
102
+ "duration": 0.41
103
+ }
104
+ ],
105
+ "f0_hz": {
106
+ "median": 212.409,
107
+ "p10_p90": [
108
+ 167.618,
109
+ 243.994
110
+ ],
111
+ "contour_20_points": [
112
+ 232.98,
113
+ 220.18,
114
+ 224.53,
115
+ 323.99,
116
+ 218.9,
117
+ 221.8,
118
+ 167.62,
119
+ 220.89,
120
+ 267.9,
121
+ 221.17,
122
+ 190.36,
123
+ 156.29,
124
+ 188.57,
125
+ 207.56,
126
+ 232.03,
127
+ 194.78,
128
+ 178.78,
129
+ 176.5,
130
+ 153.71,
131
+ 153.71
132
+ ]
133
+ },
134
+ "energy_db": {
135
+ "p10_p50_p90": [
136
+ -71.827,
137
+ -27.349,
138
+ -15.634
139
+ ],
140
+ "dynamic_range_db": 56.192,
141
+ "contour_20_points": [
142
+ -69.31,
143
+ -19.04,
144
+ -14.2,
145
+ -20.66,
146
+ -16.41,
147
+ -43.35,
148
+ -27.1,
149
+ -63.79,
150
+ -76.95,
151
+ -19.9,
152
+ -23.11,
153
+ -45.52,
154
+ -85.65,
155
+ -21.58,
156
+ -12.87,
157
+ -25.82,
158
+ -22.73,
159
+ -26.78,
160
+ -36.45,
161
+ -84.07
162
+ ]
163
+ },
164
+ "timbral_proxies": {
165
+ "spectral_centroid_hz_median": 1422.117,
166
+ "spectral_flatness_median": 0.006
167
+ },
168
+ "interpretation": {
169
+ "target": "soft, close-mic, restrained mechanical delivery",
170
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
171
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
172
+ },
173
+ "text": "Например, этот пол... вас убьёт. Постарайтесь его избегать.",
174
+ "text_chars_per_sec": 13.681
175
+ },
176
+ "pipeline_control": {
177
+ "tts_text": "Например, этот пол... вас убьёт. Постарайтесь его избегать.",
178
+ "duration_stage": "pre",
179
+ "speaker_reference": "0053"
180
+ }
181
+ }
Models/Russian_CosyVoice3/profiles/0055.json ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0055.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 4.122,
5
+ "voiced_fraction": 0.789,
6
+ "pause_map": [
7
+ {
8
+ "start": 2.21,
9
+ "end": 2.71,
10
+ "duration": 0.5
11
+ },
12
+ {
13
+ "start": 3.17,
14
+ "end": 3.69,
15
+ "duration": 0.52
16
+ }
17
+ ],
18
+ "f0_hz": {
19
+ "median": 180.169,
20
+ "p10_p90": [
21
+ 65.566,
22
+ 216.748
23
+ ],
24
+ "contour_20_points": [
25
+ 128.51,
26
+ 184.91,
27
+ 222.18,
28
+ 185.98,
29
+ 171.33,
30
+ 188.71,
31
+ 185.98,
32
+ 185.04,
33
+ 198.36,
34
+ 201.11,
35
+ 146.71,
36
+ 65.0,
37
+ 88.35,
38
+ 169.51,
39
+ 155.49,
40
+ 73.41,
41
+ 68.87,
42
+ 191.6,
43
+ 155.34,
44
+ 162.85
45
+ ]
46
+ },
47
+ "energy_db": {
48
+ "p10_p50_p90": [
49
+ -66.601,
50
+ -15.688,
51
+ -9.394
52
+ ],
53
+ "dynamic_range_db": 57.208,
54
+ "contour_20_points": [
55
+ -70.07,
56
+ -12.83,
57
+ -12.82,
58
+ -10.71,
59
+ -12.75,
60
+ -13.67,
61
+ -10.4,
62
+ -10.06,
63
+ -25.91,
64
+ -9.27,
65
+ -25.53,
66
+ -62.36,
67
+ -66.6,
68
+ -9.03,
69
+ -13.35,
70
+ -57.75,
71
+ -66.62,
72
+ -34.74,
73
+ -12.47,
74
+ -32.18
75
+ ]
76
+ },
77
+ "timbral_proxies": {
78
+ "spectral_centroid_hz_median": 1719.65,
79
+ "spectral_flatness_median": 0.004
80
+ },
81
+ "interpretation": {
82
+ "target": "soft, close-mic, restrained mechanical delivery",
83
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
84
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
85
+ },
86
+ "text": "Аварийный люк откроется через три... Два... Один.",
87
+ "text_chars_per_sec": 11.886,
88
+ "source": {
89
+ "file": "sources_silero/0055.wav",
90
+ "sample_rate_for_analysis": 16000,
91
+ "duration_sec": 3.275,
92
+ "voiced_fraction": 0.665,
93
+ "pause_map": [
94
+ {
95
+ "start": 1.74,
96
+ "end": 1.9,
97
+ "duration": 0.16
98
+ },
99
+ {
100
+ "start": 2.27,
101
+ "end": 2.64,
102
+ "duration": 0.37
103
+ }
104
+ ],
105
+ "f0_hz": {
106
+ "median": 201.649,
107
+ "p10_p90": [
108
+ 172.232,
109
+ 236.092
110
+ ],
111
+ "contour_20_points": [
112
+ 207.56,
113
+ 206.36,
114
+ 272.85,
115
+ 218.1,
116
+ 229.37,
117
+ 232.51,
118
+ 223.74,
119
+ 210.77,
120
+ 186.1,
121
+ 175.94,
122
+ 173.64,
123
+ 210.58,
124
+ 182.79,
125
+ 177.83,
126
+ 193.61,
127
+ 209.33,
128
+ 193.89,
129
+ 160.02,
130
+ 181.74,
131
+ 181.74
132
+ ]
133
+ },
134
+ "energy_db": {
135
+ "p10_p50_p90": [
136
+ -76.527,
137
+ -24.111,
138
+ -13.957
139
+ ],
140
+ "dynamic_range_db": 62.57,
141
+ "contour_20_points": [
142
+ -68.85,
143
+ -13.95,
144
+ -14.3,
145
+ -14.32,
146
+ -29.03,
147
+ -28.33,
148
+ -13.86,
149
+ -22.2,
150
+ -21.79,
151
+ -38.12,
152
+ -38.14,
153
+ -50.63,
154
+ -23.53,
155
+ -31.24,
156
+ -78.78,
157
+ -84.76,
158
+ -21.95,
159
+ -24.27,
160
+ -60.92,
161
+ -79.7
162
+ ]
163
+ },
164
+ "timbral_proxies": {
165
+ "spectral_centroid_hz_median": 1322.038,
166
+ "spectral_flatness_median": 0.004
167
+ },
168
+ "interpretation": {
169
+ "target": "soft, close-mic, restrained mechanical delivery",
170
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
171
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
172
+ },
173
+ "text": "Аварийный люк откроется через три... Два... Один.",
174
+ "text_chars_per_sec": 14.962
175
+ },
176
+ "pipeline_control": {
177
+ "tts_text": "Аварийный люк откроется через три... Два... Один.",
178
+ "duration_stage": "pre",
179
+ "speaker_reference": "0055"
180
+ }
181
+ }
Models/Russian_CosyVoice3/profiles/0072.json ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0072.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 4.57,
5
+ "voiced_fraction": 0.803,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.49,
9
+ "end": 0.73,
10
+ "duration": 0.24
11
+ }
12
+ ],
13
+ "f0_hz": {
14
+ "median": 184.913,
15
+ "p10_p90": [
16
+ 156.393,
17
+ 217.126
18
+ ],
19
+ "contour_20_points": [
20
+ 241.19,
21
+ 212.1,
22
+ 188.46,
23
+ 194.22,
24
+ 207.56,
25
+ 219.94,
26
+ 222.45,
27
+ 174.53,
28
+ 175.55,
29
+ 175.08,
30
+ 195.91,
31
+ 177.35,
32
+ 177.19,
33
+ 190.35,
34
+ 211.19,
35
+ 168.82,
36
+ 165.56,
37
+ 151.18,
38
+ 129.25,
39
+ 129.25
40
+ ]
41
+ },
42
+ "energy_db": {
43
+ "p10_p50_p90": [
44
+ -38.226,
45
+ -13.668,
46
+ -9.139
47
+ ],
48
+ "dynamic_range_db": 29.087,
49
+ "contour_20_points": [
50
+ -69.45,
51
+ -10.42,
52
+ -37.31,
53
+ -37.82,
54
+ -11.51,
55
+ -28.4,
56
+ -8.02,
57
+ -9.9,
58
+ -9.14,
59
+ -9.99,
60
+ -9.29,
61
+ -15.81,
62
+ -22.69,
63
+ -12.06,
64
+ -7.93,
65
+ -15.01,
66
+ -40.71,
67
+ -12.62,
68
+ -30.96,
69
+ -63.56
70
+ ]
71
+ },
72
+ "timbral_proxies": {
73
+ "spectral_centroid_hz_median": 1702.818,
74
+ "spectral_flatness_median": 0.004
75
+ },
76
+ "interpretation": {
77
+ "target": "soft, close-mic, restrained mechanical delivery",
78
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
79
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
80
+ },
81
+ "text": "По завершении теста будут доступны торт и консультации по переживанию утраты.",
82
+ "text_chars_per_sec": 16.85,
83
+ "source": {
84
+ "file": "sources_silero/0072.wav",
85
+ "sample_rate_for_analysis": 16000,
86
+ "duration_sec": 4.088,
87
+ "voiced_fraction": 0.763,
88
+ "pause_map": [],
89
+ "f0_hz": {
90
+ "median": 209.969,
91
+ "p10_p90": [
92
+ 181.736,
93
+ 264.545
94
+ ],
95
+ "contour_20_points": [
96
+ 230.3,
97
+ 223.16,
98
+ 280.49,
99
+ 230.82,
100
+ 302.13,
101
+ 209.26,
102
+ 203.99,
103
+ 261.51,
104
+ 206.86,
105
+ 228.63,
106
+ 201.5,
107
+ 198.36,
108
+ 213.64,
109
+ 203.25,
110
+ 196.63,
111
+ 184.91,
112
+ 177.16,
113
+ 173.36,
114
+ 150.2,
115
+ 150.2
116
+ ]
117
+ },
118
+ "energy_db": {
119
+ "p10_p50_p90": [
120
+ -38.125,
121
+ -20.63,
122
+ -15.019
123
+ ],
124
+ "dynamic_range_db": 23.105,
125
+ "contour_20_points": [
126
+ -83.4,
127
+ -15.96,
128
+ -17.03,
129
+ -14.32,
130
+ -19.54,
131
+ -23.35,
132
+ -17.84,
133
+ -17.96,
134
+ -38.46,
135
+ -36.89,
136
+ -18.82,
137
+ -23.22,
138
+ -21.69,
139
+ -35.59,
140
+ -19.55,
141
+ -20.26,
142
+ -22.11,
143
+ -22.33,
144
+ -33.64,
145
+ -77.39
146
+ ]
147
+ },
148
+ "timbral_proxies": {
149
+ "spectral_centroid_hz_median": 1460.954,
150
+ "spectral_flatness_median": 0.006
151
+ },
152
+ "interpretation": {
153
+ "target": "soft, close-mic, restrained mechanical delivery",
154
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
155
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
156
+ },
157
+ "text": "По завершении теста будут доступны торт и консультации по переживанию утраты.",
158
+ "text_chars_per_sec": 18.838
159
+ },
160
+ "pipeline_control": {
161
+ "tts_text": "По завершении теста будут доступны торт и консультации по переживанию утраты.",
162
+ "duration_stage": "pre",
163
+ "speaker_reference": "0072"
164
+ }
165
+ }
Models/Russian_CosyVoice3/profiles/0109.json ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0109.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 11.724,
5
+ "voiced_fraction": 0.782,
6
+ "pause_map": [
7
+ {
8
+ "start": 1.16,
9
+ "end": 1.68,
10
+ "duration": 0.52
11
+ },
12
+ {
13
+ "start": 2.22,
14
+ "end": 2.86,
15
+ "duration": 0.64
16
+ },
17
+ {
18
+ "start": 3.19,
19
+ "end": 3.32,
20
+ "duration": 0.13
21
+ },
22
+ {
23
+ "start": 5.13,
24
+ "end": 5.49,
25
+ "duration": 0.36
26
+ },
27
+ {
28
+ "start": 6.66,
29
+ "end": 6.76,
30
+ "duration": 0.1
31
+ }
32
+ ],
33
+ "f0_hz": {
34
+ "median": 194.78,
35
+ "p10_p90": [
36
+ 148.471,
37
+ 258.503
38
+ ],
39
+ "contour_20_points": [
40
+ 270.73,
41
+ 201.52,
42
+ 162.66,
43
+ 263.02,
44
+ 131.28,
45
+ 217.37,
46
+ 219.9,
47
+ 227.58,
48
+ 285.17,
49
+ 193.35,
50
+ 207.26,
51
+ 173.08,
52
+ 198.18,
53
+ 194.78,
54
+ 174.53,
55
+ 219.9,
56
+ 184.91,
57
+ 174.53,
58
+ 166.24,
59
+ 145.08
60
+ ]
61
+ },
62
+ "energy_db": {
63
+ "p10_p50_p90": [
64
+ -55.729,
65
+ -15.73,
66
+ -9.733
67
+ ],
68
+ "dynamic_range_db": 45.996,
69
+ "contour_20_points": [
70
+ -72.95,
71
+ -9.65,
72
+ -57.44,
73
+ -7.82,
74
+ -57.31,
75
+ -12.03,
76
+ -18.53,
77
+ -22.83,
78
+ -17.24,
79
+ -18.07,
80
+ -37.39,
81
+ -16.64,
82
+ -12.29,
83
+ -9.31,
84
+ -11.76,
85
+ -10.33,
86
+ -11.75,
87
+ -9.75,
88
+ -18.17,
89
+ -69.14
90
+ ]
91
+ },
92
+ "timbral_proxies": {
93
+ "spectral_centroid_hz_median": 1729.692,
94
+ "spectral_flatness_median": 0.003
95
+ },
96
+ "interpretation": {
97
+ "target": "soft, close-mic, restrained mechanical delivery",
98
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
99
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
100
+ },
101
+ "text": "Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.",
102
+ "text_chars_per_sec": 11.6,
103
+ "source": {
104
+ "file": "sources_silero/0109.wav",
105
+ "sample_rate_for_analysis": 16000,
106
+ "duration_sec": 8.025,
107
+ "voiced_fraction": 0.733,
108
+ "pause_map": [
109
+ {
110
+ "start": 1.18,
111
+ "end": 1.41,
112
+ "duration": 0.23
113
+ },
114
+ {
115
+ "start": 2.11,
116
+ "end": 2.2,
117
+ "duration": 0.09
118
+ },
119
+ {
120
+ "start": 2.67,
121
+ "end": 3.11,
122
+ "duration": 0.44
123
+ }
124
+ ],
125
+ "f0_hz": {
126
+ "median": 221.173,
127
+ "p10_p90": [
128
+ 189.235,
129
+ 267.619
130
+ ],
131
+ "contour_20_points": [
132
+ 298.66,
133
+ 296.94,
134
+ 211.9,
135
+ 203.29,
136
+ 280.53,
137
+ 202.18,
138
+ 222.66,
139
+ 242.51,
140
+ 227.79,
141
+ 244.93,
142
+ 302.78,
143
+ 209.72,
144
+ 211.77,
145
+ 213.45,
146
+ 212.02,
147
+ 170.65,
148
+ 228.7,
149
+ 241.15,
150
+ 197.88,
151
+ 165.69
152
+ ]
153
+ },
154
+ "energy_db": {
155
+ "p10_p50_p90": [
156
+ -54.094,
157
+ -25.398,
158
+ -16.436
159
+ ],
160
+ "dynamic_range_db": 37.657,
161
+ "contour_20_points": [
162
+ -77.79,
163
+ -16.71,
164
+ -16.67,
165
+ -63.98,
166
+ -28.9,
167
+ -46.69,
168
+ -18.08,
169
+ -54.21,
170
+ -14.4,
171
+ -19.76,
172
+ -22.33,
173
+ -19.26,
174
+ -18.9,
175
+ -24.18,
176
+ -21.29,
177
+ -26.47,
178
+ -33.58,
179
+ -16.27,
180
+ -25.21,
181
+ -67.27
182
+ ]
183
+ },
184
+ "timbral_proxies": {
185
+ "spectral_centroid_hz_median": 1800.431,
186
+ "spectral_flatness_median": 0.008
187
+ },
188
+ "interpretation": {
189
+ "target": "soft, close-mic, restrained mechanical delivery",
190
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
191
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
192
+ },
193
+ "text": "Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.",
194
+ "text_chars_per_sec": 16.947
195
+ },
196
+ "pipeline_control": {
197
+ "tts_text": "Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.",
198
+ "duration_stage": "pre",
199
+ "speaker_reference": "0109"
200
+ }
201
+ }
Models/Russian_CosyVoice3/profiles/0133.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0133.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 4.215,
5
+ "voiced_fraction": 0.602,
6
+ "pause_map": [
7
+ {
8
+ "start": 1.42,
9
+ "end": 1.69,
10
+ "duration": 0.27
11
+ },
12
+ {
13
+ "start": 2.65,
14
+ "end": 2.78,
15
+ "duration": 0.13
16
+ }
17
+ ],
18
+ "f0_hz": {
19
+ "median": 183.848,
20
+ "p10_p90": [
21
+ 145.92,
22
+ 217.374
23
+ ],
24
+ "contour_20_points": [
25
+ 198.18,
26
+ 198.18,
27
+ 203.25,
28
+ 207.56,
29
+ 164.74,
30
+ 171.45,
31
+ 147.62,
32
+ 175.89,
33
+ 217.37,
34
+ 205.36,
35
+ 185.98,
36
+ 208.76,
37
+ 192.44,
38
+ 178.61,
39
+ 213.85,
40
+ 209.75,
41
+ 162.41,
42
+ 146.77,
43
+ 145.08,
44
+ 145.92
45
+ ]
46
+ },
47
+ "energy_db": {
48
+ "p10_p50_p90": [
49
+ -66.622,
50
+ -23.924,
51
+ -12.704
52
+ ],
53
+ "dynamic_range_db": 53.918,
54
+ "contour_20_points": [
55
+ -74.92,
56
+ -58.69,
57
+ -13.72,
58
+ -15.71,
59
+ -20.07,
60
+ -33.74,
61
+ -18.28,
62
+ -67.47,
63
+ -12.21,
64
+ -22.11,
65
+ -20.83,
66
+ -13.17,
67
+ -52.53,
68
+ -24.95,
69
+ -21.48,
70
+ -25.96,
71
+ -23.08,
72
+ -22.93,
73
+ -27.0,
74
+ -72.99
75
+ ]
76
+ },
77
+ "timbral_proxies": {
78
+ "spectral_centroid_hz_median": 2968.606,
79
+ "spectral_flatness_median": 0.011
80
+ },
81
+ "interpretation": {
82
+ "target": "soft, close-mic, restrained mechanical delivery",
83
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
84
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
85
+ },
86
+ "text": "Я не злюсь. Просто возвращайтесь в тестовую зону.",
87
+ "text_chars_per_sec": 11.626,
88
+ "source": {
89
+ "file": "sources_silero/0133.wav",
90
+ "sample_rate_for_analysis": 16000,
91
+ "duration_sec": 3.112,
92
+ "voiced_fraction": 0.644,
93
+ "pause_map": [
94
+ {
95
+ "start": 0.9,
96
+ "end": 1.19,
97
+ "duration": 0.29
98
+ }
99
+ ],
100
+ "f0_hz": {
101
+ "median": 212.409,
102
+ "p10_p90": [
103
+ 165.693,
104
+ 248.259
105
+ ],
106
+ "contour_20_points": [
107
+ 254.06,
108
+ 254.06,
109
+ 240.86,
110
+ 223.37,
111
+ 184.81,
112
+ 176.4,
113
+ 206.07,
114
+ 235.75,
115
+ 255.85,
116
+ 241.98,
117
+ 212.41,
118
+ 213.31,
119
+ 237.05,
120
+ 228.58,
121
+ 206.36,
122
+ 217.33,
123
+ 185.87,
124
+ 169.59,
125
+ 160.98,
126
+ 197.04
127
+ ]
128
+ },
129
+ "energy_db": {
130
+ "p10_p50_p90": [
131
+ -73.928,
132
+ -23.387,
133
+ -14.01
134
+ ],
135
+ "dynamic_range_db": 59.917,
136
+ "contour_20_points": [
137
+ -79.17,
138
+ -68.08,
139
+ -11.01,
140
+ -17.98,
141
+ -16.14,
142
+ -31.13,
143
+ -71.26,
144
+ -75.95,
145
+ -13.01,
146
+ -17.0,
147
+ -16.34,
148
+ -18.33,
149
+ -17.35,
150
+ -26.52,
151
+ -16.08,
152
+ -24.46,
153
+ -18.43,
154
+ -21.71,
155
+ -27.6,
156
+ -64.8
157
+ ]
158
+ },
159
+ "timbral_proxies": {
160
+ "spectral_centroid_hz_median": 1621.386,
161
+ "spectral_flatness_median": 0.011
162
+ },
163
+ "interpretation": {
164
+ "target": "soft, close-mic, restrained mechanical delivery",
165
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
166
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
167
+ },
168
+ "text": "Я не злюсь. Просто возвращайтесь в тестовую зону.",
169
+ "text_chars_per_sec": 15.743
170
+ },
171
+ "pipeline_control": {
172
+ "tts_text": "Я не злюсь. Просто возвращайтесь в тестовую зону.",
173
+ "duration_stage": "pre",
174
+ "speaker_reference": "0133"
175
+ }
176
+ }
Models/Russian_CosyVoice3/profiles/0142.json ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0142.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 3.691,
5
+ "voiced_fraction": 0.724,
6
+ "pause_map": [
7
+ {
8
+ "start": 1.1,
9
+ "end": 1.3,
10
+ "duration": 0.2
11
+ }
12
+ ],
13
+ "f0_hz": {
14
+ "median": 203.404,
15
+ "p10_p90": [
16
+ 146.765,
17
+ 261.506
18
+ ],
19
+ "contour_20_points": [
20
+ 248.26,
21
+ 263.9,
22
+ 208.74,
23
+ 263.02,
24
+ 165.98,
25
+ 146.77,
26
+ 167.59,
27
+ 262.88,
28
+ 253.58,
29
+ 185.31,
30
+ 200.26,
31
+ 214.93,
32
+ 205.17,
33
+ 222.51,
34
+ 218.71,
35
+ 145.84,
36
+ 209.44,
37
+ 195.67,
38
+ 146.77,
39
+ 150.2
40
+ ]
41
+ },
42
+ "energy_db": {
43
+ "p10_p50_p90": [
44
+ -46.317,
45
+ -21.486,
46
+ -11.392
47
+ ],
48
+ "dynamic_range_db": 34.925,
49
+ "contour_20_points": [
50
+ -82.39,
51
+ -34.69,
52
+ -23.58,
53
+ -19.92,
54
+ -27.79,
55
+ -18.49,
56
+ -61.19,
57
+ -17.76,
58
+ -31.32,
59
+ -13.87,
60
+ -40.37,
61
+ -17.85,
62
+ -13.13,
63
+ -57.6,
64
+ -10.5,
65
+ -29.15,
66
+ -23.95,
67
+ -21.85,
68
+ -24.14,
69
+ -69.52
70
+ ]
71
+ },
72
+ "timbral_proxies": {
73
+ "spectral_centroid_hz_median": 2552.386,
74
+ "spectral_flatness_median": 0.008
75
+ },
76
+ "interpretation": {
77
+ "target": "soft, close-mic, restrained mechanical delivery",
78
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
79
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
80
+ },
81
+ "text": "Теперь я не шучу. Поворачивайте назад, иначе я вас убью.",
82
+ "text_chars_per_sec": 15.174,
83
+ "source": {
84
+ "file": "sources_silero/0142.wav",
85
+ "sample_rate_for_analysis": 16000,
86
+ "duration_sec": 4.075,
87
+ "voiced_fraction": 0.667,
88
+ "pause_map": [
89
+ {
90
+ "start": 0.47,
91
+ "end": 0.75,
92
+ "duration": 0.28
93
+ },
94
+ {
95
+ "start": 1.44,
96
+ "end": 1.82,
97
+ "duration": 0.38
98
+ },
99
+ {
100
+ "start": 2.85,
101
+ "end": 2.99,
102
+ "duration": 0.14
103
+ }
104
+ ],
105
+ "f0_hz": {
106
+ "median": 199.333,
107
+ "p10_p90": [
108
+ 166.653,
109
+ 230.167
110
+ ],
111
+ "contour_20_points": [
112
+ 261.51,
113
+ 243.71,
114
+ 187.74,
115
+ 231.75,
116
+ 214.62,
117
+ 228.14,
118
+ 196.05,
119
+ 157.3,
120
+ 200.19,
121
+ 205.2,
122
+ 241.3,
123
+ 210.96,
124
+ 187.59,
125
+ 175.33,
126
+ 212.36,
127
+ 222.63,
128
+ 188.15,
129
+ 196.6,
130
+ 160.0,
131
+ 166.65
132
+ ]
133
+ },
134
+ "energy_db": {
135
+ "p10_p50_p90": [
136
+ -72.531,
137
+ -24.355,
138
+ -15.555
139
+ ],
140
+ "dynamic_range_db": 56.975,
141
+ "contour_20_points": [
142
+ -86.88,
143
+ -35.91,
144
+ -33.77,
145
+ -85.21,
146
+ -14.52,
147
+ -23.31,
148
+ -27.36,
149
+ -63.51,
150
+ -61.59,
151
+ -13.6,
152
+ -20.96,
153
+ -33.99,
154
+ -31.92,
155
+ -43.96,
156
+ -26.19,
157
+ -20.55,
158
+ -23.28,
159
+ -25.26,
160
+ -23.79,
161
+ -76.02
162
+ ]
163
+ },
164
+ "timbral_proxies": {
165
+ "spectral_centroid_hz_median": 1542.652,
166
+ "spectral_flatness_median": 0.006
167
+ },
168
+ "interpretation": {
169
+ "target": "soft, close-mic, restrained mechanical delivery",
170
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
171
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
172
+ },
173
+ "text": "Теперь. Я не шучу. Поворачивайте назад, иначе я вас убью.",
174
+ "text_chars_per_sec": 13.988
175
+ },
176
+ "pipeline_control": {
177
+ "tts_text": "Теперь. Я не шучу. Поворачивайте назад, иначе я вас убью.",
178
+ "duration_stage": "post",
179
+ "speaker_reference": "0072"
180
+ }
181
+ }
Models/Russian_CosyVoice3/profiles/0143.json ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0143.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 3.521,
5
+ "voiced_fraction": 0.615,
6
+ "pause_map": [
7
+ {
8
+ "start": 1.3,
9
+ "end": 1.82,
10
+ "duration": 0.52
11
+ }
12
+ ],
13
+ "f0_hz": {
14
+ "median": 206.362,
15
+ "p10_p90": [
16
+ 164.739,
17
+ 248.259
18
+ ],
19
+ "contour_20_points": [
20
+ 238.42,
21
+ 244.75,
22
+ 196.97,
23
+ 200.87,
24
+ 245.16,
25
+ 246.83,
26
+ 178.42,
27
+ 164.05,
28
+ 171.17,
29
+ 186.71,
30
+ 202.25,
31
+ 206.22,
32
+ 208.76,
33
+ 251.33,
34
+ 228.0,
35
+ 194.78,
36
+ 185.98,
37
+ 164.74,
38
+ 165.69,
39
+ 165.69
40
+ ]
41
+ },
42
+ "energy_db": {
43
+ "p10_p50_p90": [
44
+ -70.164,
45
+ -21.827,
46
+ -13.122
47
+ ],
48
+ "dynamic_range_db": 57.041,
49
+ "contour_20_points": [
50
+ -80.72,
51
+ -12.95,
52
+ -24.01,
53
+ -29.9,
54
+ -23.36,
55
+ -14.43,
56
+ -22.43,
57
+ -39.3,
58
+ -69.71,
59
+ -72.72,
60
+ -15.77,
61
+ -20.53,
62
+ -17.11,
63
+ -20.57,
64
+ -9.56,
65
+ -11.7,
66
+ -18.47,
67
+ -15.26,
68
+ -45.03,
69
+ -73.56
70
+ ]
71
+ },
72
+ "timbral_proxies": {
73
+ "spectral_centroid_hz_median": 2891.667,
74
+ "spectral_flatness_median": 0.012
75
+ },
76
+ "interpretation": {
77
+ "target": "soft, close-mic, restrained mechanical delivery",
78
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
79
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
80
+ },
81
+ "text": "Я собираюсь вас убить, а весь торт уже закончился.",
82
+ "text_chars_per_sec": 14.2,
83
+ "source": {
84
+ "file": "sources_silero/0143.wav",
85
+ "sample_rate_for_analysis": 16000,
86
+ "duration_sec": 2.9,
87
+ "voiced_fraction": 0.704,
88
+ "pause_map": [],
89
+ "f0_hz": {
90
+ "median": 206.362,
91
+ "p10_p90": [
92
+ 184.702,
93
+ 238.421
94
+ ],
95
+ "contour_20_points": [
96
+ 249.7,
97
+ 228.24,
98
+ 224.92,
99
+ 230.25,
100
+ 248.41,
101
+ 225.27,
102
+ 200.49,
103
+ 190.68,
104
+ 208.51,
105
+ 203.35,
106
+ 195.2,
107
+ 207.55,
108
+ 234.54,
109
+ 215.4,
110
+ 196.99,
111
+ 190.0,
112
+ 177.07,
113
+ 169.98,
114
+ 163.79,
115
+ 163.79
116
+ ]
117
+ },
118
+ "energy_db": {
119
+ "p10_p50_p90": [
120
+ -45.369,
121
+ -22.69,
122
+ -14.354
123
+ ],
124
+ "dynamic_range_db": 31.015,
125
+ "contour_20_points": [
126
+ -84.94,
127
+ -20.63,
128
+ -18.67,
129
+ -17.5,
130
+ -13.74,
131
+ -23.39,
132
+ -22.61,
133
+ -24.63,
134
+ -21.53,
135
+ -35.83,
136
+ -21.39,
137
+ -22.19,
138
+ -13.59,
139
+ -26.43,
140
+ -19.84,
141
+ -38.72,
142
+ -26.11,
143
+ -32.59,
144
+ -43.4,
145
+ -74.69
146
+ ]
147
+ },
148
+ "timbral_proxies": {
149
+ "spectral_centroid_hz_median": 1918.553,
150
+ "spectral_flatness_median": 0.018
151
+ },
152
+ "interpretation": {
153
+ "target": "soft, close-mic, restrained mechanical delivery",
154
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
155
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
156
+ },
157
+ "text": "Я собираюсь вас убить, а весь торт уже закончился.",
158
+ "text_chars_per_sec": 17.241
159
+ },
160
+ "pipeline_control": {
161
+ "tts_text": "Я собираюсь вас убить, а весь торт уже закончился.",
162
+ "duration_stage": "pre",
163
+ "speaker_reference": "0143"
164
+ }
165
+ }
Models/Russian_CosyVoice3/profiles/0177.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0177.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 10.112,
5
+ "voiced_fraction": 0.837,
6
+ "pause_map": [],
7
+ "f0_hz": {
8
+ "median": 127.767,
9
+ "p10_p90": [
10
+ 121.997,
11
+ 139.653
12
+ ],
13
+ "contour_20_points": [
14
+ 133.04,
15
+ 122.86,
16
+ 142.26,
17
+ 136.41,
18
+ 124.13,
19
+ 124.13,
20
+ 133.56,
21
+ 174.53,
22
+ 123.97,
23
+ 124.1,
24
+ 130.59,
25
+ 114.57,
26
+ 131.51,
27
+ 140.14,
28
+ 131.44,
29
+ 162.2,
30
+ 138.1,
31
+ 123.25,
32
+ 130.0,
33
+ 114.49
34
+ ]
35
+ },
36
+ "energy_db": {
37
+ "p10_p50_p90": [
38
+ -16.479,
39
+ -8.717,
40
+ -5.692
41
+ ],
42
+ "dynamic_range_db": 10.787,
43
+ "contour_20_points": [
44
+ -61.57,
45
+ -7.72,
46
+ -15.92,
47
+ -10.7,
48
+ -6.59,
49
+ -7.52,
50
+ -6.91,
51
+ -5.24,
52
+ -8.43,
53
+ -7.91,
54
+ -7.98,
55
+ -5.95,
56
+ -8.18,
57
+ -13.27,
58
+ -6.63,
59
+ -13.23,
60
+ -8.29,
61
+ -6.97,
62
+ -7.36,
63
+ -41.0
64
+ ]
65
+ },
66
+ "timbral_proxies": {
67
+ "spectral_centroid_hz_median": 1132.334,
68
+ "spectral_flatness_median": 0.001
69
+ },
70
+ "interpretation": {
71
+ "target": "soft, close-mic, restrained mechanical delivery",
72
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
73
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
74
+ },
75
+ "text": "Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.",
76
+ "text_chars_per_sec": 17.207,
77
+ "source": {
78
+ "file": "sources_silero/0177.wav",
79
+ "sample_rate_for_analysis": 16000,
80
+ "duration_sec": 9.338,
81
+ "voiced_fraction": 0.746,
82
+ "pause_map": [
83
+ {
84
+ "start": 1.25,
85
+ "end": 1.6,
86
+ "duration": 0.35
87
+ },
88
+ {
89
+ "start": 3.07,
90
+ "end": 3.21,
91
+ "duration": 0.14
92
+ },
93
+ {
94
+ "start": 5.61,
95
+ "end": 5.73,
96
+ "duration": 0.12
97
+ }
98
+ ],
99
+ "f0_hz": {
100
+ "median": 195.908,
101
+ "p10_p90": [
102
+ 175.545,
103
+ 226.343
104
+ ],
105
+ "contour_20_points": [
106
+ 238.42,
107
+ 221.17,
108
+ 167.06,
109
+ 195.84,
110
+ 226.78,
111
+ 203.8,
112
+ 188.0,
113
+ 199.33,
114
+ 200.49,
115
+ 183.53,
116
+ 178.15,
117
+ 222.45,
118
+ 193.95,
119
+ 198.79,
120
+ 187.03,
121
+ 188.38,
122
+ 190.68,
123
+ 200.49,
124
+ 178.61,
125
+ 188.15
126
+ ]
127
+ },
128
+ "energy_db": {
129
+ "p10_p50_p90": [
130
+ -41.703,
131
+ -23.42,
132
+ -16.499
133
+ ],
134
+ "dynamic_range_db": 25.204,
135
+ "contour_20_points": [
136
+ -72.77,
137
+ -12.27,
138
+ -18.25,
139
+ -54.47,
140
+ -37.61,
141
+ -20.4,
142
+ -21.82,
143
+ -18.08,
144
+ -21.21,
145
+ -22.47,
146
+ -20.42,
147
+ -16.53,
148
+ -20.29,
149
+ -26.57,
150
+ -20.09,
151
+ -34.14,
152
+ -23.92,
153
+ -17.98,
154
+ -31.23,
155
+ -71.2
156
+ ]
157
+ },
158
+ "timbral_proxies": {
159
+ "spectral_centroid_hz_median": 1420.344,
160
+ "spectral_flatness_median": 0.005
161
+ },
162
+ "interpretation": {
163
+ "target": "soft, close-mic, restrained mechanical delivery",
164
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
165
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
166
+ },
167
+ "text": "Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.",
168
+ "text_chars_per_sec": 18.635
169
+ },
170
+ "pipeline_control": {
171
+ "tts_text": "Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.",
172
+ "duration_stage": "pre",
173
+ "speaker_reference": "0177"
174
+ }
175
+ }
Models/Russian_CosyVoice3/profiles/0208.json ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0208.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 10.029,
5
+ "voiced_fraction": 0.41,
6
+ "pause_map": [
7
+ {
8
+ "start": 1.28,
9
+ "end": 1.37,
10
+ "duration": 0.09
11
+ },
12
+ {
13
+ "start": 1.68,
14
+ "end": 2.26,
15
+ "duration": 0.58
16
+ },
17
+ {
18
+ "start": 2.62,
19
+ "end": 2.77,
20
+ "duration": 0.15
21
+ },
22
+ {
23
+ "start": 3.46,
24
+ "end": 3.73,
25
+ "duration": 0.27
26
+ },
27
+ {
28
+ "start": 5.22,
29
+ "end": 5.44,
30
+ "duration": 0.22
31
+ },
32
+ {
33
+ "start": 5.92,
34
+ "end": 6.24,
35
+ "duration": 0.32
36
+ }
37
+ ],
38
+ "f0_hz": {
39
+ "median": 185.984,
40
+ "p10_p90": [
41
+ 115.817,
42
+ 307.413
43
+ ],
44
+ "contour_20_points": [
45
+ 169.57,
46
+ 159.63,
47
+ 263.36,
48
+ 437.27,
49
+ 356.17,
50
+ 281.8,
51
+ 243.33,
52
+ 204.23,
53
+ 212.08,
54
+ 210.38,
55
+ 274.54,
56
+ 331.55,
57
+ 388.57,
58
+ 445.58,
59
+ 479.6,
60
+ 195.62,
61
+ 164.29,
62
+ 116.03,
63
+ 121.02,
64
+ 137.73
65
+ ]
66
+ },
67
+ "energy_db": {
68
+ "p10_p50_p90": [
69
+ -49.648,
70
+ -15.552,
71
+ -8.812
72
+ ],
73
+ "dynamic_range_db": 40.836,
74
+ "contour_20_points": [
75
+ -63.96,
76
+ -8.35,
77
+ -16.6,
78
+ -9.47,
79
+ -55.84,
80
+ -44.47,
81
+ -27.62,
82
+ -57.49,
83
+ -11.69,
84
+ -29.76,
85
+ -55.79,
86
+ -24.67,
87
+ -18.95,
88
+ -12.51,
89
+ -10.5,
90
+ -9.1,
91
+ -9.55,
92
+ -12.14,
93
+ -14.25,
94
+ -55.53
95
+ ]
96
+ },
97
+ "timbral_proxies": {
98
+ "spectral_centroid_hz_median": 1982.711,
99
+ "spectral_flatness_median": 0.025
100
+ },
101
+ "interpretation": {
102
+ "target": "soft, close-mic, restrained mechanical delivery",
103
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
104
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
105
+ },
106
+ "text": "Нейротоксин... [кашель] [кашель] Такой смертельный... задыхаюсь... [смех] Шучу!",
107
+ "text_chars_per_sec": 7.877,
108
+ "source": {
109
+ "file": "sources_silero/0208.wav",
110
+ "sample_rate_for_analysis": 16000,
111
+ "duration_sec": 6.425,
112
+ "voiced_fraction": 0.557,
113
+ "pause_map": [
114
+ {
115
+ "start": 1.12,
116
+ "end": 1.5,
117
+ "duration": 0.38
118
+ },
119
+ {
120
+ "start": 1.95,
121
+ "end": 2.29,
122
+ "duration": 0.34
123
+ },
124
+ {
125
+ "start": 2.74,
126
+ "end": 3.01,
127
+ "duration": 0.27
128
+ },
129
+ {
130
+ "start": 3.96,
131
+ "end": 4.12,
132
+ "duration": 0.16
133
+ },
134
+ {
135
+ "start": 4.83,
136
+ "end": 5.03,
137
+ "duration": 0.2
138
+ },
139
+ {
140
+ "start": 5.48,
141
+ "end": 5.79,
142
+ "duration": 0.31
143
+ }
144
+ ],
145
+ "f0_hz": {
146
+ "median": 215.499,
147
+ "p10_p90": [
148
+ 177.585,
149
+ 260.452
150
+ ],
151
+ "contour_20_points": [
152
+ 270.73,
153
+ 247.77,
154
+ 260.0,
155
+ 170.01,
156
+ 219.53,
157
+ 206.14,
158
+ 208.0,
159
+ 243.0,
160
+ 178.61,
161
+ 219.47,
162
+ 249.24,
163
+ 180.74,
164
+ 252.34,
165
+ 255.04,
166
+ 183.44,
167
+ 236.06,
168
+ 171.42,
169
+ 235.98,
170
+ 223.93,
171
+ 194.78
172
+ ]
173
+ },
174
+ "energy_db": {
175
+ "p10_p50_p90": [
176
+ -71.844,
177
+ -29.089,
178
+ -15.943
179
+ ],
180
+ "dynamic_range_db": 55.902,
181
+ "contour_20_points": [
182
+ -77.92,
183
+ -22.32,
184
+ -17.29,
185
+ -24.88,
186
+ -60.0,
187
+ -20.58,
188
+ -60.13,
189
+ -12.25,
190
+ -32.96,
191
+ -19.41,
192
+ -14.99,
193
+ -20.67,
194
+ -63.99,
195
+ -35.79,
196
+ -31.51,
197
+ -32.15,
198
+ -32.38,
199
+ -79.22,
200
+ -21.52,
201
+ -59.8
202
+ ]
203
+ },
204
+ "timbral_proxies": {
205
+ "spectral_centroid_hz_median": 1596.167,
206
+ "spectral_flatness_median": 0.013
207
+ },
208
+ "interpretation": {
209
+ "target": "soft, close-mic, restrained mechanical delivery",
210
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
211
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
212
+ },
213
+ "text": "Нейротоксин. Кашель. Кашель. Такой смертельный. Задыхаюсь. Смех. Шучу!",
214
+ "text_chars_per_sec": 10.895
215
+ },
216
+ "pipeline_control": {
217
+ "tts_text": "Нейротоксин. Кашель. Кашель. Такой смертельный. Задыхаюсь. Смех. Шучу!",
218
+ "duration_stage": "pre",
219
+ "speaker_reference": "0208"
220
+ }
221
+ }
Models/Russian_CosyVoice3/profiles/0224.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0224.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 3.413,
5
+ "voiced_fraction": 0.801,
6
+ "pause_map": [],
7
+ "f0_hz": {
8
+ "median": 155.492,
9
+ "p10_p90": [
10
+ 146.765,
11
+ 195.908
12
+ ],
13
+ "contour_20_points": [
14
+ 200.49,
15
+ 200.49,
16
+ 195.91,
17
+ 197.04,
18
+ 147.62,
19
+ 174.53,
20
+ 172.53,
21
+ 156.39,
22
+ 181.02,
23
+ 185.25,
24
+ 146.77,
25
+ 146.77,
26
+ 149.98,
27
+ 156.39,
28
+ 156.39,
29
+ 146.77,
30
+ 155.49,
31
+ 130.75,
32
+ 98.68,
33
+ 65.76
34
+ ]
35
+ },
36
+ "energy_db": {
37
+ "p10_p50_p90": [
38
+ -24.6,
39
+ -10.474,
40
+ -7.208
41
+ ],
42
+ "dynamic_range_db": 17.392,
43
+ "contour_20_points": [
44
+ -60.21,
45
+ -18.8,
46
+ -14.82,
47
+ -9.61,
48
+ -7.83,
49
+ -11.15,
50
+ -11.76,
51
+ -6.95,
52
+ -10.77,
53
+ -14.26,
54
+ -11.4,
55
+ -7.96,
56
+ -7.52,
57
+ -6.23,
58
+ -8.08,
59
+ -7.29,
60
+ -10.35,
61
+ -9.48,
62
+ -27.46,
63
+ -53.9
64
+ ]
65
+ },
66
+ "timbral_proxies": {
67
+ "spectral_centroid_hz_median": 1520.493,
68
+ "spectral_flatness_median": 0.004
69
+ },
70
+ "interpretation": {
71
+ "target": "soft, close-mic, restrained mechanical delivery",
72
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
73
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
74
+ },
75
+ "text": "Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.",
76
+ "text_chars_per_sec": 20.215,
77
+ "source": {
78
+ "file": "sources_silero/0224.wav",
79
+ "sample_rate_for_analysis": 16000,
80
+ "duration_sec": 4.412,
81
+ "voiced_fraction": 0.767,
82
+ "pause_map": [
83
+ {
84
+ "start": 0.97,
85
+ "end": 1.22,
86
+ "duration": 0.25
87
+ },
88
+ {
89
+ "start": 2.32,
90
+ "end": 2.42,
91
+ "duration": 0.1
92
+ }
93
+ ],
94
+ "f0_hz": {
95
+ "median": 201.649,
96
+ "p10_p90": [
97
+ 175.545,
98
+ 242.87
99
+ ],
100
+ "contour_20_points": [
101
+ 211.19,
102
+ 241.5,
103
+ 221.24,
104
+ 186.71,
105
+ 187.41,
106
+ 220.5,
107
+ 280.49,
108
+ 241.8,
109
+ 202.57,
110
+ 186.88,
111
+ 229.36,
112
+ 234.44,
113
+ 212.35,
114
+ 212.52,
115
+ 212.84,
116
+ 199.74,
117
+ 194.61,
118
+ 172.73,
119
+ 174.61,
120
+ 205.17
121
+ ]
122
+ },
123
+ "energy_db": {
124
+ "p10_p50_p90": [
125
+ -48.496,
126
+ -23.027,
127
+ -15.89
128
+ ],
129
+ "dynamic_range_db": 32.606,
130
+ "contour_20_points": [
131
+ -49.41,
132
+ -11.53,
133
+ -41.93,
134
+ -22.95,
135
+ -35.83,
136
+ -74.98,
137
+ -14.58,
138
+ -17.2,
139
+ -18.56,
140
+ -36.47,
141
+ -45.71,
142
+ -17.18,
143
+ -20.87,
144
+ -17.67,
145
+ -20.25,
146
+ -17.24,
147
+ -22.16,
148
+ -19.88,
149
+ -27.7,
150
+ -76.83
151
+ ]
152
+ },
153
+ "timbral_proxies": {
154
+ "spectral_centroid_hz_median": 1352.808,
155
+ "spectral_flatness_median": 0.004
156
+ },
157
+ "interpretation": {
158
+ "target": "soft, close-mic, restrained mechanical delivery",
159
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
160
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
161
+ },
162
+ "text": "Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.",
163
+ "text_chars_per_sec": 15.637
164
+ },
165
+ "pipeline_control": {
166
+ "tts_text": "Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.",
167
+ "duration_stage": "pre",
168
+ "speaker_reference": "0224"
169
+ }
170
+ }
Models/Russian_CosyVoice3/profiles/0234.json ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0234.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 11.572,
5
+ "voiced_fraction": 0.565,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.64,
9
+ "end": 0.92,
10
+ "duration": 0.28
11
+ },
12
+ {
13
+ "start": 1.35,
14
+ "end": 1.66,
15
+ "duration": 0.31
16
+ },
17
+ {
18
+ "start": 4.45,
19
+ "end": 5.73,
20
+ "duration": 1.28
21
+ },
22
+ {
23
+ "start": 8.42,
24
+ "end": 9.11,
25
+ "duration": 0.69
26
+ },
27
+ {
28
+ "start": 9.96,
29
+ "end": 10.72,
30
+ "duration": 0.76
31
+ }
32
+ ],
33
+ "f0_hz": {
34
+ "median": 146.765,
35
+ "p10_p90": [
36
+ 133.039,
37
+ 187.061
38
+ ],
39
+ "contour_20_points": [
40
+ 226.34,
41
+ 121.76,
42
+ 147.06,
43
+ 153.46,
44
+ 133.04,
45
+ 158.64,
46
+ 140.95,
47
+ 128.25,
48
+ 146.1,
49
+ 199.1,
50
+ 167.13,
51
+ 140.16,
52
+ 179.25,
53
+ 173.74,
54
+ 148.83,
55
+ 181.5,
56
+ 152.82,
57
+ 166.79,
58
+ 161.02,
59
+ 175.55
60
+ ]
61
+ },
62
+ "energy_db": {
63
+ "p10_p50_p90": [
64
+ -84.258,
65
+ -16.452,
66
+ -7.431
67
+ ],
68
+ "dynamic_range_db": 76.827,
69
+ "contour_20_points": [
70
+ -61.6,
71
+ -30.22,
72
+ -36.11,
73
+ -13.0,
74
+ -8.67,
75
+ -4.63,
76
+ -7.11,
77
+ -20.06,
78
+ -84.26,
79
+ -84.26,
80
+ -25.0,
81
+ -7.39,
82
+ -10.21,
83
+ -6.15,
84
+ -84.26,
85
+ -24.11,
86
+ -21.92,
87
+ -84.26,
88
+ -7.6,
89
+ -48.66
90
+ ]
91
+ },
92
+ "timbral_proxies": {
93
+ "spectral_centroid_hz_median": 1553.732,
94
+ "spectral_flatness_median": 0.014
95
+ },
96
+ "interpretation": {
97
+ "target": "soft, close-mic, restrained mechanical delivery",
98
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
99
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
100
+ },
101
+ "text": "Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.",
102
+ "text_chars_per_sec": 12.876,
103
+ "source": {
104
+ "file": "sources_silero/0234.wav",
105
+ "sample_rate_for_analysis": 16000,
106
+ "duration_sec": 10.6,
107
+ "voiced_fraction": 0.702,
108
+ "pause_map": [
109
+ {
110
+ "start": 0.72,
111
+ "end": 1.05,
112
+ "duration": 0.33
113
+ },
114
+ {
115
+ "start": 1.77,
116
+ "end": 2.19,
117
+ "duration": 0.42
118
+ },
119
+ {
120
+ "start": 4.9,
121
+ "end": 5.27,
122
+ "duration": 0.37
123
+ },
124
+ {
125
+ "start": 5.58,
126
+ "end": 5.67,
127
+ "duration": 0.09
128
+ },
129
+ {
130
+ "start": 6.21,
131
+ "end": 6.3,
132
+ "duration": 0.09
133
+ },
134
+ {
135
+ "start": 8.37,
136
+ "end": 8.76,
137
+ "duration": 0.39
138
+ },
139
+ {
140
+ "start": 9.59,
141
+ "end": 9.71,
142
+ "duration": 0.12
143
+ }
144
+ ],
145
+ "f0_hz": {
146
+ "median": 200.487,
147
+ "p10_p90": [
148
+ 175.545,
149
+ 242.589
150
+ ],
151
+ "contour_20_points": [
152
+ 252.6,
153
+ 174.38,
154
+ 243.99,
155
+ 199.28,
156
+ 225.25,
157
+ 200.49,
158
+ 199.94,
159
+ 194.72,
160
+ 189.98,
161
+ 208.93,
162
+ 234.47,
163
+ 211.57,
164
+ 184.16,
165
+ 194.25,
166
+ 175.95,
167
+ 209.63,
168
+ 199.76,
169
+ 192.08,
170
+ 180.25,
171
+ 161.91
172
+ ]
173
+ },
174
+ "energy_db": {
175
+ "p10_p50_p90": [
176
+ -63.631,
177
+ -24.666,
178
+ -16.533
179
+ ],
180
+ "dynamic_range_db": 47.098,
181
+ "contour_20_points": [
182
+ -74.29,
183
+ -23.38,
184
+ -15.93,
185
+ -32.94,
186
+ -15.09,
187
+ -18.05,
188
+ -20.94,
189
+ -25.39,
190
+ -22.57,
191
+ -77.7,
192
+ -45.78,
193
+ -23.11,
194
+ -27.31,
195
+ -19.96,
196
+ -33.76,
197
+ -45.06,
198
+ -17.73,
199
+ -25.3,
200
+ -20.13,
201
+ -85.98
202
+ ]
203
+ },
204
+ "timbral_proxies": {
205
+ "spectral_centroid_hz_median": 1301.132,
206
+ "spectral_flatness_median": 0.004
207
+ },
208
+ "interpretation": {
209
+ "target": "soft, close-mic, restrained mechanical delivery",
210
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
211
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
212
+ },
213
+ "text": "Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.",
214
+ "text_chars_per_sec": 14.057
215
+ },
216
+ "pipeline_control": {
217
+ "tts_text": "Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.",
218
+ "duration_stage": "pre",
219
+ "speaker_reference": "0234"
220
+ }
221
+ }
Models/Russian_CosyVoice3/profiles/0258.json ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0258.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 11.102,
5
+ "voiced_fraction": 0.68,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.92,
9
+ "end": 1.28,
10
+ "duration": 0.36
11
+ },
12
+ {
13
+ "start": 2.93,
14
+ "end": 3.77,
15
+ "duration": 0.84
16
+ },
17
+ {
18
+ "start": 5.6,
19
+ "end": 6.37,
20
+ "duration": 0.77
21
+ },
22
+ {
23
+ "start": 7.32,
24
+ "end": 7.55,
25
+ "duration": 0.23
26
+ },
27
+ {
28
+ "start": 8.74,
29
+ "end": 9.24,
30
+ "duration": 0.5
31
+ }
32
+ ],
33
+ "f0_hz": {
34
+ "median": 151.066,
35
+ "p10_p90": [
36
+ 67.292,
37
+ 207.558
38
+ ],
39
+ "contour_20_points": [
40
+ 216.12,
41
+ 146.77,
42
+ 68.41,
43
+ 167.51,
44
+ 148.47,
45
+ 137.67,
46
+ 167.67,
47
+ 192.57,
48
+ 138.53,
49
+ 216.32,
50
+ 65.37,
51
+ 194.78,
52
+ 219.67,
53
+ 221.17,
54
+ 159.71,
55
+ 108.39,
56
+ 156.23,
57
+ 155.19,
58
+ 130.75,
59
+ 168.59
60
+ ]
61
+ },
62
+ "energy_db": {
63
+ "p10_p50_p90": [
64
+ -50.311,
65
+ -14.593,
66
+ -7.248
67
+ ],
68
+ "dynamic_range_db": 43.063,
69
+ "contour_20_points": [
70
+ -68.53,
71
+ -7.02,
72
+ -47.14,
73
+ -5.05,
74
+ -9.03,
75
+ -34.79,
76
+ -84.79,
77
+ -10.82,
78
+ -7.72,
79
+ -17.51,
80
+ -48.82,
81
+ -7.79,
82
+ -8.61,
83
+ -10.14,
84
+ -24.11,
85
+ -42.31,
86
+ -7.21,
87
+ -7.5,
88
+ -16.64,
89
+ -45.91
90
+ ]
91
+ },
92
+ "timbral_proxies": {
93
+ "spectral_centroid_hz_median": 1341.756,
94
+ "spectral_flatness_median": 0.004
95
+ },
96
+ "interpretation": {
97
+ "target": "soft, close-mic, restrained mechanical delivery",
98
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
99
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
100
+ },
101
+ "text": "Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.",
102
+ "text_chars_per_sec": 12.43,
103
+ "source": {
104
+ "file": "sources_silero/0258.wav",
105
+ "sample_rate_for_analysis": 16000,
106
+ "duration_sec": 9.0,
107
+ "voiced_fraction": 0.714,
108
+ "pause_map": [
109
+ {
110
+ "start": 2.08,
111
+ "end": 2.37,
112
+ "duration": 0.29
113
+ },
114
+ {
115
+ "start": 3.44,
116
+ "end": 3.53,
117
+ "duration": 0.09
118
+ },
119
+ {
120
+ "start": 4.3,
121
+ "end": 4.43,
122
+ "duration": 0.13
123
+ },
124
+ {
125
+ "start": 5.88,
126
+ "end": 6.19,
127
+ "duration": 0.31
128
+ },
129
+ {
130
+ "start": 7.13,
131
+ "end": 7.53,
132
+ "duration": 0.4
133
+ }
134
+ ],
135
+ "f0_hz": {
136
+ "median": 201.649,
137
+ "p10_p90": [
138
+ 169.566,
139
+ 228.973
140
+ ],
141
+ "contour_20_points": [
142
+ 234.33,
143
+ 202.98,
144
+ 251.83,
145
+ 211.06,
146
+ 207.02,
147
+ 262.45,
148
+ 233.4,
149
+ 158.6,
150
+ 216.32,
151
+ 176.51,
152
+ 196.76,
153
+ 200.8,
154
+ 173.27,
155
+ 200.04,
156
+ 196.51,
157
+ 170.81,
158
+ 213.51,
159
+ 206.36,
160
+ 169.93,
161
+ 168.59
162
+ ]
163
+ },
164
+ "energy_db": {
165
+ "p10_p50_p90": [
166
+ -59.701,
167
+ -22.969,
168
+ -14.064
169
+ ],
170
+ "dynamic_range_db": 45.637,
171
+ "contour_20_points": [
172
+ -82.8,
173
+ -28.53,
174
+ -11.42,
175
+ -14.71,
176
+ -54.51,
177
+ -39.98,
178
+ -37.88,
179
+ -28.97,
180
+ -14.0,
181
+ -29.0,
182
+ -26.98,
183
+ -24.18,
184
+ -26.0,
185
+ -80.7,
186
+ -22.61,
187
+ -39.82,
188
+ -17.19,
189
+ -32.76,
190
+ -29.57,
191
+ -85.14
192
+ ]
193
+ },
194
+ "timbral_proxies": {
195
+ "spectral_centroid_hz_median": 1494.706,
196
+ "spectral_flatness_median": 0.006
197
+ },
198
+ "interpretation": {
199
+ "target": "soft, close-mic, restrained mechanical delivery",
200
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
201
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
202
+ },
203
+ "text": "Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.",
204
+ "text_chars_per_sec": 15.333
205
+ },
206
+ "pipeline_control": {
207
+ "tts_text": "Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.",
208
+ "duration_stage": "pre",
209
+ "speaker_reference": "0258"
210
+ }
211
+ }
Models/Russian_CosyVoice3/profiles/0285.json ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0285.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 16.901,
5
+ "voiced_fraction": 0.698,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.86,
9
+ "end": 1.05,
10
+ "duration": 0.19
11
+ },
12
+ {
13
+ "start": 1.94,
14
+ "end": 2.54,
15
+ "duration": 0.6
16
+ },
17
+ {
18
+ "start": 5.52,
19
+ "end": 6.84,
20
+ "duration": 1.32
21
+ },
22
+ {
23
+ "start": 7.61,
24
+ "end": 7.75,
25
+ "duration": 0.14
26
+ },
27
+ {
28
+ "start": 9.31,
29
+ "end": 9.48,
30
+ "duration": 0.17
31
+ },
32
+ {
33
+ "start": 10.98,
34
+ "end": 11.19,
35
+ "duration": 0.21
36
+ },
37
+ {
38
+ "start": 11.81,
39
+ "end": 12.19,
40
+ "duration": 0.38
41
+ },
42
+ {
43
+ "start": 15.86,
44
+ "end": 16.05,
45
+ "duration": 0.19
46
+ }
47
+ ],
48
+ "f0_hz": {
49
+ "median": 156.393,
50
+ "p10_p90": [
51
+ 130.0,
52
+ 203.992
53
+ ],
54
+ "contour_20_points": [
55
+ 246.83,
56
+ 173.42,
57
+ 146.84,
58
+ 195.75,
59
+ 207.56,
60
+ 186.55,
61
+ 130.0,
62
+ 65.99,
63
+ 175.77,
64
+ 155.49,
65
+ 155.08,
66
+ 165.69,
67
+ 167.06,
68
+ 154.72,
69
+ 201.65,
70
+ 159.48,
71
+ 177.32,
72
+ 137.46,
73
+ 158.65,
74
+ 117.84
75
+ ]
76
+ },
77
+ "energy_db": {
78
+ "p10_p50_p90": [
79
+ -56.469,
80
+ -15.672,
81
+ -9.548
82
+ ],
83
+ "dynamic_range_db": 46.922,
84
+ "contour_20_points": [
85
+ -79.11,
86
+ -46.41,
87
+ -9.44,
88
+ -11.26,
89
+ -7.81,
90
+ -34.92,
91
+ -16.03,
92
+ -86.56,
93
+ -21.64,
94
+ -11.93,
95
+ -20.73,
96
+ -13.31,
97
+ -11.05,
98
+ -11.69,
99
+ -26.67,
100
+ -12.21,
101
+ -13.55,
102
+ -22.1,
103
+ -57.43,
104
+ -48.11
105
+ ]
106
+ },
107
+ "timbral_proxies": {
108
+ "spectral_centroid_hz_median": 1530.132,
109
+ "spectral_flatness_median": 0.005
110
+ },
111
+ "interpretation": {
112
+ "target": "soft, close-mic, restrained mechanical delivery",
113
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
114
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
115
+ },
116
+ "text": "Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.",
117
+ "text_chars_per_sec": 14.023,
118
+ "source": {
119
+ "file": "sources_silero/0285.wav",
120
+ "sample_rate_for_analysis": 16000,
121
+ "duration_sec": 13.95,
122
+ "voiced_fraction": 0.701,
123
+ "pause_map": [
124
+ {
125
+ "start": 0.97,
126
+ "end": 1.31,
127
+ "duration": 0.34
128
+ },
129
+ {
130
+ "start": 3.83,
131
+ "end": 4.14,
132
+ "duration": 0.31
133
+ },
134
+ {
135
+ "start": 5.88,
136
+ "end": 6.0,
137
+ "duration": 0.12
138
+ },
139
+ {
140
+ "start": 7.14,
141
+ "end": 7.49,
142
+ "duration": 0.35
143
+ },
144
+ {
145
+ "start": 8.13,
146
+ "end": 8.51,
147
+ "duration": 0.38
148
+ },
149
+ {
150
+ "start": 10.87,
151
+ "end": 10.95,
152
+ "duration": 0.08
153
+ },
154
+ {
155
+ "start": 12.96,
156
+ "end": 13.09,
157
+ "duration": 0.13
158
+ }
159
+ ],
160
+ "f0_hz": {
161
+ "median": 197.043,
162
+ "p10_p90": [
163
+ 173.529,
164
+ 227.654
165
+ ],
166
+ "contour_20_points": [
167
+ 343.07,
168
+ 169.15,
169
+ 214.78,
170
+ 219.98,
171
+ 204.8,
172
+ 157.4,
173
+ 244.07,
174
+ 211.19,
175
+ 212.97,
176
+ 192.78,
177
+ 213.1,
178
+ 171.44,
179
+ 218.63,
180
+ 202.09,
181
+ 192.9,
182
+ 198.42,
183
+ 200.94,
184
+ 193.48,
185
+ 202.38,
186
+ 187.06
187
+ ]
188
+ },
189
+ "energy_db": {
190
+ "p10_p50_p90": [
191
+ -57.922,
192
+ -22.639,
193
+ -16.043
194
+ ],
195
+ "dynamic_range_db": 41.879,
196
+ "contour_20_points": [
197
+ -64.18,
198
+ -17.86,
199
+ -24.83,
200
+ -12.87,
201
+ -16.39,
202
+ -23.57,
203
+ -14.38,
204
+ -19.79,
205
+ -39.83,
206
+ -20.47,
207
+ -64.2,
208
+ -26.99,
209
+ -15.05,
210
+ -28.24,
211
+ -19.56,
212
+ -22.96,
213
+ -27.93,
214
+ -20.82,
215
+ -28.62,
216
+ -80.78
217
+ ]
218
+ },
219
+ "timbral_proxies": {
220
+ "spectral_centroid_hz_median": 1614.632,
221
+ "spectral_flatness_median": 0.007
222
+ },
223
+ "interpretation": {
224
+ "target": "soft, close-mic, restrained mechanical delivery",
225
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
226
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
227
+ },
228
+ "text": "Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.",
229
+ "text_chars_per_sec": 16.989
230
+ },
231
+ "pipeline_control": {
232
+ "tts_text": "Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.",
233
+ "duration_stage": "pre",
234
+ "speaker_reference": "0285"
235
+ }
236
+ }
Models/Russian_CosyVoice3/profiles/0304.json ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0304.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 12.852,
5
+ "voiced_fraction": 0.668,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.85,
9
+ "end": 1.24,
10
+ "duration": 0.39
11
+ },
12
+ {
13
+ "start": 2.21,
14
+ "end": 2.48,
15
+ "duration": 0.27
16
+ },
17
+ {
18
+ "start": 4.24,
19
+ "end": 4.74,
20
+ "duration": 0.5
21
+ },
22
+ {
23
+ "start": 5.68,
24
+ "end": 5.86,
25
+ "duration": 0.18
26
+ },
27
+ {
28
+ "start": 8.38,
29
+ "end": 8.97,
30
+ "duration": 0.59
31
+ },
32
+ {
33
+ "start": 12.29,
34
+ "end": 12.39,
35
+ "duration": 0.1
36
+ }
37
+ ],
38
+ "f0_hz": {
39
+ "median": 174.534,
40
+ "p10_p90": [
41
+ 147.616,
42
+ 235.683
43
+ ],
44
+ "contour_20_points": [
45
+ 277.06,
46
+ 138.81,
47
+ 195.91,
48
+ 166.72,
49
+ 150.07,
50
+ 191.93,
51
+ 146.77,
52
+ 285.72,
53
+ 163.79,
54
+ 232.98,
55
+ 183.45,
56
+ 157.23,
57
+ 156.39,
58
+ 225.74,
59
+ 293.5,
60
+ 196.3,
61
+ 194.78,
62
+ 167.62,
63
+ 157.3,
64
+ 176.56
65
+ ]
66
+ },
67
+ "energy_db": {
68
+ "p10_p50_p90": [
69
+ -53.007,
70
+ -13.893,
71
+ -7.969
72
+ ],
73
+ "dynamic_range_db": 45.037,
74
+ "contour_20_points": [
75
+ -76.71,
76
+ -15.15,
77
+ -7.21,
78
+ -11.49,
79
+ -11.62,
80
+ -39.05,
81
+ -12.28,
82
+ -41.42,
83
+ -11.19,
84
+ -10.19,
85
+ -12.0,
86
+ -8.92,
87
+ -13.58,
88
+ -85.62,
89
+ -7.7,
90
+ -7.02,
91
+ -10.76,
92
+ -9.29,
93
+ -11.38,
94
+ -85.62
95
+ ]
96
+ },
97
+ "timbral_proxies": {
98
+ "spectral_centroid_hz_median": 1559.613,
99
+ "spectral_flatness_median": 0.004
100
+ },
101
+ "interpretation": {
102
+ "target": "soft, close-mic, restrained mechanical delivery",
103
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
104
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
105
+ },
106
+ "text": "Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?",
107
+ "text_chars_per_sec": 12.683,
108
+ "source": {
109
+ "file": "sources_silero/0304.wav",
110
+ "sample_rate_for_analysis": 16000,
111
+ "duration_sec": 10.8,
112
+ "voiced_fraction": 0.711,
113
+ "pause_map": [
114
+ {
115
+ "start": 1.06,
116
+ "end": 1.33,
117
+ "duration": 0.27
118
+ },
119
+ {
120
+ "start": 3.81,
121
+ "end": 4.15,
122
+ "duration": 0.34
123
+ },
124
+ {
125
+ "start": 6.62,
126
+ "end": 6.97,
127
+ "duration": 0.35
128
+ }
129
+ ],
130
+ "f0_hz": {
131
+ "median": 225.04,
132
+ "p10_p90": [
133
+ 193.658,
134
+ 263.021
135
+ ],
136
+ "contour_20_points": [
137
+ 222.45,
138
+ 279.75,
139
+ 205.47,
140
+ 302.35,
141
+ 209.52,
142
+ 188.15,
143
+ 228.7,
144
+ 475.66,
145
+ 261.37,
146
+ 257.01,
147
+ 209.46,
148
+ 184.63,
149
+ 227.77,
150
+ 250.24,
151
+ 230.58,
152
+ 233.97,
153
+ 209.33,
154
+ 206.63,
155
+ 242.37,
156
+ 190.33
157
+ ]
158
+ },
159
+ "energy_db": {
160
+ "p10_p50_p90": [
161
+ -52.628,
162
+ -23.772,
163
+ -16.459
164
+ ],
165
+ "dynamic_range_db": 36.169,
166
+ "contour_20_points": [
167
+ -83.74,
168
+ -26.13,
169
+ -57.53,
170
+ -22.1,
171
+ -25.83,
172
+ -27.7,
173
+ -16.49,
174
+ -57.44,
175
+ -26.35,
176
+ -20.68,
177
+ -15.97,
178
+ -24.13,
179
+ -50.39,
180
+ -22.95,
181
+ -18.93,
182
+ -24.5,
183
+ -18.55,
184
+ -34.84,
185
+ -16.24,
186
+ -79.38
187
+ ]
188
+ },
189
+ "timbral_proxies": {
190
+ "spectral_centroid_hz_median": 1807.522,
191
+ "spectral_flatness_median": 0.009
192
+ },
193
+ "interpretation": {
194
+ "target": "soft, close-mic, restrained mechanical delivery",
195
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
196
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
197
+ },
198
+ "text": "Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?",
199
+ "text_chars_per_sec": 15.093
200
+ },
201
+ "pipeline_control": {
202
+ "tts_text": "Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?",
203
+ "duration_stage": "pre",
204
+ "speaker_reference": "0304"
205
+ }
206
+ }
Models/Russian_CosyVoice3/profiles/0349.json ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0349.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 2.011,
5
+ "voiced_fraction": 0.634,
6
+ "pause_map": [],
7
+ "f0_hz": {
8
+ "median": 143.416,
9
+ "p10_p90": [
10
+ 65.0,
11
+ 164.739
12
+ ],
13
+ "contour_20_points": [
14
+ 167.62,
15
+ 167.62,
16
+ 164.57,
17
+ 164.74,
18
+ 140.67,
19
+ 149.33,
20
+ 147.17,
21
+ 144.67,
22
+ 138.53,
23
+ 148.26,
24
+ 161.91,
25
+ 164.74,
26
+ 155.26,
27
+ 138.23,
28
+ 135.04,
29
+ 109.08,
30
+ 78.38,
31
+ 65.03,
32
+ 65.0,
33
+ 65.0
34
+ ]
35
+ },
36
+ "energy_db": {
37
+ "p10_p50_p90": [
38
+ -55.024,
39
+ -14.614,
40
+ -6.991
41
+ ],
42
+ "dynamic_range_db": 48.033,
43
+ "contour_20_points": [
44
+ -72.31,
45
+ -58.45,
46
+ -12.16,
47
+ -7.26,
48
+ -9.3,
49
+ -7.77,
50
+ -10.6,
51
+ -15.88,
52
+ -10.42,
53
+ -15.0,
54
+ -9.69,
55
+ -6.37,
56
+ -8.16,
57
+ -12.09,
58
+ -27.93,
59
+ -14.19,
60
+ -35.54,
61
+ -49.23,
62
+ -55.16,
63
+ -60.32
64
+ ]
65
+ },
66
+ "timbral_proxies": {
67
+ "spectral_centroid_hz_median": 1689.533,
68
+ "spectral_flatness_median": 0.008
69
+ },
70
+ "interpretation": {
71
+ "target": "soft, close-mic, restrained mechanical delivery",
72
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
73
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
74
+ },
75
+ "text": "Я так сильно вас ненавижу.",
76
+ "text_chars_per_sec": 12.926,
77
+ "source": {
78
+ "file": "sources_silero/0349.wav",
79
+ "sample_rate_for_analysis": 16000,
80
+ "duration_sec": 1.675,
81
+ "voiced_fraction": 0.75,
82
+ "pause_map": [],
83
+ "f0_hz": {
84
+ "median": 213.639,
85
+ "p10_p90": [
86
+ 172.53,
87
+ 257.014
88
+ ],
89
+ "contour_20_points": [
90
+ 258.5,
91
+ 258.5,
92
+ 243.32,
93
+ 231.04,
94
+ 246.83,
95
+ 248.03,
96
+ 251.86,
97
+ 258.29,
98
+ 257.8,
99
+ 243.51,
100
+ 218.04,
101
+ 210.0,
102
+ 231.31,
103
+ 214.62,
104
+ 194.31,
105
+ 185.23,
106
+ 168.59,
107
+ 172.19,
108
+ 172.53,
109
+ 180.69
110
+ ]
111
+ },
112
+ "energy_db": {
113
+ "p10_p50_p90": [
114
+ -54.132,
115
+ -22.61,
116
+ -14.893
117
+ ],
118
+ "dynamic_range_db": 39.239,
119
+ "contour_20_points": [
120
+ -79.0,
121
+ -65.0,
122
+ -47.82,
123
+ -14.96,
124
+ -37.7,
125
+ -16.98,
126
+ -24.56,
127
+ -21.99,
128
+ -16.98,
129
+ -13.53,
130
+ -20.29,
131
+ -15.42,
132
+ -35.15,
133
+ -20.98,
134
+ -20.93,
135
+ -22.92,
136
+ -22.11,
137
+ -28.64,
138
+ -29.19,
139
+ -53.43
140
+ ]
141
+ },
142
+ "timbral_proxies": {
143
+ "spectral_centroid_hz_median": 1518.037,
144
+ "spectral_flatness_median": 0.006
145
+ },
146
+ "interpretation": {
147
+ "target": "soft, close-mic, restrained mechanical delivery",
148
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
149
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
150
+ },
151
+ "text": "Я так сильно вас ненавижу.",
152
+ "text_chars_per_sec": 15.522
153
+ },
154
+ "pipeline_control": {
155
+ "tts_text": "Я так сильно вас ненавижу.",
156
+ "duration_stage": "pre",
157
+ "speaker_reference": "0349"
158
+ }
159
+ }
Models/Russian_CosyVoice3/profiles/0553.json ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "file": "references/0553.wav",
3
+ "sample_rate_for_analysis": 16000,
4
+ "duration_sec": 8.882,
5
+ "voiced_fraction": 0.73,
6
+ "pause_map": [
7
+ {
8
+ "start": 0.52,
9
+ "end": 0.93,
10
+ "duration": 0.41
11
+ },
12
+ {
13
+ "start": 3.61,
14
+ "end": 4.01,
15
+ "duration": 0.4
16
+ },
17
+ {
18
+ "start": 5.95,
19
+ "end": 6.47,
20
+ "duration": 0.52
21
+ }
22
+ ],
23
+ "f0_hz": {
24
+ "median": 157.299,
25
+ "p10_p90": [
26
+ 137.73,
27
+ 208.76
28
+ ],
29
+ "contour_20_points": [
30
+ 201.65,
31
+ 207.56,
32
+ 235.41,
33
+ 195.64,
34
+ 140.14,
35
+ 139.33,
36
+ 183.24,
37
+ 153.13,
38
+ 152.37,
39
+ 219.01,
40
+ 148.08,
41
+ 155.49,
42
+ 189.18,
43
+ 96.88,
44
+ 185.98,
45
+ 208.76,
46
+ 158.15,
47
+ 154.6,
48
+ 145.56,
49
+ 136.15
50
+ ]
51
+ },
52
+ "energy_db": {
53
+ "p10_p50_p90": [
54
+ -45.494,
55
+ -11.07,
56
+ -7.453
57
+ ],
58
+ "dynamic_range_db": 38.041,
59
+ "contour_20_points": [
60
+ -76.04,
61
+ -14.63,
62
+ -24.7,
63
+ -9.75,
64
+ -16.98,
65
+ -9.57,
66
+ -9.39,
67
+ -15.31,
68
+ -46.5,
69
+ -23.75,
70
+ -7.64,
71
+ -9.06,
72
+ -7.45,
73
+ -44.63,
74
+ -7.98,
75
+ -7.38,
76
+ -9.48,
77
+ -8.05,
78
+ -12.27,
79
+ -49.99
80
+ ]
81
+ },
82
+ "timbral_proxies": {
83
+ "spectral_centroid_hz_median": 1245.477,
84
+ "spectral_flatness_median": 0.002
85
+ },
86
+ "interpretation": {
87
+ "target": "soft, close-mic, restrained mechanical delivery",
88
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
89
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
90
+ },
91
+ "text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.",
92
+ "text_chars_per_sec": 14.074,
93
+ "source": {
94
+ "file": "sources_silero/0553.wav",
95
+ "sample_rate_for_analysis": 16000,
96
+ "duration_sec": 6.662,
97
+ "voiced_fraction": 0.85,
98
+ "pause_map": [
99
+ {
100
+ "start": 4.32,
101
+ "end": 4.52,
102
+ "duration": 0.2
103
+ }
104
+ ],
105
+ "f0_hz": {
106
+ "median": 209.969,
107
+ "p10_p90": [
108
+ 178.614,
109
+ 256.125
110
+ ],
111
+ "contour_20_points": [
112
+ 269.17,
113
+ 235.95,
114
+ 208.44,
115
+ 204.7,
116
+ 215.47,
117
+ 236.63,
118
+ 231.92,
119
+ 164.09,
120
+ 234.48,
121
+ 187.26,
122
+ 215.3,
123
+ 202.49,
124
+ 170.76,
125
+ 202.82,
126
+ 213.64,
127
+ 203.96,
128
+ 199.27,
129
+ 202.82,
130
+ 171.17,
131
+ 192.54
132
+ ]
133
+ },
134
+ "energy_db": {
135
+ "p10_p50_p90": [
136
+ -37.486,
137
+ -19.977,
138
+ -14.519
139
+ ],
140
+ "dynamic_range_db": 22.967,
141
+ "contour_20_points": [
142
+ -64.65,
143
+ -13.02,
144
+ -17.89,
145
+ -18.01,
146
+ -17.37,
147
+ -14.03,
148
+ -15.38,
149
+ -41.41,
150
+ -18.49,
151
+ -22.35,
152
+ -15.53,
153
+ -14.85,
154
+ -21.13,
155
+ -20.53,
156
+ -18.16,
157
+ -17.41,
158
+ -18.13,
159
+ -22.61,
160
+ -22.45,
161
+ -76.76
162
+ ]
163
+ },
164
+ "timbral_proxies": {
165
+ "spectral_centroid_hz_median": 1142.952,
166
+ "spectral_flatness_median": 0.002
167
+ },
168
+ "interpretation": {
169
+ "target": "soft, close-mic, restrained mechanical delivery",
170
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
171
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile"
172
+ },
173
+ "text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.",
174
+ "text_chars_per_sec": 18.762
175
+ },
176
+ "pipeline_control": {
177
+ "tts_text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.",
178
+ "duration_stage": "post",
179
+ "speaker_reference": "0234"
180
+ }
181
+ }
Models/Russian_CosyVoice3/prosody_profile.py ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Extract an auditable prosody profile from a GLaDOS reference clip."""
2
+ import argparse
3
+ import json
4
+ import subprocess
5
+ from pathlib import Path
6
+
7
+ import librosa
8
+ import numpy as np
9
+ import soundfile as sf
10
+
11
+
12
+ def finite_percentiles(values, percentiles):
13
+ values = np.asarray(values)
14
+ values = values[np.isfinite(values)]
15
+ if len(values) == 0:
16
+ return [None for _ in percentiles]
17
+ return [round(float(x), 3) for x in np.percentile(values, percentiles)]
18
+
19
+
20
+ def analyze(path: Path, text: str | None = None) -> dict:
21
+ audio, sr = librosa.load(str(path), sr=16000, mono=True)
22
+ duration = len(audio) / sr
23
+ hop = 160
24
+ f0, voiced, _ = librosa.pyin(
25
+ audio,
26
+ fmin=65,
27
+ fmax=500,
28
+ sr=sr,
29
+ frame_length=1024,
30
+ hop_length=hop,
31
+ )
32
+ rms = librosa.feature.rms(y=audio, frame_length=1024, hop_length=hop)[0]
33
+ rms_db = librosa.amplitude_to_db(np.maximum(rms, 1e-8), ref=1.0)
34
+ centroid = librosa.feature.spectral_centroid(y=audio, sr=sr, hop_length=hop)[0]
35
+ flatness = librosa.feature.spectral_flatness(y=audio, hop_length=hop)[0]
36
+ intervals = librosa.effects.split(audio, top_db=32, frame_length=1024, hop_length=hop)
37
+ pauses = []
38
+ for left, right in zip(intervals, intervals[1:]):
39
+ start = right[0] / sr
40
+ end = left[1] / sr
41
+ if start - end >= 0.08:
42
+ pauses.append({"start": round(end, 3), "end": round(start, 3), "duration": round(start - end, 3)})
43
+
44
+ voiced_f0 = f0[np.isfinite(f0) & voiced]
45
+ times = np.arange(len(f0)) * hop / sr
46
+ valid = np.isfinite(f0)
47
+ contour_times = np.linspace(0, duration, 20)
48
+ if valid.any():
49
+ contour_f0 = np.interp(contour_times, times[valid], f0[valid])
50
+ else:
51
+ contour_f0 = np.full_like(contour_times, np.nan)
52
+ energy_times = np.arange(len(rms_db)) * hop / sr
53
+ contour_energy = np.interp(contour_times, energy_times, rms_db)
54
+
55
+ profile = {
56
+ "file": str(path),
57
+ "sample_rate_for_analysis": sr,
58
+ "duration_sec": round(duration, 3),
59
+ "voiced_fraction": round(float(np.mean(voiced)), 3),
60
+ "pause_map": pauses,
61
+ "f0_hz": {
62
+ "median": finite_percentiles(voiced_f0, [50])[0],
63
+ "p10_p90": finite_percentiles(voiced_f0, [10, 90]),
64
+ "contour_20_points": [round(float(x), 2) for x in contour_f0],
65
+ },
66
+ "energy_db": {
67
+ "p10_p50_p90": finite_percentiles(rms_db, [10, 50, 90]),
68
+ "dynamic_range_db": round(float(np.percentile(rms_db, 90) - np.percentile(rms_db, 10)), 3),
69
+ "contour_20_points": [round(float(x), 2) for x in contour_energy],
70
+ },
71
+ "timbral_proxies": {
72
+ "spectral_centroid_hz_median": finite_percentiles(centroid, [50])[0],
73
+ "spectral_flatness_median": finite_percentiles(flatness, [50])[0],
74
+ },
75
+ "interpretation": {
76
+ "target": "soft, close-mic, restrained mechanical delivery",
77
+ "sarcasm": "low-to-moderate pitch movement with deliberate clause-final timing",
78
+ "smile": "look for local energy/brightness lift around emphasized words; do not synthesize a broad cheerful smile",
79
+ },
80
+ }
81
+ if text:
82
+ profile["text"] = text
83
+ profile["text_chars_per_sec"] = round(len(text) / duration, 3)
84
+ return profile
85
+
86
+
87
+ def warp_duration(source: Path, reference: Path, output: Path) -> None:
88
+ reference_duration = librosa.get_duration(path=str(reference))
89
+ output.parent.mkdir(parents=True, exist_ok=True)
90
+ subprocess.run(
91
+ [
92
+ "rubberband",
93
+ "-3",
94
+ "-D",
95
+ f"{reference_duration:.6f}",
96
+ str(source),
97
+ str(output),
98
+ ],
99
+ check=True,
100
+ stdout=subprocess.DEVNULL,
101
+ stderr=subprocess.DEVNULL,
102
+ )
103
+ audio, sr = sf.read(output, always_2d=False)
104
+ peak = float(np.max(np.abs(audio)))
105
+ if peak > 0.95:
106
+ audio = audio * (0.95 / peak)
107
+ sf.write(output, audio, sr, subtype="PCM_16")
108
+
109
+
110
+ def main() -> None:
111
+ parser = argparse.ArgumentParser()
112
+ parser.add_argument("--reference", type=Path, required=True)
113
+ parser.add_argument("--source", type=Path)
114
+ parser.add_argument("--text")
115
+ parser.add_argument("--output-profile", type=Path, required=True)
116
+ parser.add_argument("--warp-source", type=Path)
117
+ args = parser.parse_args()
118
+
119
+ profile = analyze(args.reference, args.text)
120
+ if args.source:
121
+ profile["source"] = analyze(args.source, args.text)
122
+ args.output_profile.parent.mkdir(parents=True, exist_ok=True)
123
+ args.output_profile.write_text(json.dumps(profile, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
124
+ if args.warp_source:
125
+ if not args.source:
126
+ raise SystemExit("--warp-source requires --source")
127
+ warp_duration(args.source, args.reference, args.warp_source)
128
+ print(json.dumps(profile, ensure_ascii=False, indent=2))
129
+
130
+
131
+ if __name__ == "__main__":
132
+ main()
Models/Russian_CosyVoice3/qa_cosyvoice_batch.py ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Validate the Russian CosyVoice sample pack and optionally run GigaAM ASR."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import csv
7
+ from datetime import datetime, timezone
8
+ import json
9
+ from pathlib import Path
10
+ import re
11
+ from statistics import mean
12
+ from typing import Any
13
+
14
+ import numpy as np
15
+ import soundfile as sf
16
+
17
+ try:
18
+ from glados_ru.align_pitch import median_f0
19
+ except ModuleNotFoundError: # Support ``python glados_ru/qa_cosyvoice_batch.py``.
20
+ from align_pitch import median_f0
21
+
22
+
23
+ ROOT = Path(__file__).parent
24
+ DEFAULT_REFERENCES = ROOT / "references"
25
+ DEFAULT_OUTPUTS = ROOT / "generated_cosyvoice_vc_batch_gpu_pitch"
26
+ DEFAULT_REPORT = ROOT / "qa_report.json"
27
+
28
+
29
+ def transcript_words(text: str) -> list[str]:
30
+ """Return comparable Russian words; ASR commonly folds ``ё`` into ``е``."""
31
+ return re.findall(r"[а-я0-9]+", text.lower().replace("ё", "е"))
32
+
33
+
34
+ def word_error_rate(expected: str, actual: str) -> float:
35
+ """Compute Levenshtein distance over normalized words."""
36
+ left = transcript_words(expected)
37
+ right = transcript_words(actual)
38
+ distance = list(range(len(right) + 1))
39
+ for left_index, left_word in enumerate(left, 1):
40
+ updated = [left_index]
41
+ for right_index, right_word in enumerate(right, 1):
42
+ updated.append(
43
+ min(
44
+ updated[-1] + 1,
45
+ distance[right_index] + 1,
46
+ distance[right_index - 1] + (left_word != right_word),
47
+ )
48
+ )
49
+ distance = updated
50
+ return distance[-1] / max(1, len(left))
51
+
52
+
53
+ def wav_ids(directory: Path) -> set[str]:
54
+ return {path.stem for path in directory.glob("*.wav")}
55
+
56
+
57
+ def require_matching_ids(directory: Path, expected: set[str]) -> None:
58
+ actual = wav_ids(directory)
59
+ if actual != expected:
60
+ missing = ",".join(sorted(expected - actual)) or "-"
61
+ extra = ",".join(sorted(actual - expected)) or "-"
62
+ raise ValueError(f"{directory}: missing={missing}; extra={extra}")
63
+
64
+
65
+ def load_translations(root: Path = ROOT) -> dict[str, str]:
66
+ translations: dict[str, str] = {}
67
+ for path in sorted(root.glob("translations_*.tsv")):
68
+ with path.open(encoding="utf-8", newline="") as handle:
69
+ for row in csv.DictReader(handle, delimiter="\t"):
70
+ translations[row["id"].zfill(4)] = row["ru"]
71
+ return translations
72
+
73
+
74
+ def _load_asr(enabled: bool) -> Any | None:
75
+ if not enabled:
76
+ return None
77
+ try:
78
+ import onnx_asr
79
+ except ImportError as exc:
80
+ raise RuntimeError("Install onnx-asr to use --asr") from exc
81
+ return onnx_asr.load_model(
82
+ "gigaam-multilingual-ctc",
83
+ quantization="int8",
84
+ providers=["CPUExecutionProvider"],
85
+ )
86
+
87
+
88
+ def audit(
89
+ *,
90
+ references: Path,
91
+ outputs: Path,
92
+ translations: dict[str, str],
93
+ asr: bool,
94
+ max_duration_delta: float,
95
+ max_f0_error: float,
96
+ max_peak: float,
97
+ max_asr_wer: float,
98
+ ) -> dict[str, Any]:
99
+ expected_ids = set(translations)
100
+ require_matching_ids(references, expected_ids)
101
+ require_matching_ids(outputs, expected_ids)
102
+ recognizer = _load_asr(asr)
103
+ samples: list[dict[str, Any]] = []
104
+
105
+ for item_id in sorted(expected_ids):
106
+ reference = references / f"{item_id}.wav"
107
+ output = outputs / f"{item_id}.wav"
108
+ reference_info = sf.info(reference)
109
+ output_info = sf.info(output)
110
+ audio, _ = sf.read(output, always_2d=False)
111
+ peak = float(np.max(np.abs(audio)))
112
+ duration_delta = abs(output_info.duration - reference_info.duration)
113
+ reference_f0 = median_f0(reference)
114
+ output_f0 = median_f0(output)
115
+ f0_error = abs(output_f0 - reference_f0) / reference_f0
116
+ checks = {
117
+ "sample_rate": output_info.samplerate == 24_000,
118
+ "mono": output_info.channels == 1,
119
+ "pcm16": output_info.subtype == "PCM_16",
120
+ "finite": bool(np.isfinite(audio).all()),
121
+ "duration": duration_delta <= max_duration_delta,
122
+ "peak": peak <= max_peak,
123
+ "median_f0": f0_error <= max_f0_error,
124
+ }
125
+ transcript = None
126
+ wer = None
127
+ if recognizer is not None:
128
+ transcript = recognizer.recognize(str(output))
129
+ wer = word_error_rate(translations[item_id], transcript)
130
+ checks["asr_wer"] = wer <= max_asr_wer
131
+ samples.append(
132
+ {
133
+ "id": item_id,
134
+ "passed": all(checks.values()),
135
+ "checks": checks,
136
+ "sample_rate": output_info.samplerate,
137
+ "channels": output_info.channels,
138
+ "subtype": output_info.subtype,
139
+ "duration_seconds": round(output_info.duration, 6),
140
+ "reference_duration_seconds": round(reference_info.duration, 6),
141
+ "duration_delta_seconds": round(duration_delta, 6),
142
+ "peak": round(peak, 6),
143
+ "median_f0_hz": round(output_f0, 3),
144
+ "reference_median_f0_hz": round(reference_f0, 3),
145
+ "median_f0_relative_error": round(f0_error, 6),
146
+ "expected_text": translations[item_id],
147
+ "asr_transcript": transcript,
148
+ "asr_wer": round(wer, 6) if wer is not None else None,
149
+ }
150
+ )
151
+
152
+ wers = [sample["asr_wer"] for sample in samples if sample["asr_wer"] is not None]
153
+ return {
154
+ "generated_at": datetime.now(timezone.utc).isoformat(),
155
+ "recognizer": "onnx-asr/gigaam-multilingual-ctc-int8" if asr else None,
156
+ "thresholds": {
157
+ "max_duration_delta_seconds": max_duration_delta,
158
+ "max_median_f0_relative_error": max_f0_error,
159
+ "max_peak": max_peak,
160
+ "max_asr_wer": max_asr_wer if asr else None,
161
+ },
162
+ "summary": {
163
+ "sample_count": len(samples),
164
+ "passed_count": sum(sample["passed"] for sample in samples),
165
+ "exact_asr_count": sum(wer == 0 for wer in wers) if wers else None,
166
+ "mean_asr_wer": round(mean(wers), 6) if wers else None,
167
+ "max_asr_wer": round(max(wers), 6) if wers else None,
168
+ "passed": all(sample["passed"] for sample in samples),
169
+ },
170
+ "samples": samples,
171
+ }
172
+
173
+
174
+ def main() -> None:
175
+ parser = argparse.ArgumentParser(description=__doc__)
176
+ parser.add_argument("--references", type=Path, default=DEFAULT_REFERENCES)
177
+ parser.add_argument("--outputs", type=Path, default=DEFAULT_OUTPUTS)
178
+ parser.add_argument("--report", type=Path, default=DEFAULT_REPORT)
179
+ parser.add_argument("--asr", action="store_true")
180
+ parser.add_argument("--max-duration-delta", type=float, default=0.08)
181
+ parser.add_argument("--max-f0-error", type=float, default=0.025)
182
+ parser.add_argument("--max-peak", type=float, default=0.951)
183
+ parser.add_argument("--max-asr-wer", type=float, default=0.10)
184
+ args = parser.parse_args()
185
+ report = audit(
186
+ references=args.references,
187
+ outputs=args.outputs,
188
+ translations=load_translations(),
189
+ asr=args.asr,
190
+ max_duration_delta=args.max_duration_delta,
191
+ max_f0_error=args.max_f0_error,
192
+ max_peak=args.max_peak,
193
+ max_asr_wer=args.max_asr_wer,
194
+ )
195
+ args.report.parent.mkdir(parents=True, exist_ok=True)
196
+ args.report.write_text(
197
+ json.dumps(report, ensure_ascii=False, indent=2) + "\n",
198
+ encoding="utf-8",
199
+ )
200
+ summary = report["summary"]
201
+ print(json.dumps(summary, ensure_ascii=False))
202
+ if not summary["passed"]:
203
+ raise SystemExit(1)
204
+
205
+
206
+ if __name__ == "__main__":
207
+ main()
Models/Russian_CosyVoice3/qa_report.json ADDED
@@ -0,0 +1,560 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generated_at": "2026-09-05T17:01:20.057653+00:00",
3
+ "recognizer": "onnx-asr/gigaam-multilingual-ctc-int8",
4
+ "thresholds": {
5
+ "max_duration_delta_seconds": 0.08,
6
+ "max_median_f0_relative_error": 0.025,
7
+ "max_peak": 0.951,
8
+ "max_asr_wer": 0.1
9
+ },
10
+ "summary": {
11
+ "sample_count": 20,
12
+ "passed_count": 20,
13
+ "exact_asr_count": 17,
14
+ "mean_asr_wer": 0.013636,
15
+ "max_asr_wer": 0.090909,
16
+ "passed": true
17
+ },
18
+ "samples": [
19
+ {
20
+ "id": "0000",
21
+ "passed": true,
22
+ "checks": {
23
+ "sample_rate": true,
24
+ "mono": true,
25
+ "pcm16": true,
26
+ "finite": true,
27
+ "duration": true,
28
+ "peak": true,
29
+ "median_f0": true,
30
+ "asr_wer": true
31
+ },
32
+ "sample_rate": 24000,
33
+ "channels": 1,
34
+ "subtype": "PCM_16",
35
+ "duration_seconds": 5.94,
36
+ "reference_duration_seconds": 5.905034,
37
+ "duration_delta_seconds": 0.034966,
38
+ "peak": 0.950012,
39
+ "median_f0_hz": 175.545,
40
+ "reference_median_f0_hz": 176.562,
41
+ "median_f0_relative_error": 0.00576,
42
+ "expected_text": "И снова здравствуйте. Добро пожаловать в компьютеризированный центр обогащения «Апертур Наука».",
43
+ "asr_transcript": "и снова здравствуйте добро пожаловать в компьютеризированный центр обогащения пертур наука",
44
+ "asr_wer": 0.090909
45
+ },
46
+ {
47
+ "id": "0007",
48
+ "passed": true,
49
+ "checks": {
50
+ "sample_rate": true,
51
+ "mono": true,
52
+ "pcm16": true,
53
+ "finite": true,
54
+ "duration": true,
55
+ "peak": true,
56
+ "median_f0": true,
57
+ "asr_wer": true
58
+ },
59
+ "sample_rate": 24000,
60
+ "channels": 1,
61
+ "subtype": "PCM_16",
62
+ "duration_seconds": 5.46,
63
+ "reference_duration_seconds": 5.438005,
64
+ "duration_delta_seconds": 0.021995,
65
+ "peak": 0.950012,
66
+ "median_f0_hz": 178.614,
67
+ "reference_median_f0_hz": 179.131,
68
+ "median_f0_relative_error": 0.002888,
69
+ "expected_text": "Отлично. После каждого теста проходите в шлюзовую камеру.",
70
+ "asr_transcript": "отлично после каждого теста проходите в шлюзовую камеру",
71
+ "asr_wer": 0.0
72
+ },
73
+ {
74
+ "id": "0025",
75
+ "passed": true,
76
+ "checks": {
77
+ "sample_rate": true,
78
+ "mono": true,
79
+ "pcm16": true,
80
+ "finite": true,
81
+ "duration": true,
82
+ "peak": true,
83
+ "median_f0": true,
84
+ "asr_wer": true
85
+ },
86
+ "sample_rate": 24000,
87
+ "channels": 1,
88
+ "subtype": "PCM_16",
89
+ "duration_seconds": 6.101333,
90
+ "reference_duration_seconds": 6.101338,
91
+ "duration_delta_seconds": 5e-06,
92
+ "peak": 0.949982,
93
+ "median_f0_hz": 167.618,
94
+ "reference_median_f0_hz": 169.566,
95
+ "median_f0_relative_error": 0.011486,
96
+ "expected_text": "Отлично! Запомните: день «Приведи дочь на работу» в «Апертур Наука» — идеальное время, чтобы её протестировали.",
97
+ "asr_transcript": "отлично запомните день приведи дочь на работу в апертур наука идеальное время чтобы ее протестировали",
98
+ "asr_wer": 0.0
99
+ },
100
+ {
101
+ "id": "0046",
102
+ "passed": true,
103
+ "checks": {
104
+ "sample_rate": true,
105
+ "mono": true,
106
+ "pcm16": true,
107
+ "finite": true,
108
+ "duration": true,
109
+ "peak": true,
110
+ "median_f0": true,
111
+ "asr_wer": true
112
+ },
113
+ "sample_rate": 24000,
114
+ "channels": 1,
115
+ "subtype": "PCM_16",
116
+ "duration_seconds": 3.92,
117
+ "reference_duration_seconds": 3.858027,
118
+ "duration_delta_seconds": 0.061973,
119
+ "peak": 0.950012,
120
+ "median_f0_hz": 172.53,
121
+ "reference_median_f0_hz": 175.04,
122
+ "median_f0_relative_error": 0.014341,
123
+ "expected_text": "Прекратите сейчас — и торт подадут немедленно.",
124
+ "asr_transcript": "прекратите сейчас и торт подадут немедленно",
125
+ "asr_wer": 0.0
126
+ },
127
+ {
128
+ "id": "0053",
129
+ "passed": true,
130
+ "checks": {
131
+ "sample_rate": true,
132
+ "mono": true,
133
+ "pcm16": true,
134
+ "finite": true,
135
+ "duration": true,
136
+ "peak": true,
137
+ "median_f0": true,
138
+ "asr_wer": true
139
+ },
140
+ "sample_rate": 24000,
141
+ "channels": 1,
142
+ "subtype": "PCM_16",
143
+ "duration_seconds": 4.04,
144
+ "reference_duration_seconds": 3.975147,
145
+ "duration_delta_seconds": 0.064853,
146
+ "peak": 0.950012,
147
+ "median_f0_hz": 188.145,
148
+ "reference_median_f0_hz": 184.913,
149
+ "median_f0_relative_error": 0.01748,
150
+ "expected_text": "Например, этот пол вас убьёт. Постарайтесь его избегать.",
151
+ "asr_transcript": "например этот пол вас убьет постарайтесь его избегать",
152
+ "asr_wer": 0.0
153
+ },
154
+ {
155
+ "id": "0055",
156
+ "passed": true,
157
+ "checks": {
158
+ "sample_rate": true,
159
+ "mono": true,
160
+ "pcm16": true,
161
+ "finite": true,
162
+ "duration": true,
163
+ "peak": true,
164
+ "median_f0": true,
165
+ "asr_wer": true
166
+ },
167
+ "sample_rate": 24000,
168
+ "channels": 1,
169
+ "subtype": "PCM_16",
170
+ "duration_seconds": 4.12,
171
+ "reference_duration_seconds": 4.122336,
172
+ "duration_delta_seconds": 0.002336,
173
+ "peak": 0.950012,
174
+ "median_f0_hz": 178.614,
175
+ "reference_median_f0_hz": 180.169,
176
+ "median_f0_relative_error": 0.008631,
177
+ "expected_text": "Аварийный люк откроется через три... Два... Один.",
178
+ "asr_transcript": "аварийный люк откроется через три два один",
179
+ "asr_wer": 0.0
180
+ },
181
+ {
182
+ "id": "0072",
183
+ "passed": true,
184
+ "checks": {
185
+ "sample_rate": true,
186
+ "mono": true,
187
+ "pcm16": true,
188
+ "finite": true,
189
+ "duration": true,
190
+ "peak": true,
191
+ "median_f0": true,
192
+ "asr_wer": true
193
+ },
194
+ "sample_rate": 24000,
195
+ "channels": 1,
196
+ "subtype": "PCM_16",
197
+ "duration_seconds": 4.56,
198
+ "reference_duration_seconds": 4.56966,
199
+ "duration_delta_seconds": 0.00966,
200
+ "peak": 0.950012,
201
+ "median_f0_hz": 183.848,
202
+ "reference_median_f0_hz": 184.913,
203
+ "median_f0_relative_error": 0.00576,
204
+ "expected_text": "По завершении теста будут доступны торт и консультации по переживанию утраты.",
205
+ "asr_transcript": "по завершении теста будут доступны торты и консультации по переживанию утраты",
206
+ "asr_wer": 0.090909
207
+ },
208
+ {
209
+ "id": "0109",
210
+ "passed": true,
211
+ "checks": {
212
+ "sample_rate": true,
213
+ "mono": true,
214
+ "pcm16": true,
215
+ "finite": true,
216
+ "duration": true,
217
+ "peak": true,
218
+ "median_f0": true,
219
+ "asr_wer": true
220
+ },
221
+ "sample_rate": 24000,
222
+ "channels": 1,
223
+ "subtype": "PCM_16",
224
+ "duration_seconds": 11.72,
225
+ "reference_duration_seconds": 11.724218,
226
+ "duration_delta_seconds": 0.004218,
227
+ "peak": 0.950012,
228
+ "median_f0_hz": 199.333,
229
+ "reference_median_f0_hz": 194.78,
230
+ "median_f0_relative_error": 0.023374,
231
+ "expected_text": "Что вы делаете? Прекратите! Я... я... Мы рады, что вы прошли последнее испытание, в котором мы притворялись, будто собираемся вас убить.",
232
+ "asr_transcript": "что вы делаете прекратите я я мы рады что вы прошли последнее испытание в котором мы притворялись будто собираемся вас убить",
233
+ "asr_wer": 0.0
234
+ },
235
+ {
236
+ "id": "0133",
237
+ "passed": true,
238
+ "checks": {
239
+ "sample_rate": true,
240
+ "mono": true,
241
+ "pcm16": true,
242
+ "finite": true,
243
+ "duration": true,
244
+ "peak": true,
245
+ "median_f0": true,
246
+ "asr_wer": true
247
+ },
248
+ "sample_rate": 24000,
249
+ "channels": 1,
250
+ "subtype": "PCM_16",
251
+ "duration_seconds": 4.28,
252
+ "reference_duration_seconds": 4.214671,
253
+ "duration_delta_seconds": 0.065329,
254
+ "peak": 0.949982,
255
+ "median_f0_hz": 183.318,
256
+ "reference_median_f0_hz": 183.848,
257
+ "median_f0_relative_error": 0.00288,
258
+ "expected_text": "Я не злюсь. Просто возвращайтесь в тестовую зону.",
259
+ "asr_transcript": "я не злюсь просто возвращайтесь в тестовую зону",
260
+ "asr_wer": 0.0
261
+ },
262
+ {
263
+ "id": "0142",
264
+ "passed": true,
265
+ "checks": {
266
+ "sample_rate": true,
267
+ "mono": true,
268
+ "pcm16": true,
269
+ "finite": true,
270
+ "duration": true,
271
+ "peak": true,
272
+ "median_f0": true,
273
+ "asr_wer": true
274
+ },
275
+ "sample_rate": 24000,
276
+ "channels": 1,
277
+ "subtype": "PCM_16",
278
+ "duration_seconds": 3.690583,
279
+ "reference_duration_seconds": 3.69059,
280
+ "duration_delta_seconds": 6e-06,
281
+ "peak": 0.950012,
282
+ "median_f0_hz": 203.404,
283
+ "reference_median_f0_hz": 203.404,
284
+ "median_f0_relative_error": 0.0,
285
+ "expected_text": "Теперь я не шучу. Поворачивайте назад, иначе я вас убью.",
286
+ "asr_transcript": "теперь я не шучу поворачивайте назад иначе я вас убью",
287
+ "asr_wer": 0.0
288
+ },
289
+ {
290
+ "id": "0143",
291
+ "passed": true,
292
+ "checks": {
293
+ "sample_rate": true,
294
+ "mono": true,
295
+ "pcm16": true,
296
+ "finite": true,
297
+ "duration": true,
298
+ "peak": true,
299
+ "median_f0": true,
300
+ "asr_wer": true
301
+ },
302
+ "sample_rate": 24000,
303
+ "channels": 1,
304
+ "subtype": "PCM_16",
305
+ "duration_seconds": 3.52,
306
+ "reference_duration_seconds": 3.521134,
307
+ "duration_delta_seconds": 0.001134,
308
+ "peak": 0.949982,
309
+ "median_f0_hz": 205.174,
310
+ "reference_median_f0_hz": 206.362,
311
+ "median_f0_relative_error": 0.00576,
312
+ "expected_text": "Я собираюсь вас убить, а весь торт уже закончился.",
313
+ "asr_transcript": "я собираюсь вас убить а весь торт уже закончился",
314
+ "asr_wer": 0.0
315
+ },
316
+ {
317
+ "id": "0177",
318
+ "passed": true,
319
+ "checks": {
320
+ "sample_rate": true,
321
+ "mono": true,
322
+ "pcm16": true,
323
+ "finite": true,
324
+ "duration": true,
325
+ "peak": true,
326
+ "median_f0": true,
327
+ "asr_wer": true
328
+ },
329
+ "sample_rate": 24000,
330
+ "channels": 1,
331
+ "subtype": "PCM_16",
332
+ "duration_seconds": 10.14,
333
+ "reference_duration_seconds": 10.112018,
334
+ "duration_delta_seconds": 0.027982,
335
+ "peak": 0.950012,
336
+ "median_f0_hz": 127.031,
337
+ "reference_median_f0_hz": 127.767,
338
+ "median_f0_relative_error": 0.00576,
339
+ "expected_text": "Это был модуль морали. Его установили после того, как я затопила центр смертельным нейротоксином, чтобы заставить меня прекратить затапливать центр смертельным нейротоксином.",
340
+ "asr_transcript": "это был модуль морали его установили после того как я затопила центр смертельным нейротоксином чтобы заставить меня прекратить затапливать центр смертельным нейротоксином",
341
+ "asr_wer": 0.0
342
+ },
343
+ {
344
+ "id": "0208",
345
+ "passed": true,
346
+ "checks": {
347
+ "sample_rate": true,
348
+ "mono": true,
349
+ "pcm16": true,
350
+ "finite": true,
351
+ "duration": true,
352
+ "peak": true,
353
+ "median_f0": true,
354
+ "asr_wer": true
355
+ },
356
+ "sample_rate": 24000,
357
+ "channels": 1,
358
+ "subtype": "PCM_16",
359
+ "duration_seconds": 10.06,
360
+ "reference_duration_seconds": 10.028798,
361
+ "duration_delta_seconds": 0.031202,
362
+ "peak": 0.950012,
363
+ "median_f0_hz": 188.145,
364
+ "reference_median_f0_hz": 185.984,
365
+ "median_f0_relative_error": 0.011619,
366
+ "expected_text": "Нейротоксин... [кашель] [кашель] Такой смертельный... задыхаюсь... [смех] Шучу!",
367
+ "asr_transcript": "нейротоксин кашель кашель такой смертельный задыхаюсь смех шучу",
368
+ "asr_wer": 0.0
369
+ },
370
+ {
371
+ "id": "0224",
372
+ "passed": true,
373
+ "checks": {
374
+ "sample_rate": true,
375
+ "mono": true,
376
+ "pcm16": true,
377
+ "finite": true,
378
+ "duration": true,
379
+ "peak": true,
380
+ "median_f0": true,
381
+ "asr_wer": true
382
+ },
383
+ "sample_rate": 24000,
384
+ "channels": 1,
385
+ "subtype": "PCM_16",
386
+ "duration_seconds": 3.48,
387
+ "reference_duration_seconds": 3.413333,
388
+ "duration_delta_seconds": 0.066667,
389
+ "peak": 0.950012,
390
+ "median_f0_hz": 159.127,
391
+ "reference_median_f0_hz": 155.492,
392
+ "median_f0_relative_error": 0.023374,
393
+ "expected_text": "Хватит ёрзать. Умрите как взрослый, или я удалю вашу резервную копию.",
394
+ "asr_transcript": "хватит ерзить умрите как взрослый или я удалю вашу резервную копию",
395
+ "asr_wer": 0.090909
396
+ },
397
+ {
398
+ "id": "0234",
399
+ "passed": true,
400
+ "checks": {
401
+ "sample_rate": true,
402
+ "mono": true,
403
+ "pcm16": true,
404
+ "finite": true,
405
+ "duration": true,
406
+ "peak": true,
407
+ "median_f0": true,
408
+ "asr_wer": true
409
+ },
410
+ "sample_rate": 24000,
411
+ "channels": 1,
412
+ "subtype": "PCM_16",
413
+ "duration_seconds": 11.64,
414
+ "reference_duration_seconds": 11.572245,
415
+ "duration_delta_seconds": 0.067755,
416
+ "peak": 0.950012,
417
+ "median_f0_hz": 146.765,
418
+ "reference_median_f0_hz": 146.765,
419
+ "median_f0_relative_error": 0.0,
420
+ "expected_text": "Ладно. Послушайте. Мы оба наговорили много такого, о чём ещё пожалеем. Но, думаю, наши разногласия можно оставить в прошлом. Ради науки, вы чудовище.",
421
+ "asr_transcript": "ладно послушайте мы оба наговорили много такого о чем еще пожалеем но думаю наши разногласия можно оставить в прошлом ради науки вы чудовище",
422
+ "asr_wer": 0.0
423
+ },
424
+ {
425
+ "id": "0258",
426
+ "passed": true,
427
+ "checks": {
428
+ "sample_rate": true,
429
+ "mono": true,
430
+ "pcm16": true,
431
+ "finite": true,
432
+ "duration": true,
433
+ "peak": true,
434
+ "median_f0": true,
435
+ "asr_wer": true
436
+ },
437
+ "sample_rate": 24000,
438
+ "channels": 1,
439
+ "subtype": "PCM_16",
440
+ "duration_seconds": 11.14,
441
+ "reference_duration_seconds": 11.102041,
442
+ "duration_delta_seconds": 0.037959,
443
+ "peak": 0.950012,
444
+ "median_f0_hz": 151.941,
445
+ "reference_median_f0_hz": 151.066,
446
+ "median_f0_relative_error": 0.005793,
447
+ "expected_text": "Отлично. А вот и результаты теста: вы ужасный человек. Я серьёзно, именно так здесь и написано: ужасный человек. Мы даже не проверяли это.",
448
+ "asr_transcript": "отлично а вот и результаты теста вы ужасный человек я серьезно именно так здесь и написано ужасный человек мы даже не проверяли это",
449
+ "asr_wer": 0.0
450
+ },
451
+ {
452
+ "id": "0285",
453
+ "passed": true,
454
+ "checks": {
455
+ "sample_rate": true,
456
+ "mono": true,
457
+ "pcm16": true,
458
+ "finite": true,
459
+ "duration": true,
460
+ "peak": true,
461
+ "median_f0": true,
462
+ "asr_wer": true
463
+ },
464
+ "sample_rate": 24000,
465
+ "channels": 1,
466
+ "subtype": "PCM_16",
467
+ "duration_seconds": 16.94,
468
+ "reference_duration_seconds": 16.901224,
469
+ "duration_delta_seconds": 0.038776,
470
+ "peak": 0.950012,
471
+ "median_f0_hz": 156.393,
472
+ "reference_median_f0_hz": 156.393,
473
+ "median_f0_relative_error": 0.0,
474
+ "expected_text": "Вы застряли. Посмотрим, попробует ли куб помочь вам сбежать. Хотя, чтобы не сидеть здесь весь день, перейду сразу к сути: не попробует. Любые чувства, которые вы ему приписываете, — всего лишь побочный продукт вашей унылой, пустой жизни.",
475
+ "asr_transcript": "вы застряли посмотрим попробует ли куб помочь вам сбежать хотя чтобы не сидеть здесь весь день перейду сразу к сути не попробует любые чувства которые вы ему приписываете всего лишь побочный продукт вашей унылой пустой жизни",
476
+ "asr_wer": 0.0
477
+ },
478
+ {
479
+ "id": "0304",
480
+ "passed": true,
481
+ "checks": {
482
+ "sample_rate": true,
483
+ "mono": true,
484
+ "pcm16": true,
485
+ "finite": true,
486
+ "duration": true,
487
+ "peak": true,
488
+ "median_f0": true,
489
+ "asr_wer": true
490
+ },
491
+ "sample_rate": 24000,
492
+ "channels": 1,
493
+ "subtype": "PCM_16",
494
+ "duration_seconds": 12.92,
495
+ "reference_duration_seconds": 12.852245,
496
+ "duration_delta_seconds": 0.067755,
497
+ "peak": 0.949982,
498
+ "median_f0_hz": 173.529,
499
+ "reference_median_f0_hz": 174.534,
500
+ "median_f0_relative_error": 0.00576,
501
+ "expected_text": "Превосходно! Вы хищник, а эти тесты — ваша добыча. Кстати, я изучала акул для будущего теста. Знаете, кто ещё убивает людей, которые всего лишь пытаются им помочь?",
502
+ "asr_transcript": "превосходно вы хищник а эти тесты ваша добыча кстати я изучала акул для будущего теста знаете кто еще убивает людей которые всего лишь пытаются им помочь",
503
+ "asr_wer": 0.0
504
+ },
505
+ {
506
+ "id": "0349",
507
+ "passed": true,
508
+ "checks": {
509
+ "sample_rate": true,
510
+ "mono": true,
511
+ "pcm16": true,
512
+ "finite": true,
513
+ "duration": true,
514
+ "peak": true,
515
+ "median_f0": true,
516
+ "asr_wer": true
517
+ },
518
+ "sample_rate": 24000,
519
+ "channels": 1,
520
+ "subtype": "PCM_16",
521
+ "duration_seconds": 2.08,
522
+ "reference_duration_seconds": 2.011429,
523
+ "duration_delta_seconds": 0.068571,
524
+ "peak": 0.950012,
525
+ "median_f0_hz": 143.413,
526
+ "reference_median_f0_hz": 143.416,
527
+ "median_f0_relative_error": 1.7e-05,
528
+ "expected_text": "Я так сильно вас ненавижу.",
529
+ "asr_transcript": "я так сильно вас ненавижу",
530
+ "asr_wer": 0.0
531
+ },
532
+ {
533
+ "id": "0553",
534
+ "passed": true,
535
+ "checks": {
536
+ "sample_rate": true,
537
+ "mono": true,
538
+ "pcm16": true,
539
+ "finite": true,
540
+ "duration": true,
541
+ "peak": true,
542
+ "median_f0": true,
543
+ "asr_wer": true
544
+ },
545
+ "sample_rate": 24000,
546
+ "channels": 1,
547
+ "subtype": "PCM_16",
548
+ "duration_seconds": 8.881625,
549
+ "reference_duration_seconds": 8.881633,
550
+ "duration_delta_seconds": 8e-06,
551
+ "peak": 0.940674,
552
+ "median_f0_hz": 157.299,
553
+ "reference_median_f0_hz": 157.299,
554
+ "median_f0_relative_error": 0.0,
555
+ "expected_text": "Вы знаете, Кэролайн преподала мне ценный урок. Я думала, что вы мой главный враг. А всё это время вы были моим лучшим другом.",
556
+ "asr_transcript": "вы знаете кэролайн преподала мне ценный урок я думала что вы мой главный враг а все это время вы были моим лучшим другом",
557
+ "asr_wer": 0.0
558
+ }
559
+ ]
560
+ }
Models/Russian_CosyVoice3/requirements.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ librosa>=0.11
2
+ numpy>=2.0
3
+ onnx-asr>=0.12
4
+ ruaccent>=1.5
5
+ soundfile>=0.13
6
+ torch>=2.5
7
+ torchaudio>=2.5
Models/Russian_CosyVoice3/samples/0000.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91526d1cc675a70c01d4020ba9f950a0bbad6a4da9bd4d209e2f6d33daf6410d
3
+ size 285164
Models/Russian_CosyVoice3/samples/0007.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bec392ccd0dfc5fd13c5afa008697d7eaebecb3b951306b6253b815b239e9cf
3
+ size 262124
Models/Russian_CosyVoice3/samples/0025.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9415d43c389720298eaca60e8d807f71203598be8f051a9807d033ca20a5b5d
3
+ size 292908
Models/Russian_CosyVoice3/samples/0046.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72f99bf88e0906dd40d4d719087a09201f1fa68aefa6c4e655b5cb3eb9ba961b
3
+ size 188204
Models/Russian_CosyVoice3/samples/0053.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a39649e69f583656fb8461f7843c4e20bd38d9c9d22891d104cc0e6735820d8
3
+ size 193964
Models/Russian_CosyVoice3/samples/0055.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9e30a9079aadee665c462de815fa322f59b6f42232c62498e11b27ae09aa865
3
+ size 197804
Models/Russian_CosyVoice3/samples/0072.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4bd9cb3b5773bbd5538a55227e6be916d9482596bfcad904600419109759387
3
+ size 218924
Models/Russian_CosyVoice3/samples/0109.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b738e89ab61d8da50194d4bdd83037c30b0a8521145f40e80902f603d567b93a
3
+ size 562604
Models/Russian_CosyVoice3/samples/0133.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:008666f30c4025e5868926a6a4759371939191b106d4adc877c01d8df7cb058f
3
+ size 205484
Models/Russian_CosyVoice3/samples/0142.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1a4eb2ddde736d9d4f775c414e38ae9fe404973e810ca4021560f9922b7200b
3
+ size 177192
Models/Russian_CosyVoice3/samples/0143.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af12936393bfea2b55ad5af379bf55dcf7feb56eca6e2d3effd09b8388c5213c
3
+ size 169004
Models/Russian_CosyVoice3/samples/0177.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:632fa6158e390925c0c0ad28602a25c79e30d851d51ac7720e927530d8929d39
3
+ size 486764
Models/Russian_CosyVoice3/samples/0208.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73033caa81e51afe94f2706d9995238e7ce5e957be35e88bb718befc9cf30911
3
+ size 482924
Models/Russian_CosyVoice3/samples/0224.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea34104db5013a78a8078fec10e81d9a3cb79fd88115d2824aba18f914208713
3
+ size 167084
Models/Russian_CosyVoice3/samples/0234.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b939580e73810c4dbf52de7dae7f594f480af85108c6da3c3eebac72c13a1e80
3
+ size 558764
Models/Russian_CosyVoice3/samples/0258.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29739dfedf9349144d3f253b59ed471f0825a82ec5c362da9971d29be57fa40d
3
+ size 534764
Models/Russian_CosyVoice3/samples/0285.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de502b59b845c80a8e70c9b71a3b8031cabda4e18c042c970fe652386081a1e4
3
+ size 813164