|
|
@ -182,7 +182,7 @@ def main():
|
|
|
|
speed = wav.size / t.elapse
|
|
|
|
speed = wav.size / t.elapse
|
|
|
|
rtf = fs / speed
|
|
|
|
rtf = fs / speed
|
|
|
|
|
|
|
|
|
|
|
|
sf.write(output_dir / (utt_id + ".wav"), wav, samplerate=24000)
|
|
|
|
sf.write(output_dir / (utt_id + ".wav"), wav, samplerate=fs)
|
|
|
|
print(
|
|
|
|
print(
|
|
|
|
f"{utt_id}, mel: {am_output_data.shape}, wave: {wav.shape}, time: {t.elapse}s, Hz: {speed}, RTF: {rtf}."
|
|
|
|
f"{utt_id}, mel: {am_output_data.shape}, wave: {wav.shape}, time: {t.elapse}s, Hz: {speed}, RTF: {rtf}."
|
|
|
|
)
|
|
|
|
)
|
|
|
|