-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·30 lines (30 loc) · 1.21 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
<!DOCTYPE html>
<html lang='en' class='no-js'>
<head>
<meta charset='UTF-8'/>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel="stylesheet" href="style.css">
<title>Conductor</title>
</head>
<body>
<div id="instructions">
<p>Control music with your hands!</p>
<p>Click the Launch button below and show your hand to the camera. On mobile, you may need to turn your phone to
landscape orientation.</p>
<p>Make a pinch gesture to start audio playback. Make a fist to pause it.</p>
<p>Move your hand left and right to control the playback rate. Move up and down to control the volume.</p>
</div>
<div id="info">
<div class="data">Time<span id='transport'>0.00</span></div>
<div class="data">Volume<span id='volume'>5</span></div>
<div class="data">Playback rate<span id='playback-rate'>1.0</span></div>
</div>
<button id="launch">Launch</button>
<div id="canvas"></div>
<span id="error"></span>
<p>Song: <a href="https://www.youtube.com/watch?v=ALc84j-OW3c" target="_blank" rel="noopener">Concerto for Guitar -
Luis Bonfá</a>
</p>
<p><a href="https://github.com/p3zo/conductor" target="_blank" rel="noopener">View source on Github</a></p>
</body>
</html>