Clone a voice in 5 seconds to generate arbitrary speech in real-time
This report summarizes scanner evidence for CorentinJ/Real-Time-Voice-Cloning, a Python project with 60,256 GitHub stars. SynthScan examined 6,912 lines of code across 67 source files, recording 71 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 14.2 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-27.
Can maintainers explain intent, assumptions, and trade-offs? 35 finding(s).
Are imports declared and package/API names verified? 30 finding(s).
Are wrappers, guards, and repeated structures necessary? 11 finding(s).
Which changes need focused human review? 71 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 71 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | encoder_preprocess.py | 47 | CODE | |
| LOW | encoder/preprocess.py | 11 | CODE | |
| LOW | encoder/model.py | 1 | CODE | |
| LOW | encoder/model.py | 2 | CODE | |
| LOW | encoder/train.py | 7 | CODE | |
| LOW | encoder/inference.py | 1 | CODE | |
| LOW | encoder/inference.py | 3 | CODE | |
| LOW | encoder/audio.py | 2 | CODE | |
| LOW | encoder/data_objects/__init__.py | 1 | CODE | |
| LOW | encoder/data_objects/__init__.py | 2 | CODE | |
| LOW | tests/test_ci_smoke.py | 11 | CODE | |
| LOW | tests/test_ci_smoke.py | 12 | CODE | |
| LOW | tests/test_ci_smoke.py | 13 | CODE | |
| LOW | tests/test_ci_smoke.py | 14 | CODE | |
| LOW | tests/test_ci_smoke.py | 18 | CODE | |
| LOW | tests/test_ci_smoke.py | 19 | CODE | |
| LOW | tests/test_ci_smoke.py | 20 | CODE | |
| LOW | synthesizer/synthesize.py | 1 | CODE | |
| LOW | synthesizer/train.py | 17 | CODE | |
| LOW | synthesizer/inference.py | 7 | CODE | |
| LOW | synthesizer/models/tacotron.py | 1 | CODE | |
| LOW | synthesizer/models/tacotron.py | 6 | CODE | |
| LOW | synthesizer/models/tacotron.py | 7 | CODE | |
| LOW | toolbox/ui.py | 13 | CODE | |
| LOW | toolbox/__init__.py | 59 | CODE | |
| LOW | vocoder/gen_wavernn.py | 2 | CODE | |
| LOW | vocoder/models/fatchord_version.py | 5 | CODE | |
| LOW | vocoder/models/fatchord_version.py | 6 | CODE | |
| LOW | vocoder/models/deepmind_version.py | 4 | CODE | |
| LOW | vocoder/models/deepmind_version.py | 5 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | demo_cli.py | 82 | # Create a dummy embedding. You would normally use the embedding that encoder.embed_utterance | COMMENT |
| MEDIUM | encoder/preprocess.py | 70 | # Create an output directory with that name, as well as a txt file containing a | COMMENT |
| MEDIUM | encoder/preprocess.py | 103 | # Create the mel spectrogram, discard those that are too short | COMMENT |
| MEDIUM | encoder/visualizations.py | 58 | # Create the windows | COMMENT |
| MEDIUM | encoder/train.py | 21 | # Create a dataset and a dataloader | COMMENT |
| MEDIUM | encoder/train.py | 37 | # Create the model and the optimizer | COMMENT |
| MEDIUM | synthesizer/preprocess.py | 21 | # Create the output directories for each output file type | COMMENT |
| MEDIUM | synthesizer/preprocess.py | 25 | # Create a metadata file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo_cli.py | 81 | COMMENT | |
| LOW | utils/logmmse.py | 1 | # The MIT License (MIT) | COMMENT |
| LOW | utils/logmmse.py | 141 | # TODO: fix doc | COMMENT |
| LOW | utils/logmmse.py | 161 | # perc = 50 | COMMENT |
| LOW | utils/logmmse.py | 181 | # aa = 0.98 | COMMENT |
| LOW | utils/logmmse.py | 201 | # | COMMENT |
| LOW | synthesizer/preprocess.py | 161 | # Split the utterance | COMMENT |
| LOW | synthesizer/preprocess.py | 181 | return wavs, texts | COMMENT |
| LOW | synthesizer/__init__.py | 1 | # | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/logmmse.py | 221 | CODE | |
| LOW | utils/logmmse.py | 235 | CODE | |
| LOW | synthesizer/preprocess.py | 53 | CODE | |
| LOW | synthesizer/train.py | 27 | CODE | |
| LOW | synthesizer/utils/_cmudict.py | 42 | CODE | |
| LOW | synthesizer/utils/numbers.py | 47 | CODE | |
| LOW | vocoder/train.py | 18 | CODE | |
| LOW | vocoder/models/fatchord_version.py | 153 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | encoder/preprocess.py | 92 | # Check if the target output file already exists | COMMENT |
| LOW | synthesizer/synthesize.py | 56 | # Set model to eval mode (disable gradient and zoneout) | COMMENT |
| LOW⚡ | toolbox/ui.py | 155 | # Check if valid input | COMMENT |
| LOW⚡ | toolbox/ui.py | 162 | # Check if valid output | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo_cli.py | 206 | except Exception as e: | CODE |
| LOW⚡ | toolbox/ui.py | 166 | except Exception as e: | CODE |
| LOW | toolbox/ui.py | 201 | except Exception as e: | CODE |
| LOW | toolbox/ui.py | 217 | except Exception as e: | CODE |
| MEDIUM | toolbox/ui.py | 197 | def play(self, wav, sample_rate): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | toolbox/ui.py | 159 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | encoder/inference.py | 161 | def plot_embedding_as_heatmap(embed, ax=None, title="", shape=None, color_range=(0, 0.30)): | CODE |
| LOW | toolbox/ui.py | 327 | def current_synthesizer_fpath(self): | CODE |
| LOW | vocoder/distribution.py | 16 | def discretized_mix_logistic_loss(y_hat, y, num_classes=65536, | CODE |
| LOW | vocoder/distribution.py | 87 | def sample_from_discretized_mix_logistic(y, log_scale_min=None): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | encoder/visualizations.py | 38 | # If visdom is disabled TODO: use a better paradigm for that | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/logmmse.py | 133 | CODE |