Skip to content
Discussion options

You must be logged in to vote

I've solved this...
If anyone has a similar issue, then you just import pytorch and use the following command:
torchaudio.save(os.path.join(OUTPUT_DIRECTORY, NAME), pcm_audio.squeeze(0).cpu(), 24000)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Pandaily591
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant