How to get TTS output as mp3

Hello Team,

A project I am currently working on uses the non-native voice web
speech API TTS. The issue is that I require the output as MP3 and I was
unable to find a way to directly get the output as an Mp3 file.

Is there any way to apply TTS on some text and get the output as an mp3
file? Please advise.

Thanking you in anticipation.

*KC*

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Received on Monday, 26 April 2021 23:10:37 UTC