-
Notifications
You must be signed in to change notification settings - Fork 0
/
vehicles.html
529 lines (512 loc) · 24.4 KB
/
vehicles.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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
---
layout: default
title: Vehicles - HLL Sound Guide
---
<div class="container-fluid" style="height:200px; background-image:url('./vehicles.jpg');background-position: center; margin-bottom: 1.5em; filter: blur(1px)">
</div>
<div class="container">
<div class="row">
<div class="col col-lg-6">
<div class="card">
<div class="card-header">
<h4>Vehicles Test</h4>
</div>
<div class="card-body">
<audio id="audio" controls style="margin-bottom: 15px; width: 100%;">
<source id="audio-clip" type="audio/mpeg" src="">
Your browser does not support the audio element.
</audio>
<br>
<button id="submit" type="button" class="btn btn-primary" disabled="true" style="margin-bottom: 15px; width: 100%"
data-bs-toggle="modal" data-bs-target="#resultModal">
Submit
</button>
<div id="options" style="margin-bottom:15px"></div>
<small class="text-muted">Tips/Notes</small>
<ul class="text-muted" style="margin-bottom: 0">
<li><small>
Thanks to RyanCraig37 for assisting with sound recording.
</small></li>
<li><small>
Determine tank/vehicle type just from sound without even having to see it.
</small></li>
<li><small>
TODO: Missing recording of British Recon Tank, Daimler.
</small></li>
</ul>
</div>
</div>
</div>
<div class="col col-lg-6">
<div class="card">
<div class="card-header">
<h4>Vehicles Reference</h4>
</div>
<div class="card-body">
<div id="reference"></div>
<script>
const separate_reference = true;
const TESTS = {
truckEng: {
name: 'Truck (Any)',
icons: ['british', 'german', 'soviet', 'usa'],
sounds: [
'brit truck.mp3',
'brit truck.mp3',
'ger truck.mp3',
'ger truck 2.mp3',
'soviet truck.mp3',
'soviet truck 2.mp3',
'us truck.mp3',
'us truck 2.mp3',
],
},
jeepEng: {
name: 'Jeep (Any)',
icons: ['british', 'german', 'soviet', 'usa'],
sounds: [
'brit jeep.mp3',
'brit jeep 2.mp3',
'ger jeep.mp3',
'ger jeep 2.mp3',
'soviet jeep.mp3',
'soviet jeep 2.mp3',
'us jeep.mp3',
'us jeep 2.mp3',
],
},
halftrackEng: {
name: 'Halftrack (Any)',
icons: ['british', 'german', 'soviet', 'usa'],
sounds: [
'brit m3 halftrack driving.mp3',
'ger halftrack driving.mp3',
'soviet m3 halftrack driving.mp3',
'us halftrack driving.mp3',
],
},
br: {name:'break'},
germanTiger: {
name: 'Tiger Heavy Tank',
icons: ['german'],
sounds: [
'ger tiger driving.mp3',
'ger tiger driving 2.mp3',
'ger tiger driving 3.mp3',
]
},
germanPanther: {
name: 'Panther Heavy Tank',
icons: ['german'],
sounds: [
'ger panther driving.mp3',
'ger panther driving 2.mp3',
'ger panther driving 3.mp3',
]
},
germanPz4: {
name: 'Panzer 4 Medium Tank',
icons: ['german'],
sounds: [
'ger pz4 driving.mp3',
'ger pz4 driving 2.mp3',
]
},
sovietIs1: {
name: 'Soviet IS1 Heavy Tank',
icons: ['soviet'],
sounds: [
'soviet heavy driving.mp3',
'soviet heavy driving 2.mp3',
]
},
sovietT34: {
name: 'Soviet T34 Medium Tank',
icons: ['soviet'],
sounds: [
'soviet medium driving.mp3',
'soviet medium driving 2.mp3',
'soviet medium driving 3.mp3',
]
},
shermanMedHeavy: {
name: 'Sherman Med/75/76/Firefly',
icons: ['british', 'usa'],
sounds: [
'brit firefly driving.mp3',
'us medium driving.mp3',
'us medium driving 2.mp3',
'us jumbo 75 driving.mp3',
'us jumbo 76 driving.mp3',
'us jumbo 76 driving 2.mp3',
]
},
britMedHeavy: {
name: 'British Churchill/Cromwell Tank',
icons: ['british'],
sounds: [
'brit churchill driving.mp3',
'brit churchill driving 2.mp3',
'brit churchill driving 3.mp3',
'brit cromwell driving.mp3',
'brit cromwell driving 2.mp3',
]
},
lightTank: {
name: 'Light Tank (Any)',
icons: ['british', 'german', 'soviet', 'usa'],
sounds: [
'brit tetrach driving.mp3',
'brit tetrach driving 2.mp3',
'us light driving.mp3',
'us light driving 2.mp3',
'soviet light driving.mp3',
'soviet light driving 2.mp3',
'ger luchs driving.mp3',
'ger luchs driving.mp3',
'ger luchs shooting.mp3',
]
},
reconTank: {
name: 'Recon Tank (Any)',
icons: ['british', 'german', 'soviet', 'usa'],
sounds: [
'us recon driving.mp3',
'us recon driving 2.mp3',
'soviet recon driving.mp3',
'soviet recon driving.mp3',
'ger recon driving.mp3',
'ger recon driving 2.mp3',
]
},
}
const REF = {
usTruck: {
name: 'US Truck',
icons: ['usa'],
sounds: [
'us truck.mp3',
'us truck 2.mp3',
],
shooting: []
},
usJeep: {
name: 'US Jeep',
icons: ['usa'],
sounds: [
'us jeep.mp3',
'us jeep 2.mp3',
],
shooting: []
},
usHalftrack: {
name: 'US M3 Halftrack',
icons: ['usa'],
sounds: ['us halftrack driving.mp3'],
shooting: ['us halftrack shooting.mp3']
},
usReconTank: {
name: 'US Greyhound Recon Tank',
icons: ['usa'],
sounds: [
'us recon driving.mp3',
'us recon driving 2.mp3',
],
shooting: [
'us recon shooting.mp3',
'us recon shooting 2.mp3',
]
},
usLightTank: {
name: 'US Stuart Light Tank',
icons: ['usa'],
sounds: [
'us light driving.mp3',
'us light driving 2.mp3',
],
shooting: [
'us light shooting.mp3',
]
},
usMedium: {
name: 'US Medium Tank',
icons: ['usa'],
sounds: [
'us medium driving.mp3',
'us medium driving 2.mp3',
],
shooting: [
'us medium shooting.mp3',
]
},
usJumbo75: {
name: 'US Jumbo 75 Heavy Tank',
icons: ['usa'],
sounds: [
'us jumbo 75 driving.mp3',
],
shooting: [
'us jumbo 75 shooting.mp3',
]
},
usJumbo76: {
name: 'US Jumbo 76 Heavy Tank',
icons: ['usa'],
sounds: [
'us jumbo 76 driving.mp3',
],
shooting: [
'us jumbo 76 shooting.mp3',
]
},
br: {name:'break'},
gerTruck: {
name: 'German Truck',
icons: ['german'],
sounds: [
'ger truck.mp3',
'ger truck 2.mp3',
],
shooting: []
},
gerJeep: {
name: 'German Jeep',
icons: ['german'],
sounds: [
'ger jeep.mp3',
'ger jeep 2.mp3',
],
shooting: []
},
gerHalftrack: {
name: 'German Halftrack',
icons: ['german'],
sounds: ['ger halftrack driving.mp3'],
shooting: ['ger halftrack shooting.mp3']
},
gerReconTank: {
name: 'German Puma Recon Tank',
icons: ['german'],
sounds: [
'ger recon driving.mp3',
'ger recon driving 2.mp3',
],
shooting: [
'ger recon shooting.mp3',
]
},
gerLightTank: {
name: 'German Luchs Light Tank',
icons: ['german'],
sounds: [
'ger luchs driving.mp3',
],
shooting: [
'ger luchs shooting.mp3',
]
},
gerMediumTank: {
name: 'German Panzer IV Medium Tank',
icons: ['german'],
sounds: [
'ger pz4 driving.mp3',
'ger pz4 driving 2.mp3',
],
shooting: [
'ger pz4 shooting.mp3',
]
},
gerTigerTank: {
name: 'German Tiger Heavy Tank',
icons: ['german'],
sounds: [
'ger tiger driving.mp3',
'ger tiger driving 2.mp3',
],
shooting: [
'ger tiger shooting.mp3',
]
},
gerPantherTank: {
name: 'German Panther Heavy Tank',
icons: ['german'],
sounds: [
'ger panther driving.mp3',
'ger panther driving 2.mp3',
'ger panther driving 3.mp3',
],
shooting: [
'ger panther shooting.mp3',
]
},
br2: {name:'break'},
sovTruck: {
name: 'Soviet Truck',
icons: ['soviet'],
sounds: [
'soviet truck.mp3',
'soviet truck 2.mp3',
],
shooting: []
},
sovJeep: {
name: 'Soviet Jeep',
icons: ['soviet'],
sounds: [
'soviet jeep.mp3',
'soviet jeep 2.mp3',
],
shooting: []
},
sovHalftrack: {
name: 'Soviet M3 Halftrack',
icons: ['soviet'],
sounds: ['soviet m3 halftrack driving.mp3'],
shooting: ['soviet m3 halftrack shooting.mp3']
},
sovReconTank: {
name: 'Soviet BA-10 Recon Tank "Clown Car"',
icons: ['soviet'],
sounds: [
'soviet recon driving.mp3',
'soviet recon driving 2.mp3',
],
shooting: [
'soviet recon shooting.mp3',
]
},
sovLightTank: {
name: 'Soviet T-70 Light Tank',
icons: ['soviet'],
sounds: [
'soviet light driving.mp3',
'soviet light driving 2.mp3',
],
shooting: [
'soviet light shooting.mp3',
]
},
sovMediumTank: {
name: 'Soviet T-34 Medium Tank',
icons: ['soviet'],
sounds: [
'soviet medium driving.mp3',
'soviet medium driving 2.mp3',
'soviet medium driving 3.mp3',
],
shooting: [
'soviet medium shooting.mp3',
'soviet medium shooting 2.mp3',
]
},
sovHeavyTank: {
name: 'Soviet IS-1 Heavy Tank',
icons: ['soviet'],
sounds: [
'soviet heavy driving.mp3',
'soviet heavy driving 2.mp3',
],
shooting: [
'soviet heavy shooting.mp3',
'soviet heavy shooting 2.mp3',
]
},
br3: {name:'break'},
britTruck: {
name: 'British Truck',
icons: ['british'],
sounds: [
'brit truck.mp3',
],
shooting: []
},
britJeep: {
name: 'British Jeep',
icons: ['british'],
sounds: [
'brit jeep.mp3',
'brit jeep 2.mp3',
],
shooting: []
},
britHalftrack: {
name: 'British M3 Halftrack',
icons: ['british'],
sounds: [
'brit m3 halftrack driving.mp3',
],
shooting: ['brit m3 halftrack shooting.mp3']
},
// britReconTank: {
// name: 'British Diamler Recon Tank',
// icons: ['british'],
// sounds: [
// 'brit recon driving.mp3',
// 'brit recon driving 2.mp3',
// ],
// shooting: [
// 'brit recon shooting.mp3',
// ]
// },
britLightTank: {
name: 'British Tetrarch Light Tank',
icons: ['british'],
sounds: [
'brit tetrach driving.mp3',
'brit tetrach driving 2.mp3',
],
shooting: [
'brit tetrach shooting.mp3',
]
},
britMediumTank: {
name: 'British Cromwell Medium Tank',
icons: ['british'],
sounds: [
'brit cromwell driving.mp3',
'brit cromwell driving 2.mp3',
],
shooting: [
'brit cromwell shooting.mp3',
]
},
britFireflyTank: {
name: 'British Firefly Heavy Tank',
icons: ['british'],
sounds: [
'brit firefly driving.mp3',
],
shooting: [
'brit firefly shooting.mp3',
]
},
britChurchillTank: {
name: 'British Churchill Heavy Tank',
icons: ['british'],
sounds: [
'brit churchill driving.mp3',
'brit churchill driving 2.mp3',
'brit churchill driving 3.mp3',
],
shooting: [
'brit churchill shooting.mp3',
]
},
br4: {name:'break'},
br5: {name:'break'},
br6: {name:'break'},
forRyan: {
name: 'British Craigwell 37 (for Ryan)',
icons: ['british'],
sounds: [],
shooting: [
'brit craigwell 37.mp3',
]
},
}
</script>
</div>
</div>
</div>
</div>
</div>