so_vits_svc_fork.preprocessing package¶ Subpackages¶ so_vits_svc_fork.preprocessing.config_templates package Submodules¶ so_vits_svc_fork.preprocessing.preprocess_classify module¶ so_vits_svc_fork.preprocessing.preprocess_flist_config module¶ so_vits_svc_fork.preprocessing.preprocess_flist_config.preprocess_config(input_dir: Path | str, train_list_path: Path | str, val_list_path: Path | str, test_list_path: Path | str, config_path: Path | str, config_name: str)[source]¶ so_vits_svc_fork.preprocessing.preprocess_hubert_f0 module¶ so_vits_svc_fork.preprocessing.preprocess_hubert_f0.preprocess_hubert_f0(input_dir: Path | str, config_path: Path | str, n_jobs: int | None = None, f0_method: Literal['crepe', 'crepe-tiny', 'parselmouth', 'dio', 'harvest'] = 'dio', force_rebuild: bool = False)[source]¶ so_vits_svc_fork.preprocessing.preprocess_resample module¶ so_vits_svc_fork.preprocessing.preprocess_resample.is_relative_to(path: Path, *other)[source]¶ Return True if the path is relative to another path or False. Python 3.9+ has Path.is_relative_to() method, but we need to support Python 3.8. so_vits_svc_fork.preprocessing.preprocess_resample.preprocess_resample(input_dir: Path | str, output_dir: Path | str, sampling_rate: int, n_jobs: int = -1, *, top_db: int = 30, frame_seconds: float = 0.1, hop_seconds: float = 0.05) → None[source]¶ so_vits_svc_fork.preprocessing.preprocess_speaker_diarization module¶ so_vits_svc_fork.preprocessing.preprocess_split module¶ so_vits_svc_fork.preprocessing.preprocess_split.preprocess_split(input_dir: Path | str, output_dir: Path | str, sr: int, *, max_length: float = 10.0, top_db: int = 30, frame_seconds: float = 0.5, hop_seconds: float = 0.1, n_jobs: int = -1)[source]¶ so_vits_svc_fork.preprocessing.preprocess_utils module¶ so_vits_svc_fork.preprocessing.preprocess_utils.check_hubert_min_duration(audio: ndarray, sr: int) → bool[source]¶