yxw 2023-11-27 15:29:12 +08:00
parent 9e3d853c58
commit 7c365cfcf3
1 changed files with 6 additions and 6 deletions

View File

@ -1055,7 +1055,7 @@
$('#microphone1-voice-add').on('click', function () {
let num = $("#microphone1 .volume-slider input").val();
let value = ((num * (20 / 100) - 10) + 1).toFixed(1)
let value = ((num * (84 / 100) - 72) + 1).toFixed(1)
mic1Post = false
console.log('click', value)
Microphone1Slider(value)
@ -1063,7 +1063,7 @@
$('#microphone1-voice-low').on('click', function () {
let num = $("#microphone1 .volume-slider input").val();
let value = ((num * (20 / 100) - 10) - 1).toFixed(1)
let value = ((num * (84 / 100) - 72) - 1).toFixed(1)
mic1Post = false
console.log('click', value)
Microphone1Slider(value)
@ -1105,7 +1105,7 @@
$('#microphone2-voice-add').on('click', function () {
let num = $("#microphone2 .volume-slider input").val();
let value = ((num * (20 / 100) - 10) + 1).toFixed(1)
let value = ((num * (84 / 100) - 72) + 1).toFixed(1)
mic2Post = false
console.log('click', value)
Microphone2Slider(value)
@ -1113,7 +1113,7 @@
$('#microphone2-voice-low').on('click', function () {
let num = $("#microphone2 .volume-slider input").val();
let value = ((num * (20 / 100) - 10) - 1).toFixed(1)
let value = ((num * (84 / 100) - 72) - 1).toFixed(1)
$("#microphone2 .volume-slider input").val(value);
mic2Post = false
console.log('click', value)
@ -1154,7 +1154,7 @@
$('#outputvolume-voice-add').on('click', function () {
let num = $("#outputvolume .volume-slider input").val();
let value = ((num * (20 / 100) - 10) + 1).toFixed(1)
let value = ((num * (84 / 100) - 72) + 1).toFixed(1)
outputPost = false
console.log('click', value)
OutputVolumeSlider(value)
@ -1162,7 +1162,7 @@
$('#outputvolume-voice-low').on('click', function () {
let num = $("#outputvolume .volume-slider input").val();
let value = ((num * (20 / 100) - 10) - 1).toFixed(1)
let value = ((num * (84 / 100) - 72) - 1).toFixed(1)
outputPost = false
console.log('click', value)
OutputVolumeSlider(value)