upstream version 1.2.2
[debian/freetts] / demo / JSAPI / Player / test1.jsml
1 <?xml version="1.0"?>
2
3 <!--
4
5 /**
6  * Copyright 2001 Sun Microsystems, Inc.
7  * 
8  * See the file "license.terms" for information on usage and
9  * redistribution of this file, and for a DISCLAIMER OF ALL 
10  * WARRANTIES.
11  */
12
13 -->
14
15 <jsml lang="en.us">
16
17 <engine name="guisynthesizer,sapiSynth" data="For GUI and SAPI synthesizers." mark="engineTag">For all other synthesizers.</engine>
18
19 <break time="5s"/>
20 <marker mark="MARKER TEST"/>
21
22 <!-- comment -->
23
24 <!-- Make sure that non-JSML elements are ignored -->
25 <test>here</test>
26
27 <!-- Test division and sayas elements (though not all
28 capabilities of either of them) -->
29 <div type="para">
30 Today's date is <sayas class="date" mode="mdy">1/7/99</sayas>.
31 </div>
32
33 <!-- Simple phoneme element -->
34 The word of the day is <phoneme>kro:k</phoneme>.
35
36 <!-- Simple examples of CDATA -->
37 Send email to <![CDATA[<joe.doe@acme.com>]]>.
38
39 <!-- CDATA vs. XML element -->
40 <![CDATA[<greeting>Hello, world!</greeting>]]>
41 <greeting>Hello, world!</greeting>
42
43 <!-- Try some prosodic controls -->
44 <prosody pitch="">This is a <emphasis level="strong" mark="atEmp"> new test 
45  of <break/> <prosody rate="-10%">emphasis</prosody></emphasis>.</prosody>
46 <prosody pitch=" +20 % " rate="+20    " range="+12.2">This is a test.</prosody>
47 <prosody volume="1.5" pitch="205">This <prosody pitch="reset">is a </prosody>test.</prosody>
48
49 <!-- Final simple test -->
50 <div type="para" mark="!HERE!">This is a test.</div>
51 </jsml>