diff --git a/template/setting_mmvc.json b/template/setting_mmvc.json index 34548ee2..967e98fc 100644 --- a/template/setting_mmvc.json +++ b/template/setting_mmvc.json @@ -1,26 +1,49 @@ { "app_title": "voice-changer", "majar_mode": "docker", - "voice_changer_server_url": "./test", + "voice_changer_server_url": "/test", "sample_rate": 48000, "buffer_size": 1024, "prefix_chunk_size": 24, "chunk_size": 24, - "speaker_ids": [100, 107, 101, 102, 103], - "speaker_names": ["ずんだもん", "user", "そら", "めたん", "つむぎ"], + "speakers": [ + { + "id": 100, + "name": "ずんだもん" + }, + { + "id": 107, + "name": "user" + }, + { + "id": 101, + "name": "そら" + }, + { + "id": 102, + "name": "めたん" + }, + { + "id": 103, + "name": "つむぎ" + } + ], "src_id": 107, "dst_id": 100, "vf_enable": true, "voice_changer_mode": "realtime", "gpu": 0, "available_gpus": [-1, 0, 1, 2, 3, 4], + "screen": { + "enable_screen": true, + "backgournd_image_url": "./assets/images/bg_natural_sougen.jpg" + }, "avatar": { - "enable_avatar": true, - "motion_capture_face": true, - "motion_capture_upperbody": true, - "lip_overwrite_with_voice": true, + "enable_avatar": false, + "motion_capture_face": false, + "motion_capture_upperbody": false, + "lip_overwrite_with_voice": false, "avatar_url": "./assets/vrm/zundamon/zundamon.vrm", - "backgournd_image_url": "./assets/images/bg_natural_sougen.jpg", "background_color": "#0000dd", "chroma_key": "#0000dd", "avatar_canvas_size": [1280, 720], @@ -34,5 +57,9 @@ "cross_fade_offset_rate": 0.3, "cross_fade_end_rate": 0.6, "cross_fade_type": 2 + }, + "transcribe": { + "lang": "日本語(ja-JP)", + "expire_time": 5 } } diff --git a/template/setting_mmvc_colab.json b/template/setting_mmvc_colab.json index 19983c68..30f8a197 100644 --- a/template/setting_mmvc_colab.json +++ b/template/setting_mmvc_colab.json @@ -4,23 +4,46 @@ "voice_changer_server_url": "/test", "sample_rate": 48000, "buffer_size": 1024, - "prefix_chunk_size": 36, - "chunk_size": 36, - "speaker_ids": [100, 107, 101, 102, 103], - "speaker_names": ["ずんだもん", "user", "そら", "めたん", "つむぎ"], + "prefix_chunk_size": 24, + "chunk_size": 24, + "speakers": [ + { + "id": 100, + "name": "ずんだもん" + }, + { + "id": 107, + "name": "user" + }, + { + "id": 101, + "name": "そら" + }, + { + "id": 102, + "name": "めたん" + }, + { + "id": 103, + "name": "つむぎ" + } + ], "src_id": 107, "dst_id": 100, "vf_enable": true, "voice_changer_mode": "realtime", "gpu": 0, "available_gpus": [-1, 0, 1, 2, 3, 4], + "screen": { + "enable_screen": true, + "backgournd_image_url": "./assets/images/bg_natural_sougen.jpg" + }, "avatar": { - "enable_avatar": true, - "motion_capture_face": true, - "motion_capture_upperbody": true, - "lip_overwrite_with_voice": true, + "enable_avatar": false, + "motion_capture_face": false, + "motion_capture_upperbody": false, + "lip_overwrite_with_voice": false, "avatar_url": "./assets/vrm/zundamon/zundamon.vrm", - "backgournd_image_url": "./assets/images/bg_natural_sougen.jpg", "background_color": "#0000dd", "chroma_key": "#0000dd", "avatar_canvas_size": [1280, 720], @@ -34,5 +57,9 @@ "cross_fade_offset_rate": 0.3, "cross_fade_end_rate": 0.6, "cross_fade_type": 2 + }, + "transcribe": { + "lang": "日本語(ja-JP)", + "expire_time": 5 } }