-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·92 lines (77 loc) · 2.63 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tuner WebGL</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: #000000;
margin: 0px;
overflow: hidden;
}
#info {
position: absolute;
bottom: 0;
padding: 10px;
background-color: #000;
font-size: 13px;
font-family: sans-serif;
color: #aaa;
}
#info a {
color: #aaa;
cursor: pointer;
text-decoration: none;
}
#info a:hover {
color: #fff;
}
#howto_explanation {
display:none;
width: 170px;
border-top: 1px dotted #777;
border-bottom: 1px dotted #777;
margin-bottom: 10px;
background-color: #171717;
padding: 10px;
}
</style>
<link rel="stylesheet" href="selos_brio.css">
</head>
<body>
<div id="webgl"></div>
<div id="info">
<div id="howto_explanation">
<p>Please, take a note that it use the experiment Web Audio API from Google Chrome and will not works on all browsers/machines.</p>
<p><b>1.</b> On Google Chrome, type <b>chrome://flags</b>.</p>
<p><b>2.</b> Enable the <b>Web Audio Input</b>, you will have to restart your browser.</p>
<p><b>3.</b> Allow access to the microphone.</p>
<p><b>4.</b> Start play or sing.</p>
</div>
<a id="howto">how to</a> .
<a id="fullscreen">fullscreen</a> .
<a href="https://github.com/euharrison/TunerWebGL" target="_blank">github</a>
</div>
<div id="brio" class="upper_right">
<a href="http://premiobr.io/brio-2013-resultados/" target="_blank">menção honrosa de desenvolvimento de experimento . BRIO 2013</a>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/three.min.js" type="text/javascript"></script>
<script src="js/Detector.js" type="text/javascript"></script>
<script src="fonts/helvetiker_bold.typeface.js"></script>
<script src="js/Note.js" type="text/javascript"></script>
<script src="js/Tuner.js" type="text/javascript"></script>
<script src="js/script.js" type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4342371-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>