-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
70 lines (61 loc) · 2.91 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>bpmLover</title>
<meta name="description" content="bpmLover is an online BPM Analyzer that allows you to analyze tempo of a song by selecting a file or by tapping with your mouse.">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.0/css/bootstrap.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1>bpmLover</h1>
<p>Want to know what's the BPM of a song? Select it or start tapping.</p>
<div class="box action-box">
<input name="file" type="file" accept="audio/*">
<div class="button-container tap-container">
<p><a class="tap-button btn-success btn btn-lg" role="button">Tap here</a><p>
</div>
<div class="button-container file-container">
<p><a class="file-selector btn-primary btn btn-lg" role="button">Select a song</a><br />
<span>No file will be uploaded, BPM processing is done in your browser.</span><p>
</div>
</div>
<div class="box result-box">
<div class="result text-success">
120 BPM
</div>
<div class="progress progress-striped active">
<div class="progress-bar progress-bar-success" role="progressbar" style="width: 0%">
<span class="sr-only">0% Complete</span>
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="author">
With love, from <a href="http://loisdiqual.com/" target="_blank">Loïs Di Qual</a>
- <a href="https://github.com/ldiqual/bpmLover" target="_blank">Source</a>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore.js"></script>
<script type="text/javascript">
var DEBUG = false;
var scripts = DEBUG ? [ 'js/AudioFile', 'js/TapCounter', 'js/App.js' ] : [ 'js/packed/app.js' ];
require( scripts, function(){
var app = new App();
});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47711457-1', 'bpmlover.com');
ga('send', 'pageview');
</script>
</body>
</html>