-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (85 loc) · 4.57 KB
/
index.html
File metadata and controls
86 lines (85 loc) · 4.57 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>captionVoice</title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>\
<script type="text/javascript" src="js/buffer.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<div id="target"></div>
<div id="settings">
<fieldset>
<legend>Эквалайзер</legend>
<label>20 Гц<b>(-1)</b><br />
<input id="filter_20" class="vocoder-option" type="range" name="filter_20" step="0.1" min="-30" max="30" value="-1"/>
</label>
<label>50 Гц<b>(0)</b><br />
<input id="filter_50" class="vocoder-option" type="range" name="filter_50" step="0.1" min="-30" max="30" value="0"/>
</label>
<label>75 Гц<b>(0.6)</b>
<input id="filter_75" class="vocoder-option" type="range" name="filter_75" step="0.1" min="-30" max="30" value="0.6"/>
</label>
<label>560 Гц<b>(-0.3)</b>
<input id="filter_560" class="vocoder-option" type="range" name="filter_560" step="0.1" min="-30" max="30" value="-0.3"/>
</label>
<label>2000 Гц<b>(-0.6)</b>
<input id="filter_2000" class="vocoder-option" type="range" name="filter_2000" step="0.1" min="-30" max="30" value="-0.6"/>
</label>
<label>5000 Гц<b>(-4.9)</b>
<input id="filter_5000" class="vocoder-option" type="range" name="filter_5000" step="0.1" min="-30" max="30" value="-4.9"/>
</label>
<label>8000 Гц<b>(0)</b>
<input id="filter_8000" class="vocoder-option" type="range" name="filter_8000" step="0.1" min="-30" max="30" value="0"/>
</label>
<label>16000 Гц<b>(0)</b>
<input id="filter_16000" class="vocoder-option" type="range" name="filter_16000" step="0.1" min="-30" max="30" value="0"/>
</label>
</fieldset>
<fieldset>
<legend>Тембр</legend>
<label>
Коэффициент<b>(0.82)</b>
<input type="range" class="vocoder-option" id="pitchShift" name="pitchShift" step="0.01" min="0.5" max="2" value="0.82"/>
</label>
<label>
Перекрытие<b>(0.58)</b>
<input type="range" class="vocoder-option" id="overLap" name="overLap" step="0.01" min="0" max="0.75" value="0.58"/>
</label>
</fieldset>
<fieldset>
<legend>Искажение</legend>
<label>Растройка<b>(99)</b>
<input id="сarrier-detune" class="vocoder-option" type="range" name="detune" step="1" min="-1200" max="1200" value="99"/>
</label>
<label>Усилитель<b>(0.58)</b>
<input id="сarrier-gain" class="vocoder-option" type="range" name="сarrier-gain" step="0.1" min="-2" max="2" value="0.58"/>
</label>
</fieldset>
<!--<fieldset>
<legend>Настройка фонового звука</legend>
<input id="bg-gain" class="vocoder-option" type="range" name="gain" step="0.1" min="0" max="2" value="0.1"/>
</fieldset>-->
<fieldset>
<legend>Громкость</legend>
<input id="voice-gain" class="vocoder-option" type="range" name="voice-gain" step="0.2" min="0" max="4" value="1"/>
</fieldset>
<fieldset id="playManagmentBlock">
<legend>Управление</legend>
<button id="playManagment" data-type="play">play</button>
<label>Локальный файл
<input type="radio" class="changeSourse" name="source" checked="1" value="1"/>
</label>
<label>Срим
<input type="radio" class="changeSourse" name="source" value="2"/>
</label>
<label>Загрузить свой файл
<input type="file" name="audioFile" />
<audio controls></audio>
</label>
</fieldset>
</div>
<div id="loading"></div>
</body>
</html>