forked from paulrosen/abcjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabc_editor.html
More file actions
53 lines (47 loc) · 1.16 KB
/
abc_editor.html
File metadata and controls
53 lines (47 loc) · 1.16 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>abcjs: Tune Editor demo</title>
<script src="bin/abcjs_editor_latest-min.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function() {
new ABCJS.Editor("abc", { canvas_id: "canvas",
midi_id: "midi",
warnings_id: "warnings",
parser_params: {}
});
new ABCJS.Editor("abc2", {generate_midi: true, generate_warnings: false});
}
</script>
</head>
<body>
<textarea id="abc" cols="80" rows="15">X: 1
T: Cooley's
M: 4/4
L: 1/8
R: reel
K: Emin
|:D2|EB{c}BA B2 EB|~B2 AB dBAG|FDAD BDAD|FDAD dAFD|
EBBA B2 EB|B2 AB defg|afe^c dBAF|DEFD E2:|
|:gf|eB B2 efge|eB B2 gedB|A2 FA DAFA|A2 FA defg|
eB B2 eBgB|eB B2 defg|afe^c dBAF|DEFD E2:|
</textarea>
<div id="warnings"></div>
<hr>
<div id="midi"></div>
<div id="canvas"></div>
<hr>
<textarea id="abc2" cols="80" rows="15">X: 1
T: Cooley's
M: 4/4
L: 1/8
R: reel
K: Emin
|:D2|EB{c}BA B2 EB|~B2 AB dBAG|FDAD BDAD|FDAD dAFD|
EBBA B2 EB|B2 AB defg|afe^c dBAF|DEFD E2:|
|:gf|eB B2 efge|eB B2 gedB|A2 FA DAFA|A2 FA defg|
eB B2 eBgB|eB B2 defg|afe^c dBAF|DEFD E2:|
</textarea>
</body>
</html>