View Single Post
Old 11-14-2024, 12:35 AM   #5
VeryWellAged
Eye pea vee for master
VeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavensVeryWellAged is a rising star in the heavens
 
VeryWellAged's Avatar
 
Posts: 24
Karma: 13632
Join Date: Nov 2014
Location: Philippines
Device: Android tablets, Android phones and PC's both Windows and Linux.
Quote:
Originally Posted by kovidgoyal View Post
If you want to add voices, you need to request them from the piper project. As for adding voice markup to a word document, I dont know of anyway to do that, sorry. What you can do is use a different named style in word for each character. Then when you convert this will become a unique class in calibre. You can then use the transform html tool to add the voice attribute to all tags with a specific class.
Thank you for the incredibly useful answer! As to styles... I thought I can do that. It wold have been cleaner that tags. But, no, it doesn't work ... Styles affect the entire paragraph and in a sentence like the following there are two speakers, a male and a female:
Pulling back, she smiles and says, OK, show me, Ira.

So no, styles do not work. It is not the first time I have run into the same issue with styles, as the limiation that they must impact an entire paragraph is a real problem. I wold have to create a book that could not be read but only listened to!

I will have to learn how to use the transform tool.

The Piper Project ... that's rhasspy / piper on GitHub, right? I've got no experience working with GitHub stuff, but will see what I can get done. I note that Microsoft's ReadAloud stuff has Filipio/English voices.

So and best wishes.

Last edited by VeryWellAged; 11-14-2024 at 01:38 AM.
VeryWellAged is offline   Reply With Quote