View Single Post
Old 10-21-2020, 01:04 AM   #32
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: 45,481
Karma: 28000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I looked into it briefly and replacing all of tts_typelib and the various COM wrappers is too much work. However, from looking at the actual plugin code, what your plugin needs seems to be:

1) Get list of available voice names
2) Get list of available audio output names
3) Play specified text with a given voice name and audio output name at s specified volume and rate
4) Pause/resume playback
5) Same as 3 but record it to a file


Creating a wrapper that does these is not too bad. Please confirm this is all that's needed.
kovidgoyal is offline   Reply With Quote