Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-10-2013, 07:11 PM   #1
jcsalomon
Zealot
jcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheese
 
jcsalomon's Avatar
 
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
Markup for TTS?

Does any sort of standardized HTML mark-up exist that can supply pronunciation hints to a speech-synthesis (TTS) engine? This is mainly useful for foreign or science-fiction-y names, or for things like stuttering in dialog.

(Using FBReader on Android with the Hyperionics TTS plugin and the Ivona engine, the text “but sh-she said…” is synthesized as “but ess aich she said.”)

Or even in plain English: I’d like to coax a piece of coax cable through a small hole.

Do any of the TTS-capable EPUB readers implement a non-standard method for achieving this?
jcsalomon is offline   Reply With Quote
Old 06-10-2013, 09:54 PM   #2
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
The only epub reader I had which could do TTS was the Pocket EZ reader, and it was pretty horrible. As for coax as noun vs coax as verb, there are lots of other examples in English; I'm not sure how many TTS systems try to parse the sentences before speaking. It's been 25 years since I worked seriously with TTS, so I'm not up to date. Ideally, one should be able to drop into the IPA character subset to force a particular pronunciation and/or set up a lookup dictionary. Maybe an addition to Festival?
pholy is offline   Reply With Quote
Advert
Old 06-11-2013, 01:47 AM   #3
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
You only have to wait for EPUB3 general acceptance – it's just around the corner now, y'know
From IDPF epub3 overview:
Quote:
EPUB 3 provides the following text-to-speech (TTS) facilities for controlling aspects of speech synthesis, such as pronunciation, prosody and voice characteristics:

Pronunciation Lexicons
The inclusion of generic pronunciation lexicons using the W3C PLS format [PLS] enables Authors to provide pronunciation rules that apply to the entire EPUB Publication. Refer to PLS Documents [ContentDocs30] for more information.

Inline SSML Phonemes
The incorporation of SSML phonemes functionality [SSML] directly into a EPUB Content Document [ContentDocs30] enables fine-grained pronunciation control, taking precedence over default pronunciation rules and/or referenced pronunciation lexicons (as provided by the PLS format mentioned above). Refer to SSML Attributes [ContentDocs30] for more information.

CSS Speech Features
The inclusion of a select set of features from the CSS 3 Speech Module [CSS3Speech] (previously known as CSS 2.1 Aural Stylesheets [CSS2.1]) enables Authors to control further speech synthesis characteristics. Refer to CSS 3.0 Speech [ContentDocs30] for more information.
On Android, I've been impressed with CoolReader+Ivona – not that it knows the difference between coax and coax, but even so, I think the combination gives LibriVox a good run for its money.

Edit: Just found out that Ivona has support for SSML. Haven't found any reader that supports it, though, but it might be a fun exercise to make an epub2speech converter with SSML support.

Last edited by SBT; 06-11-2013 at 02:17 AM.
SBT is offline   Reply With Quote
Old 06-18-2013, 06:33 PM   #4
jcsalomon
Zealot
jcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheese
 
jcsalomon's Avatar
 
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
And by the same token as the paucity of EPUB3 readers, there probably aren’t many EPUB books “in the wild” with PLS dictionaries or SSML phonemics. I’d be interested to find any, actually.
jcsalomon is offline   Reply With Quote
Old 06-19-2013, 11:47 AM   #5
jcsalomon
Zealot
jcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheese
 
jcsalomon's Avatar
 
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
There is, however, a sample document at code.google.com/p/epub-samples/wiki/SamplesListing#georgia using these techniques.
jcsalomon is offline   Reply With Quote
Advert
Reply

Tags
markup, tts


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DTBook markup? frquixote Calibre 10 03-05-2014 06:17 PM
Problem with TTS on OnyxBoox M92 "invalid TTS data" Marion Juin Onyx Boox 1 03-27-2013 05:56 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
new recipe for MarkUp faber1971 Recipes 0 12-16-2011 05:04 AM
Textile markup p3aul Conversion 4 05-17-2011 05:49 PM


All times are GMT -4. The time now is 01:51 AM.


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