Skip to content

Commit

Permalink
Add Icelandic voices
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed May 10, 2023
1 parent 874b394 commit bf1751d
Show file tree
Hide file tree
Showing 15 changed files with 204 additions and 4 deletions.
30 changes: 29 additions & 1 deletion _script/get_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@
kialakul a színképe, más néven spektruma. Az ív külső része vörös, míg a
belső ibolya. Előfordul az ún. dupla szivárvány is, amelynél egy másik,
halványabb ív is látható fordított sorrendű színekkel.""",
"is": """Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og
veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á
meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með
rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari
regnboga með litina í öfugri röð.""",
"it": """In fisica dell'atmosfera e meteorologia l'arcobaleno è un fenomeno
ottico atmosferico che produce uno spettro quasi continuo di luce nel
cielo quando la luce del Sole attraversa le gocce d'acqua rimaste in
Expand All @@ -122,6 +127,19 @@
sacedhaké grojogan. Racaké udan anané ing wektu soré, saéngga kluwung
katon ing sisih wétan. Déné menawa ésuk, kluwung katon ing kulon,
diarani téja.""",
"ka": """ცისარტყელა — ატმოსფერული ოპტიკური და მეტეოროლოგიური მოვლენა,
რომელიც ხშირად წვიმის შემდეგ ჩნდება. ეს თავისებური რკალია ან წრეხაზი,
რომელიც ფერების სპექტრისგან შედგება. ცისარტყელა შედგება შვიდი ფერისგან:
წითელი, ნარინჯისფერი, ყვითელი, მწვანე, ცისფერი, ლურჯი, იისფერი. ცენტრი
წრისა, რომელსაც ცისარტყელა შემოწერს, ძევს წრფეზე, რომელიც გადის
დამკვირვებელსა და მზეს შორის, ამავდროულად ცისარტყელას დანახვისას მზე
ყოველთვის მდებარეობს დამკვირვებლის ზურგს უკან, შესაბამისად, სპეციალური
ოპტიკური ხელსაწყოების გარეშე შეუძლებელია ერთდროულად ცისარტყელასა და მზის
დანახვა. ხმელეთზე მდებარე დამკვირვებლისთვის ცისარტყელას, როგორც წესი,
აქვს რკალის, წრის ნაწილის, ფორმა. რაც უფრო მაღალია დაკვირვების წერტილი —
მით უფრო სრულია ეს რკალი (მთიდან ან თვითმფრინავიდან შესაძლებელია მთლიანი
წრის დანახვაც). როდესაც მზე აღიმართება ჰორიზონტიდან 42 გრადუსზე უფრო
მაღლა, ცისარტყელა დედამიწის ზედაპირიდან უხილავია.""",
"kk": """Кемпірқосақ – аспан күмбезінде түрлі түсті доға түрінде көрінетін
атмосферадағы оптикалық құбылыс. Ол аспанның бір жағында торлаған
бұлттан жаңбыр жауып, қарсы жағында жарқырап күн шығып тұрған кезде
Expand Down Expand Up @@ -335,7 +353,17 @@ def generate_sample(cmd, samples_dir, text):
wav_path = Path(proc.stdout.readline().strip())
mp3_path = samples_dir / "sample.mp3"
subprocess.check_call(
["ffmpeg", "-y", "-i", str(wav_path), str(mp3_path)],
[
"ffmpeg",
"-y",
"-i",
str(wav_path),
"-codec:a",
"libmp3lame",
"-qscale:a",
"2",
str(mp3_path),
],
)
wav_path.unlink()

Expand Down
1 change: 1 addition & 0 deletions _script/make_sample_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"gu": ("ગુજરાતી", "Gujarati"),
"ha": "Hausa",
"hu": ("Magyar Nyelv", "Hungarian"),
"is": ("Icelandic", "íslenska"),
"it": ("Italiano", "Italian"),
"jv": ("Basa Jawa", "Javanese"),
"kk": ("қазақша", "Kazakh"),
Expand Down
113 changes: 110 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<option value="es">Español (Spanish)</option>
<option value="fi">Suomi (Finnish)</option>
<option value="fr">Français (French)</option>
<option value="is">Icelandic (íslenska)</option>
<option value="it">Italiano (Italian)</option>
<option value="kk">қазақша (Kazakh)</option>
<option value="ne">नेपाली (Nepali)</option>
Expand Down Expand Up @@ -318,7 +319,7 @@ <h2>Training</h2>
</form></dialog>
<td> <a title="Download de-thorsten-low" href="https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-de-thorsten-low.tar.gz">de-thorsten-low</a> </td>
<td> <a href="javascript:q('#dialog-de-thorsten-low').showModal()">View</a> </td>
<td> low </td>
<td> low_finetuned </td>
<td> <audio id="audio-de-thorsten-low" preload="none" controls src="samples/de-thorsten-low/speaker_0/sample.mp3"></audio> <details><summary>sample text</summary><p> Der Regenbogen ist ein atmosphärisch-optisches Phänomen, das als kreisbogenförmiges farbiges Lichtband in einer von der Sonne beschienenen Regenwand oder -wolke wahrgenommen wird. Sein radialer Farbverlauf ist das mehr oder weniger verweißlichte sichtbare Licht des Sonnenspektrums. Das Sonnenlicht wird beim Ein- und beim Austritt an jedem annähernd kugelförmigen Regentropfen abgelenkt und in Licht mehrerer Farben zerlegt. Dazwischen wird es an der Tropfenrückseite reflektiert. Das jeden Tropfen verlassende Licht ist in farbigen Schichten konzentriert, die aufeinandergesteckte dünne Kegelmäntel bilden. Der Beobachter hat die Regenwolke vor sich und die Sonne im Rücken. Ihn erreicht Licht einer bestimmten Farbe aus Regentropfen, die sich auf einem schmalen Kreisbogen am Himmel befinden. Der Winkel, unter dem der Regenbogen gesehen wird, ist gleich wie der Winkel der Kegelmäntel, in dem diese Farben beim Austritt am Regentropfen konzentriert sind. </p></details> </td>
<td></td>
</tr>
Expand Down Expand Up @@ -516,7 +517,7 @@ <h2>Training</h2>
</form></dialog>
<td> <a title="Download en-us-lessac-low" href="https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-us-lessac-low.tar.gz">en-us-lessac-low</a> </td>
<td> <a href="javascript:q('#dialog-en-us-lessac-low').showModal()">View</a> </td>
<td> low </td>
<td> low_finetuned </td>
<td> <audio id="audio-en-us-lessac-low" preload="none" controls src="samples/en-us-lessac-low/speaker_0/sample.mp3"></audio> <details><summary>sample text</summary><p> A rainbow is a meteorological phenomenon that is caused by reflection, refraction and dispersion of light in water droplets resulting in a spectrum of light appearing in the sky. It takes the form of a multi-colored circular arc. Rainbows caused by sunlight always appear in the section of sky directly opposite the Sun. </p></details> </td>
<td></td>
</tr>
Expand All @@ -540,7 +541,7 @@ <h2>Training</h2>
</form></dialog>
<td> <a title="Download en-us-lessac-medium" href="https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-us-lessac-medium.tar.gz">en-us-lessac-medium</a> </td>
<td> <a href="javascript:q('#dialog-en-us-lessac-medium').showModal()">View</a> </td>
<td> medium </td>
<td> medium_16k </td>
<td> <audio id="audio-en-us-lessac-medium" preload="none" controls src="samples/en-us-lessac-medium/speaker_0/sample.mp3"></audio> <details><summary>sample text</summary><p> A rainbow is a meteorological phenomenon that is caused by reflection, refraction and dispersion of light in water droplets resulting in a spectrum of light appearing in the sky. It takes the form of a multi-colored circular arc. Rainbows caused by sunlight always appear in the section of sky directly opposite the Sun. </p></details> </td>
<td></td>
</tr>
Expand Down Expand Up @@ -1768,6 +1769,112 @@ <h2>Training</h2>
<td></td>
</tr>
</table>
<h2 id="is">Icelandic (íslenska)</h2>
<table>
<thead>
<th>Voice</th>
<th>Model Card</th>
<th>Quality <a href="#quality">[?]</a></th>
<th>Sample</th>
<th>Speaker</th>
</thead>
<tr id="is-bui-medium" class="">
<dialog id="dialog-is-bui-medium"><form>
<h1>Model card for Búi (medium)</h1>
<ul>
<li>Language: is (Icelandic)</li>
<li>Speakers: 1</li>
<li>Quality: medium</li>
<li>Samplerate: 22,050Hz</li>
</ul>
<h2>Dataset</h2>
<ul>
<li>URL: http://hdl.handle.net/20.500.12537/104</li>
<li>License: See URL</li>
</ul>
<h2>Training</h2>
<p>Trained from scratch.</p>
<div><button value="cancel" formmethod="dialog">Close</button></div>
</form></dialog>
<td> <a title="Download is-bui-medium" href="https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-is-bui-medium.tar.gz">is-bui-medium</a> </td>
<td> <a href="javascript:q('#dialog-is-bui-medium').showModal()">View</a> </td>
<td> medium </td>
<td> <audio id="audio-is-bui-medium" preload="none" controls src="samples/is-bui-medium/speaker_0/sample.mp3"></audio> <details><summary>sample text</summary><p> Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari regnboga með litina í öfugri röð. </p></details> </td>
<td></td>
</tr>
<tr id="is-salka-medium" class="alt">
<dialog id="dialog-is-salka-medium"><form>
<h1>Model card for Salka (medium)</h1>
<ul>
<li>Language: is (Icelandic)</li>
<li>Speakers: 1</li>
<li>Quality: medium</li>
<li>Samplerate: 22,050Hz</li>
</ul>
<h2>Dataset</h2>
<ul>
<li>URL: http://hdl.handle.net/20.500.12537/104</li>
<li>License: See URL</li>
</ul>
<h2>Training</h2>
<p>Trained from scratch.</p>
<div><button value="cancel" formmethod="dialog">Close</button></div>
</form></dialog>
<td> <a title="Download is-salka-medium" href="https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-is-salka-medium.tar.gz">is-salka-medium</a> </td>
<td> <a href="javascript:q('#dialog-is-salka-medium').showModal()">View</a> </td>
<td> medium </td>
<td> <audio id="audio-is-salka-medium" preload="none" controls src="samples/is-salka-medium/speaker_0/sample.mp3"></audio> <details><summary>sample text</summary><p> Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari regnboga með litina í öfugri röð. </p></details> </td>
<td></td>
</tr>
<tr id="is-steinn-medium" class="">
<dialog id="dialog-is-steinn-medium"><form>
<h1>Model card for Steinn (medium)</h1>
<ul>
<li>Language: is (Icelandic)</li>
<li>Speakers: 1</li>
<li>Quality: medium</li>
<li>Samplerate: 22,050Hz</li>
</ul>
<h2>Dataset</h2>
<ul>
<li>URL: http://hdl.handle.net/20.500.12537/104</li>
<li>License: See URL</li>
</ul>
<h2>Training</h2>
<p>Trained from scratch.</p>
<div><button value="cancel" formmethod="dialog">Close</button></div>
</form></dialog>
<td> <a title="Download is-steinn-medium" href="https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-is-steinn-medium.tar.gz">is-steinn-medium</a> </td>
<td> <a href="javascript:q('#dialog-is-steinn-medium').showModal()">View</a> </td>
<td> medium </td>
<td> <audio id="audio-is-steinn-medium" preload="none" controls src="samples/is-steinn-medium/speaker_0/sample.mp3"></audio> <details><summary>sample text</summary><p> Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari regnboga með litina í öfugri röð. </p></details> </td>
<td></td>
</tr>
<tr id="is-ugla-medium" class="alt">
<dialog id="dialog-is-ugla-medium"><form>
<h1>Model card for Ugla (medium)</h1>
<ul>
<li>Language: is (Icelandic)</li>
<li>Speakers: 1</li>
<li>Quality: medium</li>
<li>Samplerate: 22,050Hz</li>
</ul>
<h2>Dataset</h2>
<ul>
<li>URL: http://hdl.handle.net/20.500.12537/104</li>
<li>License: See URL</li>
</ul>
<h2>Training</h2>
<p>Trained from scratch.</p>
<div><button value="cancel" formmethod="dialog">Close</button></div>
</form></dialog>
<td> <a title="Download is-ugla-medium" href="https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-is-ugla-medium.tar.gz">is-ugla-medium</a> </td>
<td> <a href="javascript:q('#dialog-is-ugla-medium').showModal()">View</a> </td>
<td> medium </td>
<td> <audio id="audio-is-ugla-medium" preload="none" controls src="samples/is-ugla-medium/speaker_0/sample.mp3"></audio> <details><summary>sample text</summary><p> Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari regnboga með litina í öfugri röð. </p></details> </td>
<td></td>
</tr>
</table>
<h2 id="it">Italiano (Italian)</h2>
<table>
<thead>
Expand Down
15 changes: 15 additions & 0 deletions is/bui/medium/MODEL_CARD
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Model card for Búi (medium)

* Language: is (Icelandic)
* Speakers: 1
* Quality: medium
* Samplerate: 22,050Hz

## Dataset

* URL: http://hdl.handle.net/20.500.12537/104
* License: See URL

## Training

Trained from scratch.
15 changes: 15 additions & 0 deletions is/salka/medium/MODEL_CARD
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Model card for Salka (medium)

* Language: is (Icelandic)
* Speakers: 1
* Quality: medium
* Samplerate: 22,050Hz

## Dataset

* URL: http://hdl.handle.net/20.500.12537/104
* License: See URL

## Training

Trained from scratch.
15 changes: 15 additions & 0 deletions is/steinn/medium/MODEL_CARD
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Model card for Steinn (medium)

* Language: is (Icelandic)
* Speakers: 1
* Quality: medium
* Samplerate: 22,050Hz

## Dataset

* URL: http://hdl.handle.net/20.500.12537/104
* License: See URL

## Training

Trained from scratch.
15 changes: 15 additions & 0 deletions is/ugla/medium/MODEL_CARD
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Model card for Ugla (medium)

* Language: is (Icelandic)
* Speakers: 1
* Quality: medium
* Samplerate: 22,050Hz

## Dataset

* URL: http://hdl.handle.net/20.500.12537/104
* License: See URL

## Training

Trained from scratch.
Binary file added samples/is-bui-medium/speaker_0/sample.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions samples/is-bui-medium/speaker_0/sample.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari regnboga með litina í öfugri röð.
Binary file added samples/is-salka-medium/speaker_0/sample.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions samples/is-salka-medium/speaker_0/sample.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari regnboga með litina í öfugri röð.
Binary file added samples/is-steinn-medium/speaker_0/sample.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions samples/is-steinn-medium/speaker_0/sample.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari regnboga með litina í öfugri röð.
Binary file added samples/is-ugla-medium/speaker_0/sample.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions samples/is-ugla-medium/speaker_0/sample.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Regnbogi (einnig kallaður friðarbogi) er ljósfræðilegt og veðurfræðilegt fyrirbæri sem orsakast þegar litróf birtist á himninum á meðan sólin skín á vætu í andrúmslofti jarðar. Hann er marglitur með rauðan að utanverðu og fjólubláan að innanverðu. Sjaldnar má sjá daufari regnboga með litina í öfugri röð.

0 comments on commit bf1751d

Please sign in to comment.