AudioHTML/filter.html

232 lines
10 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/app.css" rel="stylesheet">
<link href="css/roundslider.min.css" rel="stylesheet">
<script src="js/jquery-3.7.1.js"></script>
<script src="js/roundslider.min.js"></script>
</head>
<body class="h-100 text-center text-bg-dark content-warp">
<div class="d-flex w-100 h-100 mx-auto flex-column">
<header class="mb-auto pb-5">
<div class="dotblock d-flex justify-content-between px-5 py-4">
<div class="fs-3">GEAZAN</div>
<div></div>
</div>
<div class="d-flex justify-content-center fw-bold border-black nav">
<div class="">
<a href="home.html">HOME</a>
</div>
<div class="active"><a href="filter.html">FILTER</a></div>
<div class=""><a href="fs.html">FS</div>
<div class=""><a href="eq.html">EQ</a></div>
<div class=""><a href="ducking.html">DUCKING</a></div>
<div class=""><a href="network.html">NETWORK</a></div>
<div class="">
<a href="security.html">SECURITY</a>
</div>
<div class=""><a href="control.html">CONTROL</a></div>
<div class="last"><a href="system.html">SYSTEM</a></div>
</div>
</header>
<main class="px-3 d-flex justify-content-center">
<div class="content-container">
<div class="d-flex">
<div class="me-3"
style="border-left: 2px solid #000;border-right: 2px solid #000;border-bottom: 2px solid #000;">
<div class="divider">
<div class="divider-text"><span class="fw-bold">Mic1 HPF</span></div>
</div>
<div class="p-3 d-flex justify-content-center">
<div style="width: 200px;">
<div class="d-flex justify-content-center align-items-center" style="height: 30px;">
<div class="d-flex redio-switche">
<input type="radio" class="btn-check" name="mic1" id="mic1-on"
value="enable">
<label class="btn btn-sm redio-btn on-btn" for="mic1-on">ENABLE</label>
<input type="radio" class="btn-check" name="mic1" id="mic1-off"
value="disable">
<label class="btn btn-sm redio-btn off-btn" for="mic1-off">DISABLE</label>
</div>
</div>
<div class="mt-3">
<label style="font-size:14px; color: #888;" class="me-2">Type</label>
<select class="select" id="mic1-type">
<option value="Bessel">Bessel</option>
<option value="Butterworth">Butterworth</option>
<option value="Linkwitz-riley">Linkwitz-riley</option>
</select>
</div>
<div class="row _slider_customizations cus_handle mb-4">
<div class="block mt-4">
<div class="cell d-flex justify-content-center">
<div style="top: 100px; right: -20; width: 50px; position:relative;color: #888;"
class="text-end">20</div>
<div id="handle1" class="roundSlider"></div>
<div
style="top: 100px; left: -10px; width: 50px; position:relative;color: #888;">
20000
</div>
</div>
</div>
</div>
<div class="">
<input class="slider-value" id="handle1-value" style="width: 55px; text-align: center;" value="200Hz" />
</div>
<div class="mt-1" style="color: #888;">
<!-- HPF(Hz) -->
</div>
</div>
</div>
</div>
<div class="me-3"
style="border-left: 2px solid #000;border-right: 2px solid #000;border-bottom: 2px solid #000;">
<div class="divider">
<div class="divider-text"><span class="fw-bold">Mic2 HPF</span></div>
</div>
<div class="p-3 d-flex justify-content-center">
<div style="width: 200px;">
<div class="d-flex justify-content-center align-items-center" style="height: 30px;">
<div class="d-flex redio-switche">
<input type="radio" class="btn-check" name="mic2" id="mic2-on"
value="enable">
<label class="btn btn-sm redio-btn on-btn" for="mic2-on">ENABLE</label>
<input type="radio" class="btn-check" name="mic2" id="mic2-off"
value="disable">
<label class="btn btn-sm redio-btn off-btn" for="mic2-off">DISABLE</label>
</div>
</div>
<div class="mt-3">
<label style="font-size:14px; color: #888;" class="me-2">Type</label>
<select class="select" id="mic2-type">
<option value="Bessel">Bessel</option>
<option value="Butterworth">Butterworth</option>
<option value="Linkwitz-riley">Linkwitz-riley</option>
</select>
</div>
<div class="row _slider_customizations cus_handle mb-4">
<div class="block mt-4">
<div class="cell d-flex justify-content-center">
<div style="top: 100px; right: -20; width: 50px; position:relative;color: #888;"
class="text-end">20</div>
<div id="handle2" class="roundSlider"></div>
<div
style="top: 100px; left: -10px; width: 50px; position:relative;color: #888;">
20000
</div>
</div>
</div>
</div>
<div class="">
<input class="slider-value" id="handle2-value" style="width: 55px; text-align: center;" value="200Hz" />
</div>
<div class="mt-1" style="color: #888;">
<!-- HPF(Hz) -->
</div>
</div>
</div>
</div>
</div>
<div class="row d-flex">
</div>
</div>
</main>
<footer class="mt-auto text-white-50">
<div class="dotblock d-flex justify-content-between px-5 py-4">
<div class="">Geazan</div>
<div>www.geazan.com</div>
</div>
</footer>
</div>
</body>
<script>
document.addEventListener("DOMContentLoaded", function () {
//初始化配置
loadData()
})
$(document).ready(function () {
$("input[name='mic1']").on('change', function () {
let $value = $("input[name='mic1']:checked").val()
alert($value)
})
$("input[name='mic2']").on('change', function () {
let $value = $("input[name='mic2']:checked").val()
alert($value)
})
$("#mic1-type").on('change',function(){
alert($("#mic1-type").val())
})
$("#mic2-type").on('change',function(){
alert($("#mic2-type").val())
})
})
function loadData(){
$("input[name='mic1']").val(['enable'])
$("input[name='mic2']").val(['enable'])
$("#mic1-type").val(["Butterworth"])
$("#mic2-type").val(["Bessel"])
}
$("#handle1").roundSlider({
sliderType: "min-range",
editableTooltip: false,
radius: 60,
width: 10,
value: 200,
min: 20,
max: 20000,
step: 1,
handleSize: 0,
handleShape: "square",
circleShape: "pie",
startAngle: 315,
mouseScrollAction: true,
drag: function (args) {
$("#handle1-value").val(`${args.value}Hz`);
},
change: function (args) {
$("#handle1-value").val(`${args.value}Hz`);
}
});
$("#handle2").roundSlider({
sliderType: "min-range",
editableTooltip: false,
radius: 60,
width: 10,
value: 200,
min: 20,
max: 20000,
handleSize: 0,
handleShape: "square",
circleShape: "pie",
startAngle: 315,
mouseScrollAction: true,
drag: function (args) {
$("#handle2-value").val(`${args.value}Hz`);
},
change: function (args) {
$("#handle2-value").val(`${args.value}Hz`);
}
});
</script>
</html>