Download lib/infer_pack/modules/F0Predictor/F0Predictor.py from g8nz/Advanced-RVC-Inference: direct link, hf CLI and curl.
- Browser
- Download file 426 Bytes
-
https://huggingface.co/spaces/g8nz/Advanced-RVC-Inference/resolve/main/lib/infer_pack/modules/F0Predictor/F0Predictor.py
- Command line
-
hf download hf://spaces/g8nz/Advanced-RVC-Inference/lib/infer_pack/modules/F0Predictor/F0Predictor.py
-
curl -L -o F0Predictor.py https://huggingface.co/spaces/g8nz/Advanced-RVC-Inference/resolve/main/lib/infer_pack/modules/F0Predictor/F0Predictor.py
426 Bytes
| class F0Predictor(object): | |
| def compute_f0(self, wav, p_len): | |
| """ | |
| input: wav:[signal_length] | |
| p_len:int | |
| output: f0:[signal_length//hop_length] | |
| """ | |
| pass | |
| def compute_f0_uv(self, wav, p_len): | |
| """ | |
| input: wav:[signal_length] | |
| p_len:int | |
| output: f0:[signal_length//hop_length],uv:[signal_length//hop_length] | |
| """ | |
| pass | |