default sampling rate for communication is set to 48K. Some advanced setting are removed.
This commit is contained in:
parent
04c009416a
commit
c4e16b4955
@ -132,22 +132,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -160,10 +148,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -110,22 +110,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -138,10 +126,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -112,22 +112,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -140,10 +128,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
16
client/demo/dist/assets/gui_settings/RVC.json
vendored
16
client/demo/dist/assets/gui_settings/RVC.json
vendored
@ -129,22 +129,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -157,10 +145,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -122,22 +122,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -150,10 +138,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -122,22 +122,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -150,10 +138,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
11
client/demo/dist/index.html
vendored
11
client/demo/dist/index.html
vendored
@ -1 +1,10 @@
|
||||
<!doctype html><html style="width:100%;height:100%;overflow:hidden"><head><meta charset="utf-8"/><title>Voice Changer Client Demo</title><script defer="defer" src="index.js"></script></head><body style="width:100%;height:100%;margin:0"><div id="app" style="width:100%;height:100%"></div></body></html>
|
||||
<!DOCTYPE html>
|
||||
<html style="width: 100%; height: 100%; overflow: hidden">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Voice Changer Client Demo</title>
|
||||
<script defer src="index.js"></script></head>
|
||||
<body style="width: 100%; height: 100%; margin: 0px">
|
||||
<div id="app" style="width: 100%; height: 100%"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
1618
client/demo/dist/index.js
vendored
1618
client/demo/dist/index.js
vendored
File diff suppressed because one or more lines are too long
31
client/demo/dist/index.js.LICENSE.txt
vendored
31
client/demo/dist/index.js.LICENSE.txt
vendored
@ -1,31 +0,0 @@
|
||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
@ -132,22 +132,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -160,10 +148,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -110,22 +110,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -138,10 +126,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -112,22 +112,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -140,10 +128,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -129,22 +129,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -157,10 +145,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -122,22 +122,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -150,10 +138,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -122,22 +122,10 @@
|
||||
}
|
||||
],
|
||||
"advancedSetting": [
|
||||
{
|
||||
"name": "serverURL",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "protocol",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "sendingSampleRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "crossFadeOverlapSize",
|
||||
"options": {}
|
||||
@ -150,10 +138,6 @@
|
||||
"name": "crossFadeEndRate",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "downSamplingMode",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "trancateNumThreshold",
|
||||
"options": {}
|
||||
|
@ -180,7 +180,7 @@ export const DefaultServerSetting_MMVCv15: ServerInfo = {
|
||||
enableEnhancer: 0,
|
||||
enhancerTune: 0,
|
||||
|
||||
inputSampleRate: 24000,
|
||||
inputSampleRate: 48000,
|
||||
|
||||
//
|
||||
status: "ok",
|
||||
@ -221,7 +221,7 @@ export const DefaultServerSetting_MMVCv13: ServerInfo = {
|
||||
enableEnhancer: 0,
|
||||
enhancerTune: 0,
|
||||
|
||||
inputSampleRate: 24000,
|
||||
inputSampleRate: 48000,
|
||||
|
||||
//
|
||||
status: "ok",
|
||||
@ -266,7 +266,7 @@ export const DefaultServerSetting_so_vits_svc_40: ServerInfo = {
|
||||
enableEnhancer: 0,
|
||||
enhancerTune: 0,
|
||||
|
||||
inputSampleRate: 24000,
|
||||
inputSampleRate: 48000,
|
||||
|
||||
//
|
||||
status: "ok",
|
||||
@ -311,7 +311,7 @@ export const DefaultServerSetting_so_vits_svc_40_c: ServerInfo = {
|
||||
enableEnhancer: 0,
|
||||
enhancerTune: 0,
|
||||
|
||||
inputSampleRate: 24000,
|
||||
inputSampleRate: 48000,
|
||||
|
||||
//
|
||||
status: "ok",
|
||||
@ -355,7 +355,7 @@ export const DefaultServerSetting_so_vits_svc_40v2: ServerInfo = {
|
||||
enableEnhancer: 0,
|
||||
enhancerTune: 0,
|
||||
|
||||
inputSampleRate: 24000,
|
||||
inputSampleRate: 48000,
|
||||
|
||||
//
|
||||
status: "ok",
|
||||
@ -400,7 +400,7 @@ export const DefaultServerSetting_DDSP_SVC: ServerInfo = {
|
||||
enableEnhancer: 0,
|
||||
enhancerTune: 0,
|
||||
|
||||
inputSampleRate: 24000,
|
||||
inputSampleRate: 48000,
|
||||
|
||||
//
|
||||
status: "ok",
|
||||
|
@ -26,7 +26,7 @@ STREAM_ANALYZE_FILE_HARVEST = os.path.join(TMP_DIR, "analyze-harvest.png")
|
||||
|
||||
@dataclass
|
||||
class VoiceChangerSettings():
|
||||
inputSampleRate: int = 24000 # 48000 or 24000
|
||||
inputSampleRate: int = 48000 # 48000 or 24000
|
||||
|
||||
crossFadeOffsetRate: float = 0.1
|
||||
crossFadeEndRate: float = 0.9
|
||||
|
Loading…
x
Reference in New Issue
Block a user