[Webkit-unassigned] [Bug 12367] New: SSML and Macintalk transformations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 22 11:11:53 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12367

           Summary: SSML and Macintalk transformations
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: contact at nickshanks.com


I thought I had submitted these ages ago, but I can't find them anymore so
maybe I never did. Anyway, at the following URLs are an XHTML to SSML
transformation for passing to Ceptral's speech synthesiser ‘Swift’, and an SSML
to AppleTalk transformation for passing to Macintalk if Swift is unavailable or
the user prefers Macintalk. Neither transformations are complete and feedback
is strongly welcome.

http://web.nickshanks.com/stylesheets/xhtml2ssml.xslt
http://web.nickshanks.com/stylesheets/ssml2macintalk.xslt

Notable features:
• Preservation of xml:lang
• Title attribute of abbreviations and acronyms read out
• Omission of "http://www." at the start of web links.
• Pauses, emphasis and de-emphasis for tags like <br>, <em> and <small>
• Assuming you declare the ssml namespace,
"http://www.w3.org/2001/10/synthesis", you can encode pronunciations directly
into your XHTML:

The place where I live is called <ssml:phoneme alphabet="x-apple-macintalk"
ph="hAXrtfIXdSIXr"><ssml:phoneme ph="h a1 r t f ah0 d sh ah0 r"><!--
alphabet="x-cepstral-swift" -->Hertfordshire</ssml:phoneme></ssml:phoneme>

To demonstrate the difference, select the following text and have the speech
engine read it out:
[[PHON]] hAXrtfIXdSIXr [[TEXT]] Hertfordshire

n.b: In its current version Swift ignores phoneme elements with an alphabet
attribute. I reported this and suggest they use x-cepstral-swift. It also reads
out DOCTYPES, which is why the SSML transformation doesn't output one.

Notable bugs:
• I don't know how to return pitch, volume and emphasis values back to their
pre-adjustment state in Macintalk (which uses a state machine rather than a
tree), e.g:
<em> fe <em> fi </em> fo </em> fum
would become:
[[EMPH +]] fe [[EMPH +]] fi fo fum
not
[[EMPH +]] fe [[EMPH +]] fi [[EMPH -]] fo [[EMPH -]] fum


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list