You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a sentence too long (separate by comma) some part of it will missing during the audio generation
Example:
On April 1, 1942, Desmond Doss joined the United States Army. Little did he realize that three and a half years later, he would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire. Of the 16 million men in uniform during World War 2, only 431 received the Congressional Medal of Honor.
The missing part will be: he would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire.
To work around, shorten the sentence by replace comma with full stop:
On April 1, 1942, Desmond Doss joined the United States Army. Little did he realize that three and a half years later. He would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire. Of the 16 million men in uniform during World War 2, only 431 received the Congressional Medal of Honor.
To Reproduce
Run below command
tts --text "On April 1, 1942, Desmond Doss joined the United States Army. Little did he realize that three and a half years later, he would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire. Of the 16 million men in uniform during World War 2, only 431 received the Congressional Medal of Honor. " --model_name "tts_models/en/ljspeech/tacotron2-DDC_ph" --out_path /var/data/The-unlikely-hero5.wav
Expected behavior
Able to generate whole audio file
Logs
ubuntu@ubuntu:~$ tts --text "On April 1, 1942, Desmond Doss joined the United States Army. Little did he realize that three and a half years later, he would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire. Of the 16 million men in uniform during World War 2, only 431 received the Congressional Medal of Honor. " --model_name "tts_models/en/ljspeech/tacotron2-DDC_ph" --out_path /opt/tts_output/The-unlikely-hero5.wav
> tts_models/en/ljspeech/tacotron2-DDC_ph is already downloaded.
> vocoder_models/en/ljspeech/univnet is already downloaded.
> Using model: Tacotron2
> Setting up Audio Processor...
|> sample_rate:22050
|> resample:False
|> num_mels:80
|> log_func:np.log10
|> min_level_db:-100
|> frame_shift_ms:None
|> frame_length_ms:None
|> ref_level_db:20
|> fft_size:1024
|> power:1.5
|> preemphasis:0.0
|> griffin_lim_iters:60
|> signal_norm:True
|> symmetric_norm:True
|> mel_fmin:50.0
|> mel_fmax:7600.0
|> pitch_fmin:0.0
|> pitch_fmax:640.0
|> spec_gain:1.0
|> stft_pad_mode:reflect
|> max_norm:4.0
|> clip_norm:True
|> do_trim_silence:True
|> trim_db:60
|> do_sound_norm:False
|> do_amp_to_db_linear:True
|> do_amp_to_db_mel:True
|> do_rms_norm:False
|> db_level:None
|> stats_path:/home/xstts/.local/share/tts/tts_models--en--ljspeech--tacotron2-DDC_ph/scale_stats.npy
|> base:10
|> hop_length:256
|> win_length:1024
> Model's reduction rate `r` is set to: 2 > Vocoder Model: univnet > Setting up Audio Processor... | > sample_rate:22050 | > resample:False | > num_mels:80 | > log_func:np.log10 | > min_level_db:-100 | > frame_shift_ms:None | > frame_length_ms:None | > ref_level_db:20 | > fft_size:1024 | > power:1.5 | > preemphasis:0.0 | > griffin_lim_iters:60 | > signal_norm:True | > symmetric_norm:True | > mel_fmin:50.0 | > mel_fmax:7600.0 | > pitch_fmin:0.0 | > pitch_fmax:640.0 | > spec_gain:1.0 | > stft_pad_mode:reflect | > max_norm:4.0 | > clip_norm:True | > do_trim_silence:True | > trim_db:60 | > do_sound_norm:False | > do_amp_to_db_linear:True | > do_amp_to_db_mel:True | > do_rms_norm:False | > db_level:None | > stats_path:/home/xstts/.local/share/tts/vocoder_models--en--ljspeech--univnet/scale_stats.npy | > base:10 | > hop_length:256 | > win_length:1024 > Generator Model: univnet_generator > Discriminator Model: univnet_discriminator > Text: On April 1, 1942, Desmond Doss joined the United States Army. Little did he realize that three and a half years later, he would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire. Of the 16 million men in uniform during World War 2, only 431 received the Congressional Medal of Honor. > Text splitted to sentences.['On April 1, 1942, Desmond Doss joined the United States Army.', 'Little did he realize that three and a half years later, he would be standing on the White House lawn, receiving the nations highest award forhis bravery and courage under fire.', 'Of the 16 million menin uniform during World War 2, only 431 received the Congressional Medal of Honor.']ɔn eɪpɹəl wʌn, naɪntin fɔɹti tu, dɛzmənd dɔs d͡ʒɔɪnd ðə junaɪtɪd steɪts ɑɹmi. [!] Character '͡' not found in the vocabulary. Discarding it.[W NNPACK.cpp:51] Could not initialize NNPACK! Reason: Unsupported hardware. > Processing time: 18.15455675125122 > Real-time factor: 0.9681247735486627 > Saving output to /opt/tts_output/The-unlikely-hero5.wav
Describe the bug
If a sentence too long (separate by comma) some part of it will missing during the audio generation
Example:
On April 1, 1942, Desmond Doss joined the United States Army. Little did he realize that three and a half years later, he would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire. Of the 16 million men in uniform during World War 2, only 431 received the Congressional Medal of Honor.
The missing part will be: he would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire.
To work around, shorten the sentence by replace comma with full stop:
On April 1, 1942, Desmond Doss joined the United States Army. Little did he realize that three and a half years later. He would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire. Of the 16 million men in uniform during World War 2, only 431 received the Congressional Medal of Honor.
To Reproduce
Run below command
tts --text "On April 1, 1942, Desmond Doss joined the United States Army. Little did he realize that three and a half years later, he would be standing on the White House lawn, receiving the nations highest award for his bravery and courage under fire. Of the 16 million men in uniform during World War 2, only 431 received the Congressional Medal of Honor. " --model_name "tts_models/en/ljspeech/tacotron2-DDC_ph" --out_path /var/data/The-unlikely-hero5.wav
Expected behavior
Able to generate whole audio file
Logs
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: