-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (26 loc) · 871 Bytes
/
Copy pathindex.html
File metadata and controls
29 lines (26 loc) · 871 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf‐8">
<title> Hello web audio </title>
</head>
<body>
<p>This is an almost minimal command-based live coding engine. Press the button to re-evaluate your code.
This language allows you to specify a rhythmic pattern of beats by entering a space-separated list of times and
pitches.
You can also include javascript computation in the values.
As an example:
</p>
<p>1+1@220 2@220*2 1*3@270</p>
<button>re-evaluate</button>
<input type="text" id="code">
<p>Waveform:</p>
<select id="waveform_select">
<option value="sine">Sine</option>
<option value="sawtooth">Sawtooth</option>
<option value="square">Square</option>
<option value="triangle">Triangle</option>
</select>
</body>
<script src="main.js"> </script>
</html>