-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (41 loc) · 2.17 KB
/
index.html
File metadata and controls
53 lines (41 loc) · 2.17 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>essentia.js examples</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<center>
<body style="background-color: #00000019!important;">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/essentia.js@0.1.3/dist/essentia-wasm.web.js"></script>
<script src="https://cdn.jsdelivr.net/npm/essentia.js@0.1.3/dist/essentia.js-extractor.js"></script>
<script src="https://cdn.jsdelivr.net/npm/essentia.js@0.1.3/dist/essentia.js-plot.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="http://www.verovio.org/javascript/latest/verovio-toolkit-wasm.js" defer></script>
<script src='https://www.midijs.net/lib/midi.js' defer></script>
<script src="script.js" defer></script>
<h2 style="color: rgb(1, 24, 24);">
Ejemplo con espectrograma y partitura
</h2>
<div class="ui divider" style="height: 2px; width: 0.1px;"></div>
<audio id="audioPlayer" controls>
<source id="audio-source" src="" type="audio/mp3" />
</audio>
<div id="logDiv" style="color: rgb(0, 21, 21);"><br /></div>
<div class="ui divider" style="width: 0.1px; height: 0.1px;"></div>
<div id="plotDiv"></div>
<button id="playMIDI" class="bi bi-file-play">Play</button>
<button id="stopMIDI" class="bi bi-file-stop">Stop</button>
<div id="notation"></div>
<br />
</div>
</body>
</center>
</html>