Yesterday, 04:40 PM | #1 |
Grand Sorcerer
Posts: 6,215
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
TTS in calibre v7.18
With the introduction of the new Piper speech engine in v7.18 my 'TTS to MP3' plugin no longer works. It fails on
Code:
from calibre_extensions.winsapi import ISpVoice |
Yesterday, 10:42 PM | #2 |
creator of calibre
Posts: 44,314
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, the entire old TTS infrastructure is gone. No, there is currently no such method for piper but you can implement it yourself fairly easily, piper is a standalone executable bundled with calibre, you can run piper.exe --help to learn how to use it to convert text to speech.
You can also access the windows/macos/linux speech engines via the Qt Text to Speech classes (this is what calibre uses now for TTS with system speech engines). Finally I could add a method to the new TTSEngine classes in calibre to generate wav output, however, since calibre itself has no use for this, it's not a priority for me. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[HELP] Calibre TTS services... | momoe | Viewer | 5 | 08-13-2022 06:05 PM |
How to install "incompatible" apps to Boox M96+T68. IVONA TTS, ACAPELA TTS etc. | Booxtor | Onyx Boox | 24 | 04-19-2017 05:08 AM |
TTS Calibre Reader | jmesar | Calibre | 0 | 08-13-2013 06:14 PM |
GUI Launcher greyed out when TTS is on and does not come back when TTS is off | jmseight | Kindle Developer's Corner | 4 | 07-28-2012 02:48 AM |
Calibre? Reenable TTS? | Anarel | Calibre | 0 | 05-10-2010 09:47 PM |