![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 2206208
Join Date: Aug 2009
Device: none
|
E-book specification supporting multiple voices for TTS
As much as I enjoy reading, I also find I like doing text-to-speech as well, so I was thinking it would be interesting if an ebook spec would also support multiple voices for text-to-speech, so if you had a program read it to you, it could do different voices for the narrator and characters. Of course, I know Audiobook creators wouldn't want something like that, but it still seems like a neat idea.
|
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,687
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I do like the idea. But I don't know of an existing TTS that would do this. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,968
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
It would have to be coded into the ebook. It would be beyond existing parsing for a text to speech to do much more than dialogue and narration. Even that would fail with Angela Thirkell and some others.
I did do a markup language for screen-play-scripts for an animation engine for sprite actions and dialogue in the late 1990s. It's likely some some game engine frameworks support it, so it can be already done as an app for iOS and Android, but not as a standalone ebook. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,934
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
|
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,003
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You might also want to check the EPUB 3.2 spec at 4.3.3 Text-to-Speech. As far as I can tell, there is no provision for multiple voices and the key word in that chunk of the spec is SHOULD which is generally translated as it's optional and no one is likely to implement it.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,968
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Using epub (of any type) for the intention to support multiple TTS voices is crazy, because even if it works (doubtful) it likely needs a phone or tablet with iOS or Android ANYWAY, so use an App framework. Not sure if Unreal Engine can do it.
|
![]() |
![]() |
![]() |
#7 |
Interested Bystander
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,726
Karma: 19728152
Join Date: Jun 2008
Device: Note 4, Kobo One
|
You'd really want a proper semantic language such as TEI, which does support this (https://tei-c.org/release/doc/tei-p5...f-speaker.html), rather than a layout language.
I did implement something like this as a toy version many years ago. |
![]() |
![]() |
![]() |
#8 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,968
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Absolutely. It's also not trivial to get right when there are bits with untagged speech. I've discovered ambiguities in texts when narrating an audio book. Really you need to at least record a narration to ensure you tag the dialogue properly, but it could be done using custom span class per speaker in HTML and then the CSS has speaker commented out for a regular renderer and your custom app then ignore the comment symbol.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Voices for TTS | edmond | Onyx Boox | 1 | 10-28-2015 02:58 PM |
Adding voices to TTS in M96 | bruja_phoenix | Onyx Boox | 0 | 08-15-2014 03:34 AM |
K3 Keyboard, TTS, 3.4, German voices | adrian142 | Amazon Kindle | 1 | 10-19-2012 01:48 AM |
TTS for K3 DXG- refuses to change voices | jmesar | Kindle Developer's Corner | 2 | 04-06-2012 11:36 PM |
Kindle free book: Tor/Forge Author Voices - Sampler | greencat | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 05-21-2011 02:58 AM |