forked from ywalia01/iheard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.html
62 lines (57 loc) · 1.95 KB
/
app.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
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>I Heard</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap" rel="stylesheet">
<script src="https://use.fontawesome.com/418cf11781.js"></script>
<link rel="stylesheet" href="./app.css">
</head>
<body>
<div class="app">
<div>
<img style="position: absolute; max-width: 100%; left: 0px; top: 0px; z-index: -1;" src="./img/Grid BG.svg" alt="">
</div>
<div>
<select name="" id="micSelect"></select>
</div>
<div>
<select name="" id="sound_class">
<option value="" selected disabled hidden>Sound Type</option>
<option value="ambient">Ambient Sound</option>
<option value="texttospeech">Speech to Text</option>
</select>
</div>
<div class="audio-controls">
<button style="border-radius: none;" id="record">
<!-- <img src="./img/record.svg" alt=""> -->
<i class="fa fa-2x fa-microphone" aria-hidden="true"></i>
</button>
<button style="border-radius: none;" id="stop">
<!-- <img src="./img/stop.png" alt=""> -->
<i class="fa fa-2x fa-stop" aria-hidden="true"></i>
</button>
<button style="border-radius: none;">
<a id="download">
<!-- <img src="./img/dload.png" alt=""> -->
<i class="fa fa-2x fa-download" aria-hidden="true"></i>
</a>
</button>
</div>
<div id="msg">Recording...</div>
<canvas width="400" height="300"></canvas>
</div>
<div class="app2">
<div>
<div>
<img class="app2_img1" src="./img/logo3.png" alt="">
</div>
<div class="resultTextDiv">
<p id="resultText"></p>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>