-
Notifications
You must be signed in to change notification settings - Fork 0
/
chromatone-index.html
205 lines (194 loc) · 9.59 KB
/
chromatone-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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<title>Chromatone Helper 🧙 by iostream 2018-2024</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="resources/style.css">
<link rel="stylesheet" href="resources/zebra.css">
<link rel="stylesheet" href="resources/string_instrument.css">
</head>
<body>
<section id="templates">
<!-- the major parts are generated-->
<div class="chromatic keyboard">
<div class="keys"></div>
<div class="description"></div>
</div>
<div class="zebra keyboard">
<div class="keys"></div>
<div class="description"></div>
</div>
<div class="string-instrument">
<div class="frets"></div>
<div class="description"></div>
</div>
<div class="piano-roll">
<canvas class="piano"></canvas>
<div class="scroll">
<canvas class="content"></canvas>
</div>
</div>
<div class="chord-group">
<h2 class="title"></h2>
</div>
<span class="chord-reference-group">
<div class="title"></div>
</span>
<div class="track">
<div class="options secondary-form-elements2">
<span class="chords form-element">
<label for="chords">progression</label>
<select name="chords_preset" class="chords-preset preset"></select>
<textarea name="chords" class="progression" placeholder="chords"></textarea>
<div class="messages"></div>
</span>
<span class="form-element">
<span class="form-element hidden">
<label for="instrument">audio</label>
<select name="audio" class="audio" value="" title="select the audio instrument implementation to be used when using the play button"></select>
</span>
<span class="form-element">
<label for="instrument">audio preset</label>
<select name="audio_preset" class="audio-preset" value="" title="Select an audio preset. Available presets depend on the selected audio instrument implementation."></select>
</span>
<span class="form-element">
<label for="vol">Volume</label>
<input type="range" min="0" max="100" value="100" name="vol" title="set the audio volume of the track">
</span>
<span class="form-element">
<label for="mute">mute</label>
<input type="checkbox" name="mute" class="mute">
</span>
</span>
<span class="form-element">
<span class="form-element">
<label for="instrument">visualization</label>
<select name="instrument" class="instrument" title="the instrument type to be used to display the progression chords">
<option value="chromatic">Chromatone</option>
<option value="zebra">Zebra keyboard</option>
<option class="world" value="piano_roll">Piano Roll</option>
<option class="stringed" value="guitar">Guitar</option>
<option class="stringed" value="bass_guitar">Bass guitar</option>
<option class="stringed" value="concert_ukulele">Concert ukulele</option>
</select>
</span>
<span class="form-element">
<label for="compact">compact</label>
<input type="checkbox" name="compact" class="compact">
</span>
<span class="stringed-options hidden">
<span class="form-element">
<label for="all_registers">all registers</label>
<input type="checkbox" name="all_registers" title="also highlight pitches in different registers, also if they are not part of the chord">
<label for="all_intervals">all intervals</label>
<input type="checkbox" name="all_intervals" title="not only show the first possible interval, but all possible intervals of each pitch">
<label for="chord_mode">chord mode</label>
<input type="checkbox" name="chord_mode" title="Shows each pitch only once, in a way that all can be played at once. If chord mode is off, then all existing pitches are shown.">
</span>
</span>
</span>
</div>
<div class="visualization">
</div>
</div>
<div class="interactive-form">
<form name="interactive" class="form">
<span class="scales form-element">
<div class="scales-controls">
<input type="button" value="add scale" name="add_scale" title="add a scale">
<input type="button" value="remove scale" name="pop_scale" title="remove last scale">
</div>
<div class="scale_container">
<label for="scale">scale</label>
<select name="scale_preset" class="preset"></select>
<input type="text" name="scale" placeholder="scale" class="scale">
<input type="button" value="<" name="shift_scale_left" title="shift the scale one time to the left">
<input type="button" value="-" name="transpose_scale_down" title="transpose the scale one semitone down">
<input type="button" value="+" name="transpose_scale_up" title="transpose the scale one semitone up">
<input type="button" value=">" name="shift_scale_right" title="shift the scale one time to the right">
<div class="messages"></div>
</div>
</span>
<span class="form-element">
<label for="voicing">voicings</label><select name="voicing_preset" class="voicing-preset preset"></select>
<textarea name="voicing" placeholder="voicing" class="voicing"></textarea>
<div class="messages"></div>
</span>
<span class="form-element">
<label for="rhythms">rhythms</label><select name="rhythms_preset" class="rhythms-preset preset"></select>
<textarea name="rhythms" placeholder="rhythms" class="rhythms"></textarea>
<div class="messages"></div>
</span>
<span class="form-element">
<label for="arpeggio patterns">arpeggio patterns</label><select name="arpeggio_patterns_preset" class="arpeggio-patterns-preset preset"></select>
<textarea name="arp" placeholder="arpeggio patterns" class="arpeggio-patterns"></textarea>
<div class="messages"></div>
</span>
<div class="secondary-form-elements">
<span class="form-element">
<span class="form-element transport">
<input type="button" value="▶" name="play" title="play progression" class="lockable"><!--
--><input type="button" value="⏸" name="pause" title="pause progression" class="lockable"><!--
--><input type="button" value="⏹" name="stop" title="stop progression"><!--
--><input type="button" value="<" name="step_backward" title="step backward"><!--
--><input type="button" value=">" name="step_forward" title="step forward">
<span class="form-element">
<label for="loop">loop</label>
<input type="checkbox" name="loop" title="Whether to repeat the played sequence over and over.">
</span>
</span>
<span class="form-element">
<input type="range" min="1" max="350" value="120" name="bpm" title="sets the speed of the playback in beat per minutes">
<input type="text" disabled name="bpm_output" title="the current speed in beat per minutes">
</span>
</div>
<div class="secondary-form-elements">
<span class="form-element">
<label for="preset">preset</label>
<select class="preset" name="preset"></select>
</span>
<!--
<span class="form-element">
<label for="interval_naming">interval naming</label>
<select name="interval_naming">
<option value="relative">relative</option>
<option value="absolute">absolute</option>
</select>
</span>
-->
<span class="form-element">
<input type="button" value="MIDI" name="generate_midi" title="download midi out of the generated progression">
</span>
<span class="form-element">
<label for="upload_to_daw">Update DAW</label>
<input type="checkbox" value="upload to DAW" name="upload_to_daw" title="also send generated progressions to server to update DAW">
</span>
</div>
<input style="display:none" type="submit" value="⛵" name="update">
<div class="sequencer">
<div class="administration">
<input type="button" class="add_track" value="add track" name="add_track" title="add a track">
<input type="button" class="remove_track" value="remove track" name="remove_track" title="remove last added track">
</div>
<div class="tracks"></div>
</div>
</form>
<div class="result">
</div>
<form class="utility-form">
<span class="form-element">
<select name="pocket_knife">
<option value="localhost">switch to localhost</option>
<option value="www">switch to www</option>
<option value="file">get local path</option>
</select>
</span>
</form>
</div>
</section>
<section id="interactive">
</section>
<!-- see src/main.js -->
<script src="dist/bundle.js"></script>
</body>
</html>