🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
This report summarizes scanner evidence for coqui-ai/TTS, a Python project with 46,290 GitHub stars. SynthScan examined 101,646 lines of code across 546 source files, recording 542 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 8.5 (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? 426 finding(s).
Are imports declared and package/API names verified? 46 finding(s).
Are wrappers, guards, and repeated structures necessary? 333 finding(s).
Which changes need focused human review? 542 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 542 distinct pattern matches across 17 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 |
|---|---|---|---|---|
| HIGH | docs/source/implementing_a_new_model.md | 0 | create visualizations and waveform examples. for example, here you can plot spectrograms and generate sample sample wave | STRING |
| HIGH | TTS/tts/models/delightful_tts.py | 0 | create visualizations and waveform examples. for example, here you can plot spectrograms and generate sample sample wave | STRING |
| HIGH | TTS/tts/models/vits.py | 0 | create visualizations and waveform examples. for example, here you can plot spectrograms and generate sample sample wave | STRING |
| HIGH | TTS/encoder/models/resnet.py | 0 | forward pass of the model. args: x (tensor): raw waveform signal or spectrogram frames. if input is a waveform, `torch_s | STRING |
| HIGH | TTS/encoder/models/lstm.py | 0 | forward pass of the model. args: x (tensor): raw waveform signal or spectrogram frames. if input is a waveform, `torch_s | STRING |
| HIGH | TTS/tts/layers/xtts/hifigan_decoder.py | 0 | forward pass of the model. args: x (tensor): raw waveform signal or spectrogram frames. if input is a waveform, `torch_s | STRING |
| HIGH | TTS/vc/models/base_vc.py | 0 | generic test run for `tts` models used by `trainer`. you can override this for a different behaviour. args: assets (dict | STRING |
| HIGH | TTS/tts/models/base_tacotron.py | 0 | generic test run for `tts` models used by `trainer`. you can override this for a different behaviour. args: assets (dict | STRING |
| HIGH | TTS/tts/models/base_tts.py | 0 | generic test run for `tts` models used by `trainer`. you can override this for a different behaviour. args: assets (dict | STRING |
| HIGH | TTS/tts/layers/vits/stochastic_duration_predictor.py | 0 | shapes: - x: :math:`[b, c, t]` - x_mask: :math:`[b, 1, t]` | STRING |
| HIGH | TTS/tts/layers/glow_tts/glow.py | 0 | shapes: - x: :math:`[b, c, t]` - x_mask: :math:`[b, 1, t]` | STRING |
| HIGH | TTS/tts/layers/glow_tts/transformer.py | 0 | shapes: - x: :math:`[b, c, t]` - x_mask: :math:`[b, 1, t]` | STRING |
| HIGH | TTS/tts/layers/xtts/trainer/gpt_trainer.py | 0 | initiate model from config args: config (tacotronconfig): model config. samples (union[list[list], list[dict]]): trainin | STRING |
| HIGH | TTS/tts/models/align_tts.py | 0 | initiate model from config args: config (tacotronconfig): model config. samples (union[list[list], list[dict]]): trainin | STRING |
| HIGH | TTS/tts/models/tacotron2.py | 0 | initiate model from config args: config (tacotronconfig): model config. samples (union[list[list], list[dict]]): trainin | STRING |
| HIGH | TTS/tts/models/forward_tts.py | 0 | initiate model from config args: config (tacotronconfig): model config. samples (union[list[list], list[dict]]): trainin | STRING |
| HIGH | TTS/tts/models/delightful_tts.py | 0 | initiate model from config args: config (tacotronconfig): model config. samples (union[list[list], list[dict]]): trainin | STRING |
| HIGH | TTS/tts/models/vits.py | 0 | initiate model from config args: config (tacotronconfig): model config. samples (union[list[list], list[dict]]): trainin | STRING |
| HIGH | TTS/tts/models/tacotron.py | 0 | initiate model from config args: config (tacotronconfig): model config. samples (union[list[list], list[dict]]): trainin | STRING |
| HIGH | TTS/tts/layers/delightful_tts/kernel_predictor.py | 0 | args: c (tensor): the conditioning sequence (batch, cond_channels, cond_length) returns: | STRING |
| HIGH | TTS/tts/layers/tortoise/vocoder.py | 0 | args: c (tensor): the conditioning sequence (batch, cond_channels, cond_length) returns: | STRING |
| HIGH | TTS/vocoder/layers/lvc_block.py | 0 | args: c (tensor): the conditioning sequence (batch, cond_channels, cond_length) returns: | STRING |
| HIGH | TTS/tts/layers/delightful_tts/conv_layers.py | 0 | forward propagation of the location-variable convolutions. args: x (tensor): the input sequence (batch, in_channels, in_ | STRING |
| HIGH | TTS/tts/layers/tortoise/vocoder.py | 0 | forward propagation of the location-variable convolutions. args: x (tensor): the input sequence (batch, in_channels, in_ | STRING |
| HIGH | TTS/vocoder/layers/lvc_block.py | 0 | forward propagation of the location-variable convolutions. args: x (tensor): the input sequence (batch, in_channels, in_ | STRING |
| HIGH | TTS/tts/layers/delightful_tts/conv_layers.py | 0 | perform location-variable convolution operation on the input sequence (x) using the local convolution kernl. time: 414 μ | STRING |
| HIGH | TTS/tts/layers/tortoise/vocoder.py | 0 | perform location-variable convolution operation on the input sequence (x) using the local convolution kernl. time: 414 μ | STRING |
| HIGH | TTS/vocoder/layers/lvc_block.py | 0 | perform location-variable convolution operation on the input sequence (x) using the local convolution kernl. time: 414 μ | STRING |
| HIGH | TTS/tts/models/neuralhmm_tts.py | 0 | initiate model from config args: config (vitsconfig): model config. samples (union[list[list], list[dict]]): training sa | STRING |
| HIGH | TTS/tts/models/glow_tts.py | 0 | initiate model from config args: config (vitsconfig): model config. samples (union[list[list], list[dict]]): training sa | STRING |
| HIGH | TTS/tts/models/overflow.py | 0 | initiate model from config args: config (vitsconfig): model config. samples (union[list[list], list[dict]]): training sa | STRING |
| HIGH | TTS/tts/models/glow_tts.py | 0 | generic test run for `tts` models used by `trainer`. you can override this for a different behaviour. returns: tuple[dic | STRING |
| HIGH | TTS/tts/models/delightful_tts.py | 0 | generic test run for `tts` models used by `trainer`. you can override this for a different behaviour. returns: tuple[dic | STRING |
| HIGH | TTS/tts/models/vits.py | 0 | generic test run for `tts` models used by `trainer`. you can override this for a different behaviour. returns: tuple[dic | STRING |
| HIGH | TTS/tts/models/delightful_tts.py | 0 | initiate and return the gan optimizers based on the config parameters. it returnes 2 optimizers in a list. first one is | STRING |
| HIGH | TTS/tts/models/vits.py | 0 | initiate and return the gan optimizers based on the config parameters. it returnes 2 optimizers in a list. first one is | STRING |
| HIGH | TTS/vocoder/models/gan.py | 0 | initiate and return the gan optimizers based on the config parameters. it returnes 2 optimizers in a list. first one is | STRING |
| HIGH | TTS/tts/models/delightful_tts.py | 0 | set the initial learning rates for each optimizer. returns: list: learning rates for each optimizer. | STRING |
| HIGH | TTS/tts/models/vits.py | 0 | set the initial learning rates for each optimizer. returns: list: learning rates for each optimizer. | STRING |
| HIGH | TTS/vocoder/models/gan.py | 0 | set the initial learning rates for each optimizer. returns: list: learning rates for each optimizer. | STRING |
| HIGH | TTS/tts/models/delightful_tts.py | 0 | set the schedulers for each optimizer. args: optimizer (list[`torch.optim.optimizer`]): list of optimizers. returns: lis | STRING |
| HIGH | TTS/tts/models/vits.py | 0 | set the schedulers for each optimizer. args: optimizer (list[`torch.optim.optimizer`]): list of optimizers. returns: lis | STRING |
| HIGH | TTS/vocoder/models/gan.py | 0 | set the schedulers for each optimizer. args: optimizer (list[`torch.optim.optimizer`]): list of optimizers. returns: lis | STRING |
| HIGH | TTS/tts/configs/fastspeech2_config.py | 0 | configure `forwardtts` as speedyspeech model. example: >>> from tts.tts.configs.speedy_speech_config import speedyspeech | STRING |
| HIGH | TTS/tts/configs/fast_speech_config.py | 0 | configure `forwardtts` as speedyspeech model. example: >>> from tts.tts.configs.speedy_speech_config import speedyspeech | STRING |
| HIGH | TTS/tts/configs/fast_pitch_config.py | 0 | configure `forwardtts` as speedyspeech model. example: >>> from tts.tts.configs.speedy_speech_config import speedyspeech | STRING |
| HIGH | TTS/tts/configs/speedy_speech_config.py | 0 | configure `forwardtts` as speedyspeech model. example: >>> from tts.tts.configs.speedy_speech_config import speedyspeech | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/data_tests/test_loader.py | 176 | def test_padding_and_spectrograms(self): | CODE |
| LOW | tests/data_tests/test_samplers.py | 51 | def test_language_random_sampler(self): # pylint: disable=no-self-use | CODE |
| LOW | tests/data_tests/test_samplers.py | 63 | def test_language_weighted_random_sampler(self): # pylint: disable=no-self-use | CODE |
| LOW | tests/data_tests/test_samplers.py | 77 | def test_speaker_weighted_random_sampler(self): # pylint: disable=no-self-use | CODE |
| LOW | tests/data_tests/test_samplers.py | 116 | def test_perfect_sampler_shuffle(self): # pylint: disable=no-self-use | CODE |
| LOW | tests/data_tests/test_samplers.py | 141 | def test_length_weighted_random_sampler(self): # pylint: disable=no-self-use | CODE |
| LOW | tests/data_tests/test_samplers.py | 166 | def test_bucket_batch_sampler(self): | CODE |
| LOW | tests/data_tests/test_dataset_formatters.py | 9 | def test_common_voice_preprocessor(self): # pylint: disable=no-self-use | CODE |
| LOW | tests/inference_tests/test_synthesizer.py | 29 | def test_split_into_sentences(self): | CODE |
| LOW | tests/tts_tests2/test_forward_tts.py | 9 | def expand_encoder_outputs_test(): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 92 | def test_unlock_act_norm_layers(self): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 100 | def test_lock_act_norm_layers(self): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 129 | def _test_forward_with_d_vector(self, batch_size): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 152 | def test_forward_with_d_vector(self): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 156 | def _test_forward_with_speaker_id(self, batch_size): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 178 | def test_forward_with_speaker_id(self): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 182 | def _assert_inference_outputs(self, outputs, input_dummy, mel_spec): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 204 | def _test_inference_with_d_vector(self, batch_size): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 218 | def test_inference_with_d_vector(self): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 222 | def _test_inference_with_speaker_ids(self, batch_size): | CODE |
| LOW | tests/tts_tests2/test_glow_tts.py | 235 | def test_inference_with_speaker_ids(self): | CODE |
| LOW | tests/tts_tests/test_overflow.py | 106 | def test_forward_with_state_per_phone_multiplication(self): | CODE |
| LOW | tests/tts_tests/test_overflow.py | 113 | def test_inference_with_state_per_phone_multiplication(self): | CODE |
| LOW | tests/tts_tests/test_overflow.py | 161 | def test_decoder_forward_backward(self): | CODE |
| LOW | tests/tts_tests/test_overflow.py | 267 | def test_forward_algorithm_variables(self): | CODE |
| LOW | tests/tts_tests/test_overflow.py | 294 | def test_get_absorption_state_scaling_factor(self): | CODE |
| LOW | tests/tts_tests/test_overflow.py | 389 | def test_outputnet_forward_with_flat_start(self): | CODE |
| LOW | tests/tts_tests/test_vits.py | 191 | def test_multispeaker_forward(self): | CODE |
| LOW | tests/tts_tests/test_vits.py | 225 | def test_multilingual_forward(self): | CODE |
| LOW | tests/tts_tests/test_vits.py | 307 | def test_multispeaker_inference(self): | CODE |
| LOW | tests/tts_tests/test_vits.py | 324 | def test_multilingual_inference(self): | CODE |
| LOW | tests/tts_tests/test_vits.py | 432 | def test_train_step_upsampling(self): | CODE |
| LOW | tests/tts_tests/test_vits.py | 472 | def test_train_step_upsampling_interpolation(self): | CODE |
| LOW | tests/tts_tests/test_helpers.py | 6 | def average_over_durations_test(): # pylint: disable=no-self-use | CODE |
| LOW | tests/text_tests/test_korean_phonemizer.py | 21 | def test_korean_text_to_phonemes(self): | STRING |
| LOW | tests/text_tests/test_characters.py | 63 | def test_default_character_sets(self): # pylint: disable=no-self-use | CODE |
| LOW⚡ | tests/text_tests/test_tokenizer.py | 18 | def test_encode_decode_graphemes(self): | CODE |
| LOW⚡ | tests/text_tests/test_tokenizer.py | 25 | def test_text_to_ids_phonemes(self): | CODE |
| LOW⚡ | tests/text_tests/test_tokenizer.py | 33 | def test_text_to_ids_phonemes_punctuation(self): | CODE |
| LOW⚡ | tests/text_tests/test_tokenizer.py | 40 | def test_text_to_ids_phonemes_with_eos_bos(self): | CODE |
| LOW⚡ | tests/text_tests/test_tokenizer.py | 48 | def test_text_to_ids_phonemes_with_eos_bos_and_blank(self): | CODE |
| LOW | tests/text_tests/test_tokenizer.py | 61 | def test_not_found_characters(self): | CODE |
| LOW | tests/text_tests/test_japanese_phonemizer.py | 19 | def test_japanese_text_to_phonemes(self): | STRING |
| LOW | tests/text_tests/test_belarusian_phonemizer.py | 14 | def test_belarusian_text_to_phonemes(self): | STRING |
| LOW | tests/text_tests/test_phonemizer.py | 82 | def test_get_supported_languages(self): | CODE |
| LOW | tests/text_tests/test_phonemizer.py | 122 | def test_get_supported_languages(self): | CODE |
| LOW | tests/text_tests/test_phonemizer.py | 169 | def test_get_supported_languages(self): | CODE |
| LOW | tests/text_tests/test_phonemizer.py | 202 | def test_get_supported_languages(self): | STRING |
| LOW | tests/text_tests/test_phonemizer.py | 224 | def test_get_supported_languages(self): | STRING |
| LOW | tests/text_tests/test_phonemizer.py | 246 | def test_get_supported_languages(self): | STRING |
| LOW | tests/text_tests/test_phonemizer.py | 275 | def test_phonemizer_initialization(self): | STRING |
| LOW | tests/text_tests/test_phonemizer.py | 294 | def test_get_supported_languages(self): | STRING |
| LOW | …r_tests/test_vocoder_parallel_wavegan_discriminator.py | 28 | def test_redisual_pwgan_disciminator(): | CODE |
| LOW | …sts/vocoder_tests/test_vocoder_melgan_discriminator.py | 8 | def test_melgan_discriminator(): | CODE |
| LOW | …sts/vocoder_tests/test_vocoder_melgan_discriminator.py | 16 | def test_melgan_multi_scale_discriminator(): | CODE |
| LOW | tests/vocoder_tests/test_vocoder_wavernn_datasets.py | 71 | def test_parametrized_wavernn_dataset(): | CODE |
| LOW | tests/vocoder_tests/test_vocoder_gan_datasets.py | 93 | def test_parametrized_gan_dataset(): | CODE |
| LOW | tests/vocoder_tests/test_vocoder_losses.py | 44 | def test_multiscale_stft_loss(): | CODE |
| LOW | tests/aux_tests/test_numpy_transforms.py | 59 | def test_amplitude_db_conversion(self): | CODE |
| LOW | tests/aux_tests/test_numpy_transforms.py | 65 | def test_preemphasis_deemphasis(self): | CODE |
| 127 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/zoo_tests/test_models.py | 22 | CODE | |
| LOW | TTS/bin/train_vocoder.py | 17 | CODE | |
| LOW | TTS/bin/extract_tts_spectrograms.py | 117 | CODE | |
| LOW | TTS/bin/synthesize.py | 144 | CODE | |
| LOW | TTS/bin/remove_silence_using_vad.py | 34 | CODE | |
| LOW | TTS/bin/train_tts.py | 16 | CODE | |
| LOW | TTS/config/__init__.py | 68 | CODE | |
| LOW | TTS/encoder/utils/generic_utils.py | 13 | CODE | |
| LOW | TTS/encoder/utils/prepare_voxceleb.py | 146 | CODE | |
| LOW | TTS/utils/generic_utils.py | 127 | CODE | |
| LOW | TTS/utils/download.py | 138 | CODE | |
| LOW | TTS/utils/radam.py | 33 | CODE | |
| LOW | TTS/utils/synthesizer.py | 257 | CODE | |
| LOW | TTS/utils/manage.py | 70 | CODE | |
| LOW | TTS/utils/manage.py | 102 | CODE | |
| LOW | TTS/utils/manage.py | 143 | CODE | |
| LOW | TTS/utils/manage.py | 248 | CODE | |
| LOW | TTS/utils/manage.py | 333 | CODE | |
| LOW | TTS/utils/manage.py | 371 | CODE | |
| LOW | TTS/utils/manage.py | 500 | CODE | |
| LOW | TTS/utils/manage.py | 528 | CODE | |
| LOW | TTS/utils/manage.py | 563 | CODE | |
| LOW | TTS/utils/manage.py | 596 | CODE | |
| LOW | TTS/utils/samplers.py | 74 | CODE | |
| LOW | TTS/utils/audio/processor.py | 259 | CODE | |
| LOW | TTS/utils/audio/processor.py | 300 | CODE | |
| LOW | TTS/vc/models/base_vc.py | 104 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/modules.py | 142 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/modules.py | 100 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/modules.py | 713 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/wavlm.py | 35 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/wavlm.py | 364 | CODE | |
| LOW | TTS/tts/layers/losses.py | 589 | CODE | |
| LOW | TTS/tts/layers/bark/inference_funcs.py | 36 | CODE | |
| LOW | TTS/tts/layers/bark/inference_funcs.py | 307 | CODE | |
| LOW | TTS/tts/layers/bark/inference_funcs.py | 484 | CODE | |
| LOW | TTS/tts/layers/feed_forward/decoder.py | 177 | CODE | |
| LOW | TTS/tts/layers/glow_tts/encoder.py | 78 | CODE | |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 567 | CODE | |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 649 | CODE | |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 431 | CODE | |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 587 | CODE | |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 619 | CODE | |
| LOW | TTS/tts/layers/xtts/tokenizer.py | 21 | CODE | |
| LOW | TTS/tts/layers/xtts/tokenizer.py | 35 | CODE | |
| LOW | TTS/tts/layers/xtts/stream_generator.py | 46 | CODE | |
| LOW | TTS/tts/layers/xtts/stream_generator.py | 644 | CODE | |
| LOW | TTS/tts/layers/xtts/gpt.py | 319 | CODE | |
| LOW | TTS/tts/layers/xtts/gpt.py | 370 | CODE | |
| LOW | TTS/tts/layers/xtts/trainer/gpt_trainer.py | 70 | CODE | |
| LOW | TTS/tts/layers/xtts/trainer/gpt_trainer.py | 401 | CODE | |
| LOW | TTS/tts/layers/delightful_tts/conv_layers.py | 358 | CODE | |
| LOW | TTS/tts/layers/tortoise/diffusion.py | 1146 | CODE | |
| LOW | TTS/tts/layers/tortoise/diffusion.py | 530 | CODE | |
| LOW | TTS/tts/layers/tortoise/diffusion.py | 864 | CODE | |
| LOW | TTS/tts/layers/tortoise/diffusion.py | 950 | CODE | |
| LOW | TTS/tts/layers/tortoise/dpm_solver.py | 213 | CODE | |
| LOW | TTS/tts/layers/tortoise/dpm_solver.py | 325 | CODE | |
| LOW | TTS/tts/layers/tortoise/dpm_solver.py | 352 | CODE | |
| LOW | TTS/tts/layers/tortoise/dpm_solver.py | 1238 | CODE | |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TTS/api.py | 290 | CODE | |
| LOW | TTS/bin/compute_embeddings.py | 15 | CODE | |
| LOW | TTS/encoder/models/resnet.py | 56 | CODE | |
| LOW | TTS/encoder/models/resnet.py | 65 | CODE | |
| LOW | TTS/utils/synthesizer.py | 26 | CODE | |
| LOW | TTS/utils/synthesizer.py | 257 | CODE | |
| LOW | TTS/utils/audio/processor.py | 141 | CODE | |
| LOW | TTS/utils/audio/torch_transforms.py | 64 | CODE | |
| LOW | TTS/utils/audio/numpy_transforms.py | 244 | CODE | |
| LOW | TTS/vc/modules/freevc/mel_processing.py | 28 | CODE | |
| LOW | TTS/vc/modules/freevc/mel_processing.py | 33 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/modules.py | 66 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/modules.py | 289 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/modules.py | 424 | CODE | |
| LOW | TTS/vc/modules/freevc/wavlm/wavlm.py | 599 | CODE | |
| LOW | TTS/tts/layers/bark/inference_funcs.py | 152 | CODE | |
| LOW | TTS/tts/layers/bark/inference_funcs.py | 307 | CODE | |
| LOW | TTS/tts/layers/vits/transforms.py | 97 | CODE | |
| LOW | TTS/tts/layers/tacotron/gst_layers.py | 149 | CODE | |
| LOW | TTS/tts/layers/overflow/neural_hmm.py | 516 | CODE | |
| LOW | TTS/tts/layers/overflow/neural_hmm.py | 553 | CODE | |
| LOW | TTS/tts/layers/xtts/hifigan_decoder.py | 386 | CODE | |
| LOW | TTS/tts/layers/xtts/hifigan_decoder.py | 425 | CODE | |
| LOW | TTS/tts/layers/xtts/hifigan_decoder.py | 616 | CODE | |
| LOW | TTS/tts/layers/xtts/perceiver_encoder.py | 151 | CODE | |
| LOW | TTS/tts/layers/xtts/dvae.py | 202 | CODE | |
| LOW | TTS/tts/layers/xtts/gpt_inference.py | 55 | CODE | |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 649 | CODE | |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 1058 | CODE | |
| LOW | TTS/tts/layers/xtts/stream_generator.py | 644 | CODE | |
| LOW | TTS/tts/layers/xtts/gpt.py | 89 | CODE | |
| LOW | TTS/tts/layers/xtts/gpt.py | 251 | CODE | |
| LOW | TTS/tts/layers/xtts/trainer/dataset.py | 195 | CODE | |
| LOW | TTS/tts/layers/delightful_tts/encoders.py | 195 | CODE | |
| LOW | TTS/tts/layers/delightful_tts/conformer.py | 450 | CODE | |
| LOW | TTS/tts/layers/tortoise/vocoder.py | 284 | CODE | |
| LOW | TTS/tts/layers/tortoise/diffusion.py | 753 | CODE | |
| LOW | TTS/tts/layers/tortoise/diffusion.py | 787 | CODE | |
| LOW | TTS/tts/layers/tortoise/clvp.py | 28 | CODE | |
| LOW | TTS/tts/layers/tortoise/autoregressive.py | 82 | CODE | |
| LOW | TTS/tts/layers/tortoise/autoregressive.py | 263 | CODE | |
| LOW | TTS/tts/layers/tortoise/classifier.py | 8 | CODE | |
| LOW | TTS/tts/layers/tortoise/classifier.py | 75 | CODE | |
| LOW | TTS/tts/layers/tortoise/dpm_solver.py | 213 | CODE | |
| LOW | TTS/tts/layers/tortoise/dpm_solver.py | 1197 | CODE | |
| LOW | TTS/tts/layers/tortoise/dpm_solver.py | 1238 | CODE | |
| LOW | TTS/tts/layers/tortoise/diffusion_decoder.py | 142 | CODE | |
| LOW | TTS/tts/layers/tortoise/random_latent_generator.py | 36 | CODE | |
| LOW | TTS/tts/layers/tortoise/arch_utils.py | 253 | CODE | |
| LOW | TTS/tts/layers/tortoise/arch_utils.py | 300 | CODE | |
| LOW | TTS/tts/layers/tortoise/transformer.py | 177 | CODE | |
| LOW | TTS/tts/layers/tortoise/transformer.py | 182 | CODE | |
| LOW | TTS/tts/layers/tortoise/xtransformers.py | 490 | CODE | |
| LOW | TTS/tts/layers/tortoise/xtransformers.py | 594 | CODE | |
| LOW | TTS/tts/layers/tortoise/xtransformers.py | 757 | CODE | |
| LOW | TTS/tts/layers/tortoise/xtransformers.py | 927 | CODE | |
| LOW | TTS/tts/datasets/dataset.py | 57 | CODE | |
| LOW | TTS/tts/utils/ssim.py | 87 | CODE | |
| LOW | TTS/tts/utils/text/characters.py | 173 | CODE | |
| LOW | TTS/tts/utils/text/characters.py | 380 | CODE | |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | TTS/config/__init__.py | 24 | Find the right config for the given model name. Args: model_name (str): Model name. Raises: Mo | STRING |
| HIGH | TTS/config/__init__.py | 69 | Import `json` or `yaml` files as TTS configs. First, load the input file as a `dict` and check the model name to fin | STRING |
| HIGH | TTS/utils/audio/processor.py | 260 | Normalize values into `[0, self.max_norm]` or `[-self.max_norm, self.max_norm]` Args: S (np.ndarray | STRING |
| HIGH | TTS/utils/audio/processor.py | 301 | Denormalize spectrogram values. Args: S (np.ndarray): Spectrogram to denormalize. Raises: | STRING |
| HIGH | TTS/utils/audio/processor.py | 385 | Apply pre-emphasis to the audio signal. Useful to reduce the correlation between neighbouring signal values. Ar | STRING |
| HIGH | TTS/utils/audio/processor.py | 487 | Compute pitch (f0) of a waveform using the same parameters used for computing melspectrogram. Args: | STRING |
| HIGH | TTS/utils/audio/numpy_transforms.py | 92 | Apply pre-emphasis to the audio signal. Useful to reduce the correlation between neighbouring signal values. Args: | STRING |
| HIGH | TTS/utils/audio/numpy_transforms.py | 256 | Compute pitch (f0) of a waveform using the same parameters used for computing melspectrogram. Args: x (np.n | STRING |
| HIGH | TTS/utils/audio/numpy_transforms.py | 307 | Compute energy of a waveform using the same parameters used for computing melspectrogram. Args: x (np.ndarray) | STRING |
| HIGH | TTS/tts/layers/overflow/plotting_utils.py | 9 | Validates the input and makes sure it returns a numpy array (i.e on CPU) Args: value (Any): the input | STRING |
| HIGH | TTS/tts/layers/xtts/stream_generator.py | 660 | Generates sequences of token ids for models with a language modeling head using **multinomial sampling** and | STRING |
| HIGH | TTS/tts/utils/text/chinese_mandarin/numbers.py | 13 | Convert numerical arabic numbers (0->9) to chinese hanzi numbers (〇 -> 九) Args: num (str): arabic number to | STRING |
| HIGH | TTS/vocoder/models/gan.py | 69 | Compute model outputs and the loss values. `optimizer_idx` selects the generator or the discriminator for networ | STRING |
| HIGH | TTS/vocoder/models/wavernn.py | 195 | 🐸 WaveRNN model. Original paper - https://arxiv.org/abs/1802.08435 Official implementation - https://git | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/tts_tests/test_helpers.py | 45 | except: | CODE |
| HIGH | tests/tts_tests/test_helpers.py | 62 | except: | CODE |
| HIGH | tests/text_tests/test_characters.py | 43 | except: | CODE |
| HIGH | tests/text_tests/test_characters.py | 52 | except: | CODE |
| HIGH | TTS/config/__init__.py | 47 | except ModuleNotFoundError: | CODE |
| HIGH | TTS/utils/download.py | 167 | except tarfile.ReadError: | CODE |
| HIGH | TTS/utils/download.py | 182 | except zipfile.BadZipFile: | CODE |
| HIGH | TTS/utils/manage.py | 406 | except: | CODE |
| HIGH | TTS/tts/layers/xtts/tokenizer.py | 534 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | recipes/bel-alex73/train_hifigan.py | 1 | CODE | |
| LOW | recipes/bel-alex73/train_hifigan.py | 3 | CODE | |
| LOW | recipes/bel-alex73/train_hifigan.py | 8 | CODE | |
| LOW | recipes/multilingual/cml_yourtts/train_yourtts.py | 7 | CODE | |
| LOW | TTS/api.py | 4 | CODE | |
| LOW | TTS/api.py | 6 | CODE | |
| LOW | TTS/config/__init__.py | 10 | CODE | |
| LOW | TTS/encoder/configs/emotion_encoder_config.py | 1 | CODE | |
| LOW | TTS/encoder/configs/speaker_encoder_config.py | 1 | CODE | |
| LOW | TTS/utils/manage.py | 8 | CODE | |
| LOW | TTS/utils/audio/__init__.py | 1 | CODE | |
| LOW | TTS/vc/configs/shared_configs.py | 1 | CODE | |
| LOW | TTS/vc/configs/shared_configs.py | 2 | CODE | |
| LOW | TTS/vc/configs/shared_configs.py | 4 | CODE | |
| LOW | TTS/vc/configs/shared_configs.py | 4 | CODE | |
| LOW | TTS/vc/modules/freevc/commons.py | 3 | CODE | |
| LOW | TTS/vc/modules/freevc/commons.py | 5 | CODE | |
| LOW | …S/vc/modules/freevc/speaker_encoder/speaker_encoder.py | 1 | CODE | |
| LOW | …S/vc/modules/freevc/speaker_encoder/speaker_encoder.py | 11 | CODE | |
| LOW | TTS/vc/modules/freevc/speaker_encoder/audio.py | 1 | CODE | |
| LOW | TTS/vc/modules/freevc/speaker_encoder/audio.py | 8 | CODE | |
| LOW | TTS/vc/modules/freevc/speaker_encoder/audio.py | 10 | CODE | |
| LOW | TTS/tts/layers/__init__.py | 1 | CODE | |
| LOW | TTS/tts/layers/bark/hubert/kmeans_hubert.py | 10 | CODE | |
| LOW | TTS/tts/layers/bark/hubert/kmeans_hubert.py | 11 | CODE | |
| LOW | TTS/tts/layers/vits/discriminator.py | 5 | CODE | |
| LOW | TTS/tts/layers/xtts/gpt_inference.py | 1 | CODE | |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 7 | CODE | |
| LOW | TTS/tts/layers/xtts/gpt.py | 4 | CODE | |
| LOW | TTS/tts/layers/xtts/trainer/gpt_trainer.py | 8 | CODE | |
| LOW | TTS/tts/layers/xtts/trainer/dataset.py | 1 | CODE | |
| LOW | TTS/tts/layers/tortoise/arch_utils.py | 3 | CODE | |
| LOW | TTS/tts/datasets/__init__.py | 9 | CODE | |
| LOW | TTS/tts/datasets/__init__.py | 10 | CODE | |
| LOW | TTS/tts/utils/text/__init__.py | 1 | CODE | |
| LOW | TTS/tts/models/base_tts.py | 17 | CODE | |
| LOW | TTS/tts/configs/__init__.py | 1 | CODE | |
| LOW | TTS/tts/configs/__init__.py | 2 | CODE | |
| LOW | TTS/tts/configs/__init__.py | 3 | CODE | |
| LOW | TTS/vocoder/datasets/__init__.py | 8 | CODE | |
| LOW | TTS/vocoder/datasets/__init__.py | 8 | CODE | |
| LOW | TTS/demos/xtts_ft_demo/xtts_demo.py | 7 | CODE | |
| LOW | TTS/demos/xtts_ft_demo/xtts_demo.py | 8 | CODE | |
| LOW | TTS/demos/xtts_ft_demo/utils/formatter.py | 6 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tests/inputs/test_tacotron2_config.json | 41 | }, | COMMENT |
| LOW | tests/inputs/test_speedy_speech.json | 41 | }, | COMMENT |
| LOW | tests/inputs/test_tacotron_bd_config.json | 41 | }, | COMMENT |
| LOW | tests/inputs/test_glow_tts.json | 41 | COMMENT | |
| LOW | tests/inputs/test_align_tts.json | 41 | }, | COMMENT |
| LOW | tests/inputs/test_tacotron_config.json | 41 | }, | COMMENT |
| LOW | docs/source/conf.py | 1 | # Configuration file for the Sphinx documentation builder. | COMMENT |
| LOW | recipes/ljspeech/tacotron2-DCA/train_tacotron_dca.py | 61 | output_path=output_path, | COMMENT |
| LOW | recipes/ljspeech/vits_tts/train_vits.py | 41 | cudnn_benchmark=False, | COMMENT |
| LOW | recipes/ljspeech/tacotron2-DDC/train_tacotron_ddc.py | 61 | COMMENT | |
| LOW | recipes/vctk/tacotron2-DDC/train_tacotron2-ddc.py | 61 | optimizer="Adam", | COMMENT |
| LOW | recipes/vctk/tacotron2/train_tacotron2.py | 61 | optimizer="Adam", | COMMENT |
| LOW | recipes/thorsten_DE/vits_tts/train_vits.py | 61 | COMMENT | |
| LOW | recipes/thorsten_DE/glow_tts/train_glowtts.py | 61 | # INITIALIZE THE AUDIO PROCESSOR | COMMENT |
| LOW | recipes/thorsten_DE/tacotron2-DDC/train_tacotron_ddc.py | 81 | # INITIALIZE THE TOKENIZER | COMMENT |
| LOW | TTS/bin/train_encoder.py | 141 | labels.shape | COMMENT |
| LOW | TTS/encoder/utils/prepare_voxceleb.py | 1 | # coding=utf-8 | COMMENT |
| LOW | TTS/encoder/models/base_encoder.py | 41 | # win_length=audio_config["win_length"], | COMMENT |
| LOW | TTS/tts/layers/losses.py | 401 | # Limit the mutual information between the data and latent space by the variational capacity limit | COMMENT |
| LOW | TTS/tts/layers/xtts/zh_num2words.py | 841 | # chntext = self.chntext | COMMENT |
| LOW | TTS/tts/utils/monotonic_align/setup.py | 1 | # from distutils.core import setup | COMMENT |
| LOW | TTS/tts/utils/text/punctuation.py | 161 | # if __name__ == "__main__": | COMMENT |
| LOW | TTS/tts/utils/text/bangla/phonemizer.py | 21 | # "ওয়া" : "ওআ", | COMMENT |
| LOW | TTS/tts/utils/text/phonemizers/ja_jp_phonemizer.py | 61 | return True | COMMENT |
| LOW | TTS/tts/utils/text/phonemizers/multi_phonemizer.py | 61 | # ph = MultiPhonemizer({"tr": "espeak", "en-us": "", "de": "gruut", "zh-cn": ""}) | COMMENT |
| LOW | TTS/tts/utils/text/phonemizers/zh_cn_phonemizer.py | 61 | # print(e.is_available()) | COMMENT |
| LOW | TTS/tts/configs/__init__.py | 1 | import importlib | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | recipes/ljspeech/xtts_v1/train_gpt_xtts.py | 38 | # Define the path where XTTS v1.1.1 files will be downloaded | COMMENT |
| MEDIUM | recipes/ljspeech/xtts_v2/train_gpt_xtts.py | 38 | # Define the path where XTTS v2.0.1 files will be downloaded | COMMENT |
| MEDIUM | recipes/vctk/yourtts/train_yourtts.py | 50 | # Define the number of threads used during the audio resampling | COMMENT |
| MEDIUM | …S/vc/modules/freevc/speaker_encoder/speaker_encoder.py | 23 | # Define the network | COMMENT |
| MEDIUM | TTS/tts/layers/tacotron/capacitron_layers.py | 114 | # Create the post conv width mask based on the valid lengths of the output of the convolution. | COMMENT |
| MEDIUM | TTS/demos/xtts_ft_demo/utils/gpt_train.py | 42 | # Define the path where XTTS v2.0.1 files will be downloaded | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | TTS/encoder/utils/prepare_voxceleb.py | 16 | # ============================================================================== | COMMENT |
| MEDIUM | TTS/vc/modules/freevc/wavlm/modules.py | 1 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | TTS/vc/modules/freevc/wavlm/modules.py | 8 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | TTS/vc/modules/freevc/wavlm/wavlm.py | 1 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | TTS/vc/modules/freevc/wavlm/wavlm.py | 8 | # -------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | TTS/tts/layers/xtts/trainer/gpt_trainer.py | 325 | trainer.model.module.xtts.gpt.train() | CODE |
| CRITICAL | TTS/tts/models/bark.py | 209 | **kwargs: Model specific inference settings used by `generate_audio()` and `TTS.tts.layers.bark.inference_fu | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | recipes/multilingual/cml_yourtts/train_yourtts.py | 191 | resblock_type_decoder="2", # In the paper, we accidentally trained the YourTTS using ResNet blocks type 2, if you l | CODE |
| MEDIUM | recipes/multilingual/cml_yourtts/train_yourtts.py | 199 | # General training config, here you can change the batch size and others useful parameters | COMMENT |
| MEDIUM | recipes/vctk/yourtts/train_yourtts.py | 134 | resblock_type_decoder="2", # In the paper, we accidentally trained the YourTTS using ResNet blocks type 2, if you l | CODE |
| MEDIUM | recipes/vctk/yourtts/train_yourtts.py | 142 | # General training config, here you can change the batch size and others useful parameters | COMMENT |
| MEDIUM | TTS/tts/layers/xtts/trainer/gpt_trainer.py | 59 | # you can also change the upload destination file name model_info.upload_filename or check the local file size with | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | recipes/multilingual/cml_yourtts/train_yourtts.py | 53 | # Check if LibriTTS dataset is not already downloaded, if not download it | COMMENT |
| LOW | recipes/multilingual/cml_yourtts/train_yourtts.py | 145 | # Check if the embeddings weren't already computed, if not compute it | COMMENT |
| LOW | recipes/vctk/yourtts/train_yourtts.py | 52 | # Check if VCTK dataset is not already downloaded, if not download it | COMMENT |
| LOW | recipes/vctk/yourtts/train_yourtts.py | 94 | # Check if the embeddings weren't already computed, if not compute it | COMMENT |
| LOW | TTS/tts/layers/xtts/perceiver_encoder.py | 88 | # Check if mask exists and expand to compatible shape | COMMENT |
| LOW | TTS/tts/layers/xtts/perceiver_encoder.py | 95 | # Check if there is a compatible device for flash attention | COMMENT |
| LOW | TTS/tts/layers/xtts/gpt.py | 529 | # Set paddings to -1 to ignore them in loss | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TTS/utils/manage.py | 463 | def _update_paths(self, output_path: str, config_path: str) -> None: | CODE |
| LOW | TTS/vc/modules/freevc/wavlm/wavlm.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | TTS/tts/layers/bark/load_model.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | TTS/tts/layers/bark/inference_funcs.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | TTS/tts/utils/languages.py | 64 | def set_language_ids_from_config(self, c: Coqpit) -> None: | CODE |
| LOW | TTS/tts/utils/managers.py | 57 | def set_ids_from_data(self, items: List, parse_key: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | recipes/multilingual/cml_yourtts/train_yourtts.py | 132 | # Add here all datasets configs Note: If you want to add new datasets, just add them here and it will automatically comp | COMMENT |
| LOW | recipes/vctk/yourtts/train_yourtts.py | 81 | # Add here all datasets configs, in our case we just want to train with the VCTK dataset then we need to add just VCTK. | COMMENT |
| MEDIUM | TTS/utils/download.py | 205 | f"""[!] in order to download kaggle datasets, you need to have a kaggle api token stored in your {os.path.jo | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TTS/bin/train_encoder.py | 329 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | TTS/tts/layers/tortoise/audio_utils.py | 31 | print(f"Error with {audiopath}. Max={audio.max()} min={audio.min()}") | CODE |
| MEDIUM | TTS/tts/models/xtts.py | 85 | print(f"Error with {audiopath}. Max={audio.max()} min={audio.min()}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/text_tests/test_phonemizer.py | 218 | # TODO: implement ZH phonemizer tests | STRING |
| LOW | TTS/tts/layers/feed_forward/decoder.py | 226 | # TODO: implement multi-speaker | COMMENT |
| LOW | TTS/tts/models/delightful_tts.py | 1560 | # TODO: implement saving of d_vectors | COMMENT |