forked from AlexIII/web-wav-converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwav-conv.html
68 lines (62 loc) · 2.76 KB
/
wav-conv.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="wav-conv.css">
</head>
<title>MP3 to WAV converter</title>
<body>
<div class="overlay-wait"></div>
<div class="page-wrapper">
<h1>MP3 to WAV converter</h1>
<h2>Works offline*. Processes files in bulk. Accepts most audio formats.</h2>
<p class="fx-notice">Consider using this converter in <a href="https://www.mozilla.org/en-US/firefox/new/" target="_blank">Firefox</a>.</p>
<p class="fx-notice">Firefox provides much better resampling quality, which especially noticeable on low sample rates (e.g. 8000).</p>
<div class="drag-and-drop-area">
Darg & drop audio files here
or <label class="custom-file-input" for="file-input"></label>
<input id="file-input" type="file" multiple="multiple" accept="audio/*" style="display: none">
</div>
<div class="wav-settings">
<label for="wav-bit-depth">Bit-depth</label>
<select id="wav-bit-depth">
<option value="16" selected>16</option>
<option value="8">8</option>
</select>
<label for="wav-channels">Channels</label>
<select id="wav-channels">
<option value="both" selected>2</option>
<option value="mix">1 - mix</option>
<option value="left">1 - left</option>
<option value="right">1 - right</option>
</select>
<label for="wav-sample-rate">Sample rate</label>
<select id="wav-sample-rate">
<option value="48000" selected>48000</option>
<option value="44100">44100</option>
<option value="32000">32000</option>
<option value="28000">28000</option>
<option value="24000">24000</option>
<option value="20000">20000</option>
<option value="16000">16000</option>
<option value="12000">12000</option>
<option value="10000">10000</option>
<option value="8000">8000</option>
</select>
</div>
<table class="file-table">
<tbody id="file-table-body">
</tbody>
</table>
<div>
<input id="clear-button" type="button" value="Clear" disabled></input>
<input id="save-button" type="button" value="Convert and save" disabled></input>
</div>
<footer>
<p>* just Ctrl+S this html page and use it offline!</p>
<p>© 2020 <a href="https://github.com/AlexIII/web-wav-converter" target="_blank">github.com/AlexIII</a></p>
</footer>
</div>
<script src="wav-conv.js"></script>
</body>
</html>