-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
126 lines (120 loc) · 5.1 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="author" content="Camilo Hernández">
<meta name="description" content="A simple tool for generating guitar tabs.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CookieBakery</title>
<link rel="shortcut icon" href="favicon/favicon.ico">
<link rel="icon" type="image/gif" href="favicon/favicon.gif">
<link rel="stylesheet" href="CookieBakery.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://unpkg.com/tone@13.4.9/build/Tone.js"></script>
</head>
<body>
<div id="div_generator">
<div id="div_settings_and_info">
<div id="div_page_info" class="settings_and_info">
<a href="https://github.com/blobbeliblob/CookieBakery" target="_blank">
<img src="GitHub-Mark/PNG/GitHub-Mark-120px-plus.png" alt="GitHub" title="Find the source code on GitHub" style="width:48px;height:48px;border:0;">
</a>
<br><br>
made by <br>blobbeliblob
</div>
<div id="gen_set_3" class="settings_and_info">
<!-- play button -->
<div id="div_button_play">
<button type="button" id="button_play" class="button" title="Play the tab" data-playing="false" role="switch" aria-checked="false">Play/Pause</button>
</div>
<!-- tempo slider -->
<div id="div_tempo_slider">
<p>Tempo: <span id="tempo_display"></span> bpm</p>
<input name="tempo" id="tempo" class=".range" type="range" min="40" max="220" value="100" step="1" />
</div>
<!-- save button -->
<div id="div_button_save">
<button type="button" id="button_save" class="button" title="Save the tab">Save</button>
</div>
</div>
<div id="gen_set_2" class="settings_and_info">
<!-- number of strings -->
<div id="div_strings">
<p>Number of strings</p>
<select id="strings" title="Number of strings on the instrument" class="select">
</select>
</div>
<!-- number of frets -->
<div id="div_frets">
<p>Number of frets</p>
<select id="frets" title="Number of frets on the instrument" class="select">
</select>
</div>
<!-- number of notes in the melody -->
<div id="div_notes">
<p>Number of notes</p>
<select id="notes" title="Number of notes in the generated melody" class="select">
</select>
</div>
<!-- maximum jump between strings -->
<div id="div_max_string_jump">
<p>Maximum string jump</p>
<select id="max_string_jump" title="The largest possible string jump between consecutive notes" class="select">
</select>
</div>
<!-- maximum jump between frets -->
<div id="div_max_fret_jump">
<p>Maximum fret jump</p>
<select id="max_fret_jump" title="The largest possible fret jump between consecutive notes" class="select">
</select>
</div>
<!-- type of tab -->
<div id="div_tab_type">
<p>Type of tab</p>
<select id="tab_type" title="The type of tab to be generated" class="select">
</select>
</div>
<!-- random notes -->
<div id="div_random_notes">
<label for="random_notes_checkbox">Random notes</label>
<input type="checkbox" name="random_notes_checkbox" title="The generated tab may include random notes not in the selected mode" id="random_notes_checkbox" class="checkbox" value="">
</div>
</div>
<div id="gen_set_1" class="settings_and_info">
<!-- root selection -->
<div id="div_root">
<p>Root</p>
<select id="root" title="The root of the mode" class="select">
</select>
</div>
<!-- mode selection -->
<div id="div_mode">
<p>Mode</p>
<div id="div_mode_select">
<select id="mode_select" title="The mode to be used" class="select">
</select>
</div>
<div id="div_mode_checkboxes">
</div>
</div>
<!-- tuning selection -->
<div id="div_tuning_and_pitch">
</div>
<!-- generate button -->
<div id="div_button_generate">
<button type="button" id="button_generate" class="button" title="Generate a new tab">Generate</button>
</div>
<!-- fancier displaying of the tab -->
<div id="div_nice_print">
<label for="nice_print_checkbox">Print nicely</label>
<input type="checkbox" name="nice_print_checkbox" title="Make the output a bit nicer" id="nice_print_checkbox" class="checkbox" value="">
</div>
</div>
</div>
<script src="CookieBakery.js"></script>
<div id="div_tab">
</div>
<script src="Generator.js"></script>
</div>
</body>
</html>