mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-29 05:51:52 +00:00
Adding IPA output to emscripten js library and demo
This commit is contained in:
@@ -52,6 +52,12 @@
|
||||
display: block;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
#ipaarea {
|
||||
width: 100%;
|
||||
height: 8rem;
|
||||
display: block;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
p.gh {
|
||||
color: #333;
|
||||
text-align: right;
|
||||
@@ -100,6 +106,7 @@
|
||||
<h1>espeakng.js 1.49.1 Demo</h1>
|
||||
<form>
|
||||
<textarea id="texttospeak">Call me Ishmael. Some years ago --- never mind how long precisely --- having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation.</textarea>
|
||||
<textarea readonly="true" placeholder="IPA" id="ipaarea"></textarea>
|
||||
<div class="speecharg">
|
||||
<label for="pitch">Pitch</label><input id="pitch" type="range" value="50" min="0" max="100" /><button type="button" aria-label="Reset pitch" title="Reset pitch" onclick="resetPitch();">↶</button>
|
||||
</div>
|
||||
@@ -110,7 +117,7 @@
|
||||
<label for="voice">Voice</label><select id="voice"></select><button type="button" aria-label="Reset voice" title="Reset voice" onclick="resetVoice();">↶</button>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<button type="button" onmousedown="speak();">Speak</button>
|
||||
<button type="button" onmousedown="speakAndIpa();">Speak</button>
|
||||
<button type="button" onmousedown="stop();">Stop</button>
|
||||
</div>
|
||||
<p class="gh"><a href="https://github.com/eeejay/espeak/tree/emscripten">Original Code for eSpeak: Eitan Isaacson</a></p>
|
||||
|
||||
Reference in New Issue
Block a user