paddlespeech.t2s.exps.ernie_sat.synthesize_e2e module

paddlespeech.t2s.exps.ernie_sat.synthesize_e2e.get_mlm_output(wav_path: str, old_str: str = '', new_str: str = '', source_lang: str = 'en', target_lang: str = 'en', duration_adjust: bool = True, fs: int = 24000, n_shift: int = 300)[source]
paddlespeech.t2s.exps.ernie_sat.synthesize_e2e.get_wav(wav_path: str, source_lang: str = 'en', target_lang: str = 'en', old_str: str = '', new_str: str = '', duration_adjust: bool = True, fs: int = 24000, n_shift: int = 300, task_name: str = 'synthesize')[source]
paddlespeech.t2s.exps.ernie_sat.synthesize_e2e.parse_args()[source]
paddlespeech.t2s.exps.ernie_sat.synthesize_e2e.prep_feats(wav_path: str, old_str: str = '', new_str: str = '', source_lang: str = 'en', target_lang: str = 'en', duration_adjust: bool = True, fs: int = 24000, n_shift: int = 300)[source]
paddlespeech.t2s.exps.ernie_sat.synthesize_e2e.prep_feats_with_dur(wav_path: str, old_str: str = '', new_str: str = '', source_lang: str = 'en', target_lang: str = 'en', duration_adjust: bool = True, fs: int = 24000, n_shift: int = 300)[source]
Returns:

np.ndarray: new wav, replace the part to be edited in original wav with 0 List[str]: new phones List[float]: mfa start of new wav List[float]: mfa end of new wav List[int]: masked mel boundary of original wav List[int]: masked mel boundary of new wav