-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (79 loc) · 2.67 KB
/
Copy pathindex.html
File metadata and controls
110 lines (79 loc) · 2.67 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Web Audio Synth</title>
<meta name="Synthesizer written using the Web Audio API." content="Dub Synth">
<meta name="Erik Kimsey" content="Front-End Developer -> www.erikkimsey.com">
<link href='https://fonts.googleapis.com/css?family=Marck+Script' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="main.css">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body class="fade-in">
<div id="bigO">
<canvas id="canvas" width="700px" height="360px">
</canvas>
<h1 id="h1"></h1>
<div id="container">
<!-- <img src="images/woodshp.png" id="woodshp" alt="image" name="Image, wood shape" /> -->
<img src="images/mossDot.png" id="WavDisplay"/>
</div>
<div id="instructs">
<!-- <h2 id="dotH1">DOTDUBx1 Synthesizer</h2> -->
<p id="instrP">
This is a simple synthesizer, built using the Web Audio API & housed in an abstract design, which will accompany a drum sequencer and other instruments in web-based DAW. <br />To play with the synthesizer:<br />
Press keys: 'z', 's', 'x', 'd', 'c', 'v', 'g', 'b', 'h', 'n', 'j', 'm', and '.' . </br>
Click the Lichen to change your synth's wavetype.
</p>
<a href="https://github.com/ErikKimsey/Simple_Synthesizer_usingWebAudioAPI">Source Code</a>
<h2 id="ekDOTcom">www.erikkimsey.com</h2>
</div>
</div>
<!-- <div id="keyBdToggle">
KeyBoard
</div> -->
<!-- TODO:
Create a visual keyboard for click and touch events to trigger synth playback.
Use an icon/button to show/hide the keyboard.
Give the element a forward z-index.
Draw the keyboard dynamically? Or hardcode?
Set keys in an array.
- set element of the key array to corresponding index of the keycode array. This should play sound.
-->
<!--
<div id="keyboard">
<div class="key white">
</div>
<div class="key black">
</div>
<div class="key white">
</div>
<div class="key black">
</div>
<div class="key white">
</div>
<div class="key white">
</div>
<div class="key black">
</div>
<div class="key white">
</div>
<div class="key black">
</div>
<div class="key white">
</div>
<div class="key black">
</div>
<div class="key white">
</div>
<div class="key white">
</div>
</div> -->
<script src="data.js"></script>
<script src="Key.js"></script>
<script src="Synth.js"></script>
<!-- <script src="app.js"></script> -->
</body>
</html>