-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.76 KB
/
index.html
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
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="bootstrap.min.css">
<title>Text To Speach</title>
</head>
<body>
<h2 style="text-align: center;">Text To Speach</h2>
<form>
<fieldset>
<div class="form-group" style="width: 80%;margin-left: 10%;">
<label for="exampleTextarea" class="form-label mt-4">Text</label>
<textarea class="form-control" id="textArea" rows="8"></textarea>
</div>
<fieldset class="form-groue" style="width: 60%; margin-left: 20%;">
<legend class="mt-4" style="text-align: center; margin-bottom: 5%;">Settings</legend>
<h5 for="voice-select" class="from-label">Voice</h5>
<div class="form-group" style="margin: 50px;">
<select id="voice-select" class="form-control form-control-lg"></select>
</div>
<label for="rate" class="form-label" style="margin-bottom: 20px;">Speed</label>
<input type="range" id="rate" class="form-range" min="0.5" max="2" value="1" step="0.1">
<label for="pitch" class="form-label" style="margin-bottom: 20px;">Pitch</label>
<input type="range" id="pitch" class="form-range" min="0" max="2" value="1" step="0.1">
</fieldset>
<div class="d-grid gap-2">
<button class="btn btn-lg btn-primary" onclick="play()" type="button" style="margin-top: 100px; max-width: 80%; margin-left: 10%;">Speak</button>
</div>
</fieldset>
</form>
<script src="script.js"></script>
</body>
</html>