From 3ce020583bdcbc9e16ceff3cfc5d7412d6e06300 Mon Sep 17 00:00:00 2001 From: yuyun2000 <15515722313yxw@gmail.com> Date: Wed, 30 Apr 2025 14:59:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=97=A5=E8=AF=AD=E5=92=8C?= =?UTF-8?q?=E8=8B=B1=E8=AF=AD=E6=A8=A1=E5=9E=8B=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main_melotts/mode_melotts-en-default.json | 29 +++++++++++++++++++ .../main_melotts/mode_melotts-ja-jp.json | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 projects/llm_framework/main_melotts/mode_melotts-en-default.json create mode 100644 projects/llm_framework/main_melotts/mode_melotts-ja-jp.json diff --git a/projects/llm_framework/main_melotts/mode_melotts-en-default.json b/projects/llm_framework/main_melotts/mode_melotts-en-default.json new file mode 100644 index 0000000..d886e85 --- /dev/null +++ b/projects/llm_framework/main_melotts/mode_melotts-en-default.json @@ -0,0 +1,29 @@ +{ + "mode": "melotts-en-default", + "type": "tts", + "homepage": "https://github.com/ml-inory/melotts.axera/tree/main/model_convert", + "compile_flage": "pulsar2 build --input decoder-en.onnx --config config_decoder_u16.json --output_dir decoder --output_name decoder-en.axmodel --target_hardware AX620E", + "pulsar_version": "3.4-983bb35e", + "capabilities": [ + "tts", + "Japanese" + ], + "input_type": [ + "tts.utf-8" + ], + "output_type": [ + "tts.wav", + "sys.play.0_1" + ], + "mode_param": { + "encoder": "encoder-en-def.ort", + "decoder": "decoder-en-def.axmodel", + "gbin": "g-en-def.bin", + "tokens": "tokens-en.txt", + "lexicon": "lexicon-en.txt", + "spacker_speed": 1.0, + "mode_rate": 44100, + "audio_rate": 16000, + "awake_delay": 1000 + } +} \ No newline at end of file diff --git a/projects/llm_framework/main_melotts/mode_melotts-ja-jp.json b/projects/llm_framework/main_melotts/mode_melotts-ja-jp.json new file mode 100644 index 0000000..97b9f31 --- /dev/null +++ b/projects/llm_framework/main_melotts/mode_melotts-ja-jp.json @@ -0,0 +1,29 @@ +{ + "mode": "melotts-ja-jp", + "type": "tts", + "homepage": "https://github.com/ml-inory/melotts.axera/tree/main/model_convert", + "compile_flage": "pulsar2 build --input decoder-jp.onnx --config config_decoder_u16.json --output_dir decoder --output_name decoder-jp.axmodel --target_hardware AX620E", + "pulsar_version": "3.4-983bb35e", + "capabilities": [ + "tts", + "Japanese" + ], + "input_type": [ + "tts.utf-8" + ], + "output_type": [ + "tts.wav", + "sys.play.0_1" + ], + "mode_param": { + "encoder": "encoder-jp.ort", + "decoder": "decoder-jp.axmodel", + "gbin": "g-jp.bin", + "tokens": "tokens-jp.txt", + "lexicon": "lexicon-jp.txt", + "spacker_speed": 1.0, + "mode_rate": 44100, + "audio_rate": 16000, + "awake_delay": 1000 + } +} \ No newline at end of file