MicroPython library for text to speech conversion #14378
Replies: 5 comments 4 replies
-
Any particular language? Are you expecting the quality of online TTS systems? Hardware is typically not so good. If English (or Mandarin) TTS with some limitations works for you, I wrote a crude library to drive a YuTone VoiceTX SYN6988 board: YuTone VoiceTX SYN6988. These are fairly cheap, and include an amplifier. It only has one voice. Much more expensive (and possibly discontinued) is the Parallax EMIC2 board. It runs an embedded version of DECTalk 5. It uses a simple serial interface. It sounds a little robotic, but the advantage that DECTalk has for real TTX applications is that it can still be intelligible at very high words-per-minute values. (I seem to remember that the micro:bit version of MicroPython included the (ancient, terrible) "SAM" TTS system. It really doesn't sound like words at all.) |
Beta Was this translation helpful? Give feedback.
-
MicroPython on the Micro:bit has the |
Beta Was this translation helpful? Give feedback.
-
Yes. You can use MicroPython TTS module. |
Beta Was this translation helpful? Give feedback.
-
Not free, but you don't have to pay for the first $200. https://azure.microsoft.com/en-us/products/ai-services/text-to-speech |
Beta Was this translation helpful? Give feedback.
-
https://github.com/jacklinquan/micropython-samtts A Python port of Software Automatic Mouth Text-To-Speech program. SAM is the Text-To-Speech (TTS) software SAM (Software Automatic Mouth) for the Commodore C64 published in the year 1982 by Don't Ask Software (now SoftVoice, Inc.). This project is an unofficial Python port of SAM. It is translated by hand from the adaption to C by Stefan Macke and the refactorings by Vidar Hokstad. As @scruss mentioned, its sound quality is not that good. But I believe it has its use. It adds text-to-speech functionality to very constrained hardware. |
Beta Was this translation helpful? Give feedback.
-
I am trying to write a MicroPython code to convert text to speech using a esp32 board, LM386 circuit and a speaker, but i can't find a library for it and i also can't use API because most of them are paid. Is there any library i can use in MicroPython ?
Beta Was this translation helpful? Give feedback.
All reactions