mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-02 16:23:58 +03:00
WIP: refactoring..., src id default bug fix
This commit is contained in:
parent
a5d4b5dfe2
commit
d0eef70109
2
client/demo/dist/index.js
vendored
2
client/demo/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -24,6 +24,7 @@ export const useSpeakerSetting = () => {
|
||||
const dst = appState.clientSetting.clientSetting.correspondences?.find(x => {
|
||||
return x.sid == dstId
|
||||
})
|
||||
console.log("calcDefaultF0Factor", srcId, dstId, src, dst)
|
||||
const recommendedF0Factor = dst && src ? dst.correspondence / src.correspondence : 0
|
||||
return recommendedF0Factor
|
||||
}
|
||||
|
@ -87,8 +87,8 @@ class MockStream:
|
||||
@dataclass
|
||||
class VocieChangerSettings():
|
||||
gpu: int = 0
|
||||
srcId: int = 107
|
||||
dstId: int = 100
|
||||
srcId: int = 0
|
||||
dstId: int = 101
|
||||
|
||||
inputSampleRate: int = 48000 # 48000 or 24000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user