-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (71 loc) · 3.23 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ABCD music editor</title>
<script
src="https://cdn.jsdelivr.net/combine/npm/tone@14.7.58,npm/@magenta/music@1.23.1/es6/core.js,npm/focus-visible@5,npm/html-midi-player@1.5.0"></script>
<script src="https://unpkg.com/tone"></script>
<script src="https://unpkg.com/tone"></script>
<script src="https://francoisschwarzentruber.github.io/textmapeditor/textmapeditor.js"></script>
<script src="https://unpkg.com/javascript-lp-solver/prod/solver.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="lib/abcjs-audio.css" media="all" type="text/css" />
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="stylePrint.css">
</head>
<body>
<dialog id="dialogOpen">
<p>Open an existing already saved score:</p>
<select name="cars" id="selectFilename">
</select>
<button id="dialogOpenButtonOpen">Open</button>
<button id="dialogOpenButtonCancel">Cancel</button>
</dialog>
<div id="toolbar">
<span class="toolbarPart">
<button id="buttonDialogOpen" title="open a score">📂</button>
<button id="buttonSave" title="save the score">💾</button>
<button id="buttonPrint" title="print the score" onclick="window.print()">⎙</button>
</span>
<span class="toolbarPart">
<button id="buttonExportMIDI">MIDI</button>
<button id="buttonExportABC">ABC</button>
</span>
<div class="toolbarPart" id="toolbarInsert"></div>
<span hidden="hidden" class="toolbarPart">
<button title="shift one octave down" id="button8down">8↓</button>
<button title="shift one octave up" id="button8up">8↑</button>
<input id="inputOctave" title="indicate the pitch shift (' or '' or ''' etc. or , or ,, or ,,, etc.)"
value="'" maxlength="4"></input>
</span>
<button id="buttonClean" title="indent the code (still in developpement)">🧹</button>
<input checked type="checkbox" id="recordMidi">
<label for="recordMidi" title="works on Chrome only">record Midi</label>
<a id="help" href="https://github.com/francoisschwarzentruber/abcd" target="_blank">?</a>
<div id="midi">
</div>
</div>
<div>
<div id="audio"></div>
<text-map-editor id="editor" tabindex="1"></text-map-editor>
<div id="outputWrapper">
<div id="output"></div>
</div>
</div>
<script src="lib/abcjs-basic-min.js"></script>
<script src="lib/abcjs-basic-min.js"></script>
<script src="js/rhythmguess.js"></script>
<script src="js/save.js"></script>
<script src="js/editor.js"></script>
<script src="js/abcd2abc.js"></script>
<script src="js/duration.js"></script>
<script src="js/element.js"></script>
<script src="js/pitch.js"></script>
<script src="js/harmony.js"></script>
<script src="js/midiinput.js"></script>
<script src="js/playnote.js"></script>
<script src="js/gui.js"></script>
<script src="js/midiinputgui.js"></script>
</body>
</html>