-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (36 loc) · 1.45 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="./static/icon.ico" type="image/x-icon" />
<link rel="stylesheet" href="static/style.css">
<title>Sound Visualizer Three.js</title>
</head>
<body>
<div id="content">
<label for="thefile" class="file"> Escolha um arquivo de áudio
<input type="file" id="thefile" accept="audio/*,video/*" />
</label>
<audio id="audio"></audio>
<div id="customaudiocontrol" style="display: none;">
<div id="timeleft">00:00</div>
<div id="controls">
<div id="playpause">
<div class="play" id="play"></div>
<div class="pause" id="pause"></div>
</div>
<div id="volume">
<label for="volume-slider" id="audiovolume">100%</label>
<input type="range" id="volume-slider" min="0" max="100" step="1" />
</div>
</div>
</div>
<div id="out"></div>
</div>
</body>
<script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/84/three.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.6.3/dat.gui.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/simplex-noise/2.3.0/simplex-noise.min.js'></script>
<script src="static/main.js"></script>
</html>