Voice Clone Tutorial Scripts (Patreon)
Downloads
Content
Tutorial published : https://youtu.be/OiMRlqcgDL0
GitHub file link that has many instructions (the one used in the video) : https://github.com/FurkanGozukara/Stable-Diffusion/blob/main/Tutorials/Deep-Voice-Clone-Tutorial-Tortoise-TTS.md
pre_process_given_text_file. py will be used by process_given_speech_text.bat automatically to preprocess and fix prepare your speech text file.
process_given_speech_text.bat will automate your process. just drag and drop your speech txt file into it.
epoch_comparison.bat will automate your process and will generate speech files from given text file by using all of the checkpoint files you put in the given folder. it also works with drag and drop the text file
put both files into the same folder. Don't forget to modify necessary variables as explained in the GitHub repo and in the tutorial video
setting up the necessary variables are mandatory in the given files so check out video or GitHub page
fixDuration.py this is a new file. With this file you can remove bigger than any length sounds. For example it will remove above 12 seconds right now. Run this script inside the training set folder which have wavs folder, train.txt and valid.txt files. Moreover in ozen toolkit, you can change config.ini file and set seg_min_duration = 5.0 for removing smaller than 5 second speech files automatically. But this will also make you lose a lot of speech parts. You can change valid_ratio , seg_onset , and seg_offset values in ozen toolkit config.ini to see what kind of effects they are making when pre processing given speech audio file.