Speech Synthesis Demo in Hype

SpeechSynthesisDemo.hype.zip (26,1 KB)

8 Likes

This is great!! Is it possible to add a second language so that there is voice acting of the text in two different languagesIs

via the lang property:

2 Likes

SpeechSynthesisDemoWithVoices.hype.zip (27,0 KB)

Now supports data-voice use ID or Name. The available voices might depend on OS and Browser!

ID Name Language
0 Anna de-DE
1 Alex en-US
2 Alice it-IT
3 Alva sv-SE
4 Amelie fr-CA
5 Carmit he-IL
6 Damayanti id-ID
7 Daniel en-GB
8 Diego es-AR
9 Ellen nl-BE
10 Fiona en
11 Fred en-US
12 Ioana ro-RO
13 Joana pt-PT
14 Jorge es-ES
15 Juan es-MX
16 Kanya th-TH
17 Karen en-AU
18 Kyoko ja-JP
19 Laura sk-SK
20 Lekha hi-IN
21 Luca it-IT
22 Luciana pt-BR
23 Maged ar-SA
24 Mariska hu-HU
25 Mei-Jia zh-TW
26 Melina el-GR
27 Milena ru-RU
28 Moira en-IE
29 Monica es-ES
30 Nora nb-NO
31 Paulina es-MX
32 Rishi en-IN
33 Samantha en-US
34 Sara da-DK
35 Satu fi-FI
36 Sin-ji zh-HK
37 Tessa en-ZA
38 Thomas fr-FR
39 Ting-Ting zh-CN
40 Veena en-IN
41 Victoria en-US
42 Xander nl-NL
43 Yelda tr-TR
44 Yuna ko-KR
45 Yuri ru-RU
46 Zosia pl-PL
47 Zuzana cs-CZ
48 Google Deutsch de-DE
49 Google US English en-US
50 Google UK English Female en-GB
51 Google UK English Male en-GB
52 Google español es-ES
53 Google español de Estados Unidos es-US
54 Google français fr-FR
55 Google हिन्दी hi-IN
56 Google Bahasa Indonesia id-ID
57 Google italiano it-IT
58 Google 日本語 ja-JP
59 Google 한국의 ko-KR
60 Google Nederlands nl-NL
61 Google polski pl-PL
62 Google português do Brasil pt-BR
63 Google русский ru-RU
64 Google 普通话(中国大陆) zh-CN
65 Google 粤語(香港) zh-HK
66 Google 國語(臺灣) zh-TW
4 Likes

I have played with the API before and always thought it was a great addition to web api.

I on iPad at mo so cannot check. But thinking the language ID could be used with a language detection to change for what the users browser/system is set to.