-
Notifications
You must be signed in to change notification settings - Fork 0
/
visualtosound.html
55 lines (51 loc) · 1.7 KB
/
visualtosound.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
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://www.marvinj.org/releases/marvinj-0.9.js"></script>
<script src="script.js"></script>
</head>
<style>
main{
text-align: center;
}
label{
background-color: #777777;
padding: 2px 5px;
border: 2px solid#777777;
border-radius: 30px;
color: white;
width: 10%;
}
label:hover{
color: white;
background-color: #555555;
border: 2px solid #555555;
}
</style>
</head>
<header>
<a href="index.html"> <h1><img src="assets/artTunes.png" alt="Art Tunes" class="logo"></h1></a>
</header>
<body>
<main>
<em><h3>Experience Art Through Sound</h3></em>
<p><input type="file" accept="image/*" name="image" id="file" onchange="loadFile(event)" style="display: none;"></p>
<p><label for="file" style="cursor: pointer;">Upload Image</label></p>
<p><img class="size" id="output" width=""/></p>
<canvas hidden id="canvas" width="300" height="400"></canvas><br>
<audio controls id="uploadAudio" style="opacity: 0;">
<source src="mp3/girlWithThePearlEarring.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<br>
</main>
</body>
<footer> © ShellHacks 2020 </footer>
</html>