File size: 1,285 Bytes
a446897
 
 
3cbeef4
a446897
 
2449bb5
a446897
 
 
 
3cbeef4
a446897
3cbeef4
a446897
2449bb5
a446897
 
 
 
af79bf4
a446897
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
af79bf4
a446897
 
3cbeef4
a446897
3cbeef4
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 class="no-js" lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>Polyhedron: Realtime Transcribe + Translate + Speech</title>
  <meta name="description" content="Google Cloud Speech Recognition with Node and Socket.io">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <link rel="stylesheet" href="main.css">
</head>

<body>
<div class="wrapper">
  <h1>Polyhedron: Realtime Transcribe + Translate + Speech</h1>

  <audio></audio>

  <br>
  <button id="startButton" type="button"> Start listening</button>
  <button id="startRecButton" type="button"> Start recording</button>
  <button id="stopRecButton" type="button"> Stop recording</button>
  <div id="recordingStatus">&nbsp;</div>
  <br>

  <div>
    <p id="ResultText">
                <span class="greyText">No Speech to Text yet
                    <span>
    </p>
  </div>

  <br>
  <br>
</div>

<!-- Nlp -->
<script src="https://unpkg.com/[email protected]/builds/compromise.min.js"></script>

<!-- Socket -->
<!--<script src="assets/js/socket.io.js"></script>-->

<script src="https://unpkg.com/rxjs@%5E7/dist/bundles/rxjs.umd.min.js"></script>
<!-- Client -->
<script src="client.js"></script>
</body>

</html>