M
M
mrsakura522022-02-01 19:39:44
speech synthesis
mrsakura52, 2022-02-01 19:39:44

How to translate voice from telegram?

I need to save the voice from the user, listen to it and respond. I save it in .ogg format from the telegram server but I don't understand how to convert the speech from this file to text. I am using SpeechRecognition. And I don't need to save the files all the time, I need to keep them in variables.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question