Basic <html-speaker> template


<html-speaker for="content" class="speaker speaker-rounded" data-start="PLAY" data-pause="PAUSE"></html-speaker>
<p id="content">
 Back in the old days of TF2 Sandbox, MSTR stood as the biggest center of in-game TF2 roleplaying in the community.
</p>

Back in the old days of TF2 Sandbox, MSTR stood as the biggest center of in-game TF2 roleplaying in the community.

Pitch


data-pitch="1.0"

It can range between 0 (lowest) and 2 (highest), with 1 being the default pitch.

<html-speaker for="content-wgsm" class="speaker speaker-standard" data-pitch="0.0" data-start="" data-pause="">Pitch: 0.0</html-speaker>
<html-speaker for="content-wgsm" class="speaker speaker-standard" data-pitch="1.0" data-start="" data-pause="">Pitch: 1.0</html-speaker>
<html-speaker for="content-wgsm" class="speaker speaker-standard" data-pitch="2.0" data-start="" data-pause="">Pitch: 2.0</html-speaker>
<p id="content-wgsm">
 WindowsGSM - A lightweight Game Server Manager works on Windows Platform.
</p>
Pitch: 0.0 Pitch: 1.0 Pitch: 2.0

WindowsGSM - A lightweight Game Server Manager works on Windows Platform.

Rate


data-rate="1.0"

It can range between 0.1 (lowest) and 10 (highest), with 1 being the default rate.

<html-speaker for="content-tongue" class="speaker speaker-standard" data-rate="0.1" data-start="" data-pause="">Rate: 0.0</html-speaker>
<html-speaker for="content-tongue" class="speaker speaker-standard" data-rate="1.0" data-start="" data-pause="">Rate: 1.0</html-speaker>
<html-speaker for="content-tongue" class="speaker speaker-standard" data-rate="10" data-start="" data-pause="">Rate: 10</html-speaker>
<p id="content-tongue">
 Fuzzy Wuzzy was a bear. Fuzzy Wuzzy had no hair. Fuzzy Wuzzy wasn't very fuzzy, was he?
</p>
Rate: 0.1 Rate: 1.0 Rate: 10

Fuzzy Wuzzy was a bear. Fuzzy Wuzzy had no hair. Fuzzy Wuzzy wasn't very fuzzy, was he?

Volume


data-volume="1.0"

It can range between 0.0 (lowest) and 1 (highest), with 1 being the default volume.

<html-speaker for="content-thomas" class="speaker speaker-standard" data-volume="0.1" data-start="" data-pause="">Volume: 0.1</html-speaker>
<html-speaker for="content-thomas" class="speaker speaker-standard" data-volume="0.5" data-start="" data-pause="">Volume: 0.5</html-speaker>
<html-speaker for="content-thomas" class="speaker speaker-standard" data-volume="1.0" data-start="" data-pause="">Volume: 1.0</html-speaker>
<p id="content-thomas">
 A strong man will struggle with the storms of fate. (Thomas Addison)
</p>
Volume: 0.1 Volume: 0.5 Volume: 1.0

A strong man will struggle with the storms of fate. (Thomas Addison)

Lang


data-lang="en-US"

If unset, <html lang=""> lang value will be used.

Here is the list of Language Code: http://www.lingoes.net/en/translator/langcode.htm

<html-speaker for="content-english" class="speaker speaker-standard" data-lang="en-US" data-start="" data-pause="">Lang: en-US</html-speaker>
<p id="content-english">
 I am speaking English.
</p>

<html-speaker for="content-chinese" class="speaker speaker-standard" data-lang="zh-HK" data-start="" data-pause="">Lang: zh-HK</html-speaker>
<p id="content-chinese">
 我講廣東話。
</p>
Lang: en-US

I am speaking English.

Lang: zh-HK

我講廣東話。

Voice


data-voice="Google UK English Female"

If unset, the voice will be the default voice set in Lang. If the voice is not found, the data-lang value will be used.

Here is the list of voices which is supported on your device:

<html-speaker for="content-voice-en" class="speaker speaker-standard" data-voice="Google UK English Female" data-lang="en-US" data-start="" data-pause="">Voice: Google UK English Female</html-speaker>
<p id="content-voice-en">
 My voice is Google UK English Female.
</p>
<html-speaker for="content-voice-zh" class="speaker speaker-standard" data-voice="Microsoft Tracy Desktop - Chinese(Traditional, HongKong SAR)" data-lang="zh-HK" data-start="" data-pause="">Voice: Microsoft Tracy Desktop - Chinese(Traditional, HongKong SAR)</html-speaker>
<p id="content-voice-zh">
 我的聲音是微軟桌面中文聲音。
</p>
Voice: Google UK English Female

My voice is Google UK English Female.

Voice: Microsoft Tracy Desktop - Chinese(Traditional, HongKong SAR)

我的聲音是微軟桌面中文聲音。