-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
61 lines (47 loc) · 2.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Audio Match</title>
<link rel="stylesheet" href="audiomatch.css">
<script src="jquery.min.js"></script>
<script src="audiomatch.js?id=2"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-93M2PXG80K"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-93M2PXG80K');
</script>
</head>
<body>
<h1>This is a demo of how an audio match algorithm may work.</h1>
<h2>© David Domminney Fowler 2021 for Computerphile</h2>
<div class="container">
<div class="spectrum"></div>
</div>
<h3>Audio Files (click to analyse)</h3>
<h4><a href="/" target="_blank">Songs by Space Potatoes from the "2020 Rendezvous" mini-series soundtrack - Click
here for more info</a></h4>
<div class="fullaudiofiles"></div>
<h3>Noiseprinted Files (click to compare)</h3>
<div class="noiseprints"></div>
<div class="settings">
<div><label>Max Points Per Slice</label><input type="number" min="3" max="20" class='maxpoints'></div>
<div><label>FFT Bin Start</label><input type="number" min="0" max="4096" value="4" class='startat'
onblur="calcFreq()"></div>
<div><label>FFT Bin End</label><input type="number" min="0" max="4096" value="214" class='endat'
onblur="calcFreq()"></div>
<div><label>FFT Bin Step</label><input type="number" min="0" max="50" value="1" class='freqstep'
onblur="calcFreq()"></div>
<div><label>Point Groups</label><input type="number" min="2" max="20" value="6" class='pointgroups'></div>
<div class="calcfreq"></div>
<button onclick="saveNoisePrint();">Save Spectrum & Stop Song</button>
</div>
<div class="output">
</div>
</body>
</html>