-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_input_file.ssml
More file actions
26 lines (24 loc) · 1.27 KB
/
example_input_file.ssml
File metadata and controls
26 lines (24 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!-- <?xml version="1.0"?> -->
<!-- <speak version="1.1" 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-synthesis11/synthesis.xsd"
xml:lang="en-US"> -->
<!-- Example -->
<!-- <speak>
Here are <say-as interpret-as="characters">SSML</say-as> samples.
I can pause <break time="1s"/>.
I can play a sound
<audio src="https://www.example.com/MY_MP3_FILE.mp3">didn't get your MP3 audio file</audio>.
I can speak in cardinals. Your number is <say-as interpret-as="cardinal">10</say-as>.
Or I can speak in ordinals. You are <say-as interpret-as="ordinal">10</say-as> in line.
Or I can even speak in digits. The digits for ten are <say-as interpret-as="characters">10</say-as>.
I can also substitute phrases, like the <sub alias="World Wide Web Consortium">W3C</sub>.
Finally, I can speak a paragraph with two sentences.
<p><s>This is sentence one.</s><s>This is sentence two.</s></p>
</speak> -->
<speak>
Hello everyone, Hope you are all well.
How are you, today? <break time="1s"/>
This is a voice synthesize application using the GCP creds and the Text to Speech API. <break time="0.5s"/>
</speak>