-
Notifications
You must be signed in to change notification settings - Fork 4
/
window.html
295 lines (295 loc) · 15 KB
/
window.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<div id="blip_settings">
<div class="inline-drawer">
<div class="inline-drawer-toggle inline-drawer-header">
<b>Blip</b>
<div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
</div>
<div class="inline-drawer-content">
<div>
<label class="checkbox_label" for="blip_enabled">
<input type="checkbox" id="blip_enabled" name="blip_enabled">
<small>Enabled</small>
</label>
<label class="checkbox_label" for="blip_enable_user">
<input type="checkbox" id="blip_enable_user">
<small>Blip user messages</small>
</label>
<label class="checkbox_label" for="blip_only_quoted">
<input type="checkbox" id="blip_only_quoted">
<small>Only blip for "quotes"</small>
</label>
<label class="checkbox_label" for="blip_ignore_asterisks">
<input type="checkbox" id="blip_ignore_asterisks">
<small>Ignore *text, even "quotes", inside asterisks*</small>
</label>
<label class="checkbox_label" for="blip_auto_scroll_to_animation">
<input type="checkbox" id="blip_auto_scroll_to_animation">
<small>Automatically scroll chat down to follow current text animation.</small>
</label>
<div class="blip-mixer-div">
<div class="blip-mixer-element blip-mixer-mute">
<label for="blip_audio_mute" class="audio-label">Mute</label>
<div id="blip_audio_mute" class="menu_button audio-mute-button">
<i class="fa-solid fa-volume-high fa-lg" id="blip_audio_mute_icon"></i>
</div>
</div>
<div class="blip-mixer-element blip-mixer-volume">
<label for="blip_audio_volume_slider" class="audio-label">Vol <span id="blip_audio_volume"></span></label>
<input type="range" class ="audio-slider" id ="blip_audio_volume_slider" value ="0" maxlength ="100">
</div>
</div>
</div>
<h4 class="center">Characters Voice Mapping</h4>
<div>
<label>Voice Map (debug infos)</label>
<textarea readonly id="blip_voice_map" type="text" class="text_pole textarea_compact" rows="4"
placeholder="Voice map will appear here for debug purpose"></textarea>
<small>
Tips: Use 'default' entry to set a fallback profile.
Click refresh to update the character list.
</small>
</div>
<div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_character_select">Character:</label>
</div>
<div>
<div class="blip-character-select-div">
<div id="blip_character_refresh_button" class="menu_button">
<i class="fa-solid fa-refresh"></i>
<!-- Refresh -->
</div>
<select id="blip_character_select">
<!-- Populated by JS -->
</select>
<!--
<div class="blip_buttons">
<input id="blip_apply" class="menu_button" type="submit" value="Apply" />
</div>
-->
<div id="blip_delete" class="menu_button">
Remove
</div>
</div>
<div>
<label class="checkbox_label" for="blip_show_all_characters">
<input type="checkbox" id="blip_show_all_characters" name="blip_show_all_characters">
<small>Show all characters.</small>
</label>
</div>
</div>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_preset_select">Preset:</label>
</div>
<div>
<div class="blip-character-select-div">
<select id="blip_preset_select">
<!-- Populated by JS -->
</select>
</div>
<div>
<small>Set all settings value to the selected preset.</small>
</div>
</div>
</div>
<div>
<h4>Animation Settings</h4>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_text_speed">
Text speed <br/>(<span id="blip_text_speed_value"></span> ms)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_text_speed" type="range" min="0" max="100" step="5" value="10" />
<small>
Delay between each character is printed.
</small>
</div>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_min_speed_multiplier">
Min speed multiplier <br/>(<span id="blip_min_speed_multiplier_value"></span>x)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_min_speed_multiplier" type="range" min="0.5" max="1" step="0.1" value="1" />
<small>
Minimal multiplier that can be apply to text/audio speed (1 is no change).
</small>
</div>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_max_speed_multiplier">
Max speed multiplier <br/>(<span id="blip_max_speed_multiplier_value"></span>x)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_max_speed_multiplier" type="range" min="1" max="1.5" step="0.1" value="1" />
<small>
Maximal multiplier that can be apply to text/audio speed (1 is no change).
</small>
</div>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_comma_delay">
Comma delay <br/>(<span id="blip_comma_delay_value"></span> ms)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_comma_delay" type="range" min="0" max="1000" step="10" value="0" />
<small>
Delay to wait after printing "," or ";" (pause blip sound).
</small>
</div>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_phrase_delay">
Phrase delay <br/>(<span id="blip_phrase_delay_value"></span> ms)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_phrase_delay" type="range" min="0" max="1000" step="10" value="0" />
<small>
Delay to wait after printing "!" or "?" or "." (pause blip sound).
</small>
</div>
</div>
<div>
<h4 class="blip-parameter-section">Audio Settings</h4>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_audio_volume_multiplier">
Volume multiplier <br/>(<span id="blip_audio_volume_multiplier_value"></span>%)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_audio_volume_multiplier" type="range" min="0" max="100" step="1" value="100" />
<small>
Percent multiplier to global volume.
</small>
</div>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_audio_speed">
Audio speed <br/>(<span id="blip_audio_speed_value"></span> ms)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_audio_speed" type="range" min="0" max="1000" step="10" value="10" />
<small>
Delay between each blip play.
</small>
</div>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_audio_origin">
Blip sound origin
</label>
</div>
<div class="blip-slider-div">
<select id="blip_audio_origin">
<option value="generated">generated</option>
<option value="file">file</option>
</select>
<small>
Tips: blip file are in assets/blip/ folder.
</small>
</div>
</div>
<div id="blip_file_settings">
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_file_asset_select">
Audio File Asset
</label>
</div>
<div class="blip-slider-div">
<div class="blip-file-asset-div">
<div id="blip_file_asset_refresh_button" class="menu_button">
<i class="fa-solid fa-refresh"></i>
<!-- Refresh -->
</div>
<select id="blip_file_asset_select">
<option value="none">Select file</option>
<!-- Populated by JS -->
</select>
</div>
<div>
<label class="checkbox_label" for="blip_audio_play_full">
<input type="checkbox" id="blip_audio_play_full" name="blip_audio_wait">
<small>Wait end of audio to play again.</small>
</label>
</div>
</div>
</div>
<div id="blip_file_settings" class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_audio_min_pitch">
Min. pitch <br/>(<span id="blip_audio_min_pitch_value"></span>)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_audio_min_pitch" type="range" min="0.1" max="5" step="0.1" value="1" />
<small>
Lower/increase sound rate for pitch change.
</small>
</div>
</div>
<div id="blip_file_settings" class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_audio_max_pitch">
Max. pitch <br/>(<span id="blip_audio_max_pitch_value"></span>)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_audio_max_pitch" type="range" min="0.1" max="5" step="0.1" value="1" />
<small>
Lower/increase sound rate for pitch change.
</small>
</div>
</div>
</div>
<div id="blip_generated_settings">
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_generated_min_frequency">
Min. Frequency <br/>(<span id="blip_generated_min_frequency_value"></span>)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_generated_min_frequency" type="range" min="17" max="7000" step="1" value="440" />
<small>
Tips: 440 Hz is a standard middle-A note.
</small>
</div>
</div>
<div class="blip-parameter">
<div class="blip-parameter-title">
<label for="blip_generated_max_frequency">
Max. Frequency <br/>(<span id="blip_generated_max_frequency_value"></span>)
</label>
</div>
<div class="blip-slider-div">
<input id="blip_generated_max_frequency" type="range" min="17" max="7000" step="1" value="440" />
<small>
Tips: 440 Hz is a standard middle-A note.
</small>
</div>
</div>
</div>
</div>
</div>
</div>
</div>