default sampling rate for communication is set to 48K. Some advanced setting are removed.

This commit is contained in:
wataru 2023-04-20 16:15:57 +09:00
parent 04c009416a
commit c4e16b4955
17 changed files with 1633 additions and 233 deletions

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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>

File diff suppressed because one or more lines are too long

View File

@ -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.
*/

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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": {}

View File

@ -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",

View File

@ -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