We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78a952a commit f032b38Copy full SHA for f032b38
paddlespeech/server/engine/tts/python/tts_engine.py
@@ -147,7 +147,7 @@ def postprocess(self,
147
format(original_fs))
148
else:
149
wav_tar_fs = librosa.resample(
150
- np.squeeze(wav), original_fs, target_fs)
+ np.squeeze(wav), orig_sr=original_fs, target_sr=target_fs)
151
logger.debug(
152
"The sample rate of model is {}Hz and the target sample rate is {}Hz. Converting the sample rate of the synthesized audio successfully.".
153
format(original_fs, target_fs))
0 commit comments