-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (47 loc) · 2.05 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
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css" />
<title>Text to Speech</title>
</head>
<body class="text-white">
<h1>Text to Speech converter</h1>
<div class="container text-center mt-5">
<img src="img/wave.gif" class="mb-5" alt="">
<img src="img/speaker.png" class="mb-5" alt="">
<div class="row">
<div class="col-md-6 mx-auto">
<form>
<div class="form-group">
<textarea class="form-control form-control-lg" id="text-input" placeholder="Type Your Speech Here..."></textarea>
</div>
<div class="form-group">
<label for="rate">Rate</label>
<div id="rate-value" class="badge float-right">1</div>
<input type="range" id="rate" class="custom-range" min="0.5" max="2" value="1" step="0.1">
</div>
<div class="form-group">
<label for="pitch">Pitch</label>
<div id="pitch-value" class="badge float-right">1</div>
<input type="range" id="pitch" class="custom-range" min="0" max="2" value="1" step="0.1">
</div>
<div class="form-group">
<select class="form-control form-control-lg" id="voice-select"></select>
</div>
<button class="btn btn-light btn-lg btn-block">Speak</button>
</form>
</div>
</div>
</div>
<script type="text/javascript">
document.addEventListener("contextmenu", function(e){
e.preventDefault();
}, false);
</script>
<script src="script.js"></script>
</body>
</html>