-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClock.html
53 lines (42 loc) · 1.21 KB
/
Clock.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
<!DOCTYPE html>
<html>
<head>
<title>
Eartraining Clock
</title>
<style>
canvas {
/* border: 1px solid black; */
font-weight: 900;
background-color: #ffffff;
}
</style>
<script type="text/javascript" src="http://www.guitarland.com/javascripts/Tone.js"></script>
<script type="text/javascript" src="http://www.guitarland.com/javascripts/StartAudioContext.js"></script>
<script src="https://unpkg.com/vue"></script>
<script type="text/javascript">
/*---------------------------------------
//create an audio context
window.AudioContext = window.AudioContext || window.webkitAudioContext
var audioContext = new AudioContext()
//set the context
// StartAudioContext(audioContext, ".starterButton").then(function(){
// document.querySelector("#isStarted").textContent = "Started"
// })
//-------------------------------------------*/
</script>
<!--
<script src="https://unpkg.com/unmute" data-add-button="true"></script>
-->
</head>
<body>
<canvas id="clockCanvas" width="200" height="200">
</canvas>
<div id="alarmDiv"></div>
<div id="alarmButtons"></div>
<div id="on_off_checkboxes"></div>
<div id="alarmDetailsDiv"></div>
<div id="alarmCountdownDiv"></div>
<script src="canvasClock.js"></script>
</body>
</html>