-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (72 loc) · 3.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Web Audio Api | Automation</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta content="no-cache, no-store, must-revalidate" http-equiv="Cache-Control" />
<meta content="no-cache" http-equiv="Pragma" />
<meta content="0" http-equiv="Expires" />
<link rel="apple-touch-icon" href="./apple-touch-icon.png">
<link rel="icon" href="favicon.ico" type=“image/x-icon”>
<link rel="shortcut icon" href="./favicon.ico" type=“image/x-icon”>
<link rel="preload" href="./fonts/Open_Sans/static/OpenSans/OpenSans-Regular.ttf" as="font" type="font/ttf"
crossorigin>
<link href="./bin/main.css" rel="stylesheet" />
<script src="./bin/main.js" type="module"></script>
</head>
<body>
<main class="invisible">
<h1>Web Audio Api | Automator</h1>
<div class="center">
<div class="preview">
<div class="canvas"><canvas></canvas></div>
<div class="settings"></div>
</div>
<div class="examples">
<span>Examples:</span>
</div>
<div class="editor">
<!--suppress HtmlFormInputWithoutLabel -->
<div id="container" style="border:1px solid grey"></div>
<script src="./monaco-editor/min/vs/loader.js"></script>
<script>
require.config({ paths: { vs: './monaco-editor/min/vs' } })
require(['vs/editor/editor.main'], function () {
window.editor = monaco.editor.create(document.getElementById('container'), { language: 'javascript' })
window.editor.setValue("")
});
</script>
<code class="error-message"></code>
</div>
<footer>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioParam#methods" target="_blank">AudioParam
- Web APIs | MDN</a>
<hr>
<div>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueAtTime"
target="_blank">setValueAtTime(value, startTime)</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/linearRampToValueAtTime"
target="_blank">linearRampToValueAtTime(value, endTime)</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/exponentialRampToValueAtTime"
target="_blank">exponentialRampToValueAtTime(value, endTime)</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setTargetAtTime"
target="_blank">setTargetAtTime(target, startTime, timeConstant)</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueCurveAtTime"
target="_blank">setValueCurveAtTime(values, startTime, duration)</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelScheduledValues"
target="_blank">cancelScheduledValues(startTime)</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelAndHoldAtTime"
target="_blank">cancelAndHoldAtTime(cancelTime)</a>
</div>
</footer>
</div>
</main>
<svg class="preloader" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<circle r="7" cx="10" cy="10" fill="none" stroke="#21242D" stroke-width="5"></circle>
<circle r="7" cx="10" cy="10" fill="none" stroke="#666D91" stroke-width="5" class="progress"></circle>
</svg>
</body>
</html>