Thanks for the project!!! It works extremely well!!! Slight suggestion: add descriptions to variables section

#1
by PhoenixStormJr - opened

Even though it works extremely well, the original has descriptions added to it. with #@markdown it would be helpful to add descriptions to the variables. Instead of just having the variables, here's my change to your google colab code, under the Inference section

#@title Inference
%cd /content/drive/MyDrive/project-main
#@markdown Transpose (integer, number of semitones, raise by an octave: 12, lower by an octave: -12) basically pitch change:
transpose = 0#@param {type:"integer"}
input_path = "audios/someguy.mp3"#@param {type:"string"}
index_path = "logs/My-Voice/added_IVF439_Flat_nprobe_1_My-Voice_v2.index"#@param {type:"string"}
#@markdown Select the pitch extraction algorithm ('pm': faster extraction but lower-quality speech; 'harvest': better bass but extremely slow; 'crepe': better quality but GPU intensive), 'rmvpe': best quality, and little GPU requirement
f0_method = "rmvpe" # @param ["rmvpe", "pm", "harvest"]
opt_path = "audios/cli_output.wav"#@param {type:"string"}
model_name = "My-Voice.pth"#@param {type:"string"}
#@markdown Index-Rate/Search-feature-ratio (controls accent strength, too high has artifacting):
index_rate = 0.66 # @param {type:"slider", min:0, max:1, step:0.01}
#@markdown Adjust the volume envelope scaling. Closer to 0, the more it mimicks the volume of the original vocals. Can help mask noise and make volume sound more natural when set relatively low. Closer to 1 will be more of a consistently loud volume:
volume_normalization = 0 # @param {type:"slider", min:0, max:1, step:0.01}
#@markdown Protect voiceless consonants and breath sounds to prevent artifacts such as tearing in electronic music. Set to 0.5 to disable. Decrease the value to increase protection, but it may reduce indexing accuracy:
consonant_protection = 0 # @param {type:"slider", min:0, max:1, step:0.01}

Just added descriptions of what they do.

Anyways, I really appreciate everything you've done!!! This is extremely well, I'm going to use this project to create an entire fan dub of a television series! I've already started uploading models created with this, thanks so much!

PhoenixStormJr changed discussion title from Thanks for the project!!! It works extremely well!!! I have no problems, just a suggestion. to Thanks for the project!!! It works extremely well!!! Slight suggestion: add descriptions to variables section

Sign up or log in to comment