Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 04:40 PM   #1
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
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
I don't see any sign of winsapi anymore. Is ISpVoice gone for good? If so does the Piper speech engine have an equivalent Python class with similar methods, specifically .create_recording_wav()?
jackie_w is offline   Reply With Quote
Old Yesterday, 10:42 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 12:22 AM.


MobileRead.com is a privately owned, operated and funded community.