-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (56 loc) · 3.73 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
<head>
<title>abduhslab</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/style.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="fb-root"></div>
<script type="text/javascript">
function flipfunction()
{
window.contextSource.translate(640, 0);
window.contextSource.scale(-1, 1);
}
</script>
<div id="container">
<video id="webcam" autoplay width="640" height="480"></video>
<canvas id="canvassource" width="640" height="480"></canvas>
<canvas style="display:none;" id="canvas" width="640" height="480"></canvas>
<br>
<button id="mute-button" onclick="doMute()"> Mute/Unmute </button>
<div id="texte">
<h3 id="vol">
-
</h3> <h2 id="lefttext">Use your left hand to control the volume </h2>
<h2 id="righttext">Use your right hand to control the pitch </h2>
<h3 id="chord">
-
</h3>
<div>
<h2>or vice versa<h2>
<p>Need camera permission to run this. Turn your webcam and speaker on </br> and turn down your speaker's volume into adequate level.</p>
</div>
<section class="settings">
<h3>This is the place where you can flip your screen if it is flipped or change your wave form to make a different sound.</h3>
<button onclick="flipfunction()" style="margin-bottom: 5px;"> Click here to flip screen back if your screen is flipped </button></br>
<div class="styled-select">
Select Wave Form
<br>
<select id="selectwave">
<option value="0" selected>Sine</option>
<option value="1">Square</option>
<option value="2">Sawtooth</option>
<option value="3">Triangle</option>
</select>
</div>
</section>
<div class="footer-copyright text-center py-3" style="margin: 10px;">
<style>.bmc-button img{width: 35px !important;margin-bottom: 1px !important;box-shadow: none !important;border: none !important;vertical-align: middle !important;}.bmc-button{padding: 7px 10px 7px 10px !important;line-height: 35px !important;height:51px !important;min-width:217px !important;text-decoration: none !important;display:inline-flex !important;color:#ffffff !important;background-color:#FF813F !important;border-radius: 5px !important;border: 1px solid transparent !important;padding: 7px 10px 7px 10px !important;font-size: 20px !important;letter-spacing:-0.08px !important;box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;margin: 0 auto !important;font-family:'Lato', sans-serif !important;-webkit-box-sizing: border-box !important;box-sizing: border-box !important;-o-transition: 0.3s all linear !important;-webkit-transition: 0.3s all linear !important;-moz-transition: 0.3s all linear !important;-ms-transition: 0.3s all linear !important;transition: 0.3s all linear !important;}.bmc-button:hover, .bmc-button:active, .bmc-button:focus {-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;text-decoration: none !important;box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;opacity: 0.85 !important;color:#ffffff !important;}</style><link href="https://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext" rel="stylesheet"><a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/mabdh"><img src="https://cdn.buymeacoffee.com/buttons/bmc-new-btn-logo.svg" alt="Buy me a coffee"><span style="margin-left:15px;font-size:19px !important;">Buy me a coffee</span></a>
</div>
<script src="js/jquery.js"></script>
<script src="js/theremin.js"></script>
</body>
</html>