user2778768
user2778768

Reputation: 3

how to use Speech Synthesis Markup Language?

I want to create web base text to speech app. i am using this code but nothing happen plz help me

<?xml version="1.0"?>
<!DOCTYPE speak PUBLIC "-//W3C//DTD SYNTHESIS 1.0//EN"
                  "http://www.w3.org/TR/speech-synthesis/synthesis.dtd">
<speak version="1.0"
       xmlns="http://www.w3.org/2001/10/synthesis"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
                   http://www.w3.org/TR/speech-synthesis/synthesis.xsd"
       xml:lang="en-US">
  <p>
    <s>You have 4 new messages.</s>
    <s>The first is from Stephanie Williams and arrived at <break/> 3:45pm.
    </s>
    <s>
      The subject is <prosody rate="-20%">ski trip</prosody>
    </s>

  </p>
</speak>

Upvotes: 0

Views: 1022

Answers (1)

Paul Sweatte
Paul Sweatte

Reputation: 24627

Use a platform which supports SSML, such as:

  • FreeTTS/Java Web Start
  • Windows/SAPI
  • Windows Phone 8
  • iOS
  • An ePub3 reader

References

Upvotes: 1

Related Questions