This repository has been archived by the owner on Oct 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
34 lines (34 loc) · 1.68 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
<!DOCTYPE html>
<html lang="en" ng-app="recorder">
<head>
<meta charset="utf-8">
<title>Speech to Server</title>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"></script>
<script src="app.js"></script>
<style type="text/css"> .red-btn { color: #D00000; }</style>
</head>
<body ng-controller="RecorderController">
<div class="container well">
<h1 class="text-center">Record Stuff from the Browser <a href="uploads/" class="btn btn-info"><i class="icon-download-alt"></i> Download Recordings</a></h1>
<div class="row">
<div class="offset3 span3 text-center">
<label>Sample Rate: <select ng-model="samplerate" ng-options="s + ' Hz' for s in samplerates"></select></label>
</div>
<div class="span3 text-center">
<label>Bit Rate: <select ng-model="bitrate" ng-options="b + ' kbps' for b in bitrates"></select></label>
</div>
</div>
<div class="row">
<div class="offset3 span3 text-center"><button class="btn" ng-click="startRecording()" ng-disabled="recording"><i class="icon-circle" ng-class="recordButtonStyle"></i> Start recording</button></div>
<div class="span3 text-center"><button class="btn" ng-click="stopRecording()" ng-disabled="!recording"><i class="icon-stop"></i> Stop recording</button></div>
</div>
<div class="row">
<div class="span12 text-center" ng-show="recording">
<span class="label label-important">Recording...</label>
</div>
</div>
</div>
</body>
</html>