sant 加语音合成

This commit is contained in:
whm1216
2025-12-04 21:24:43 +08:00
parent f9536ed279
commit 0c56f02226
6 changed files with 49 additions and 1 deletions

View File

@@ -45,7 +45,29 @@ export const CI130X_OPEN_AND_CLOSE = {
this.setInputsInline(true);
}
}
export const CI130X_PLAY_SYSTEM_CMD_SANT = {
init: function () {
this.setColour(AI_LOCAL_VOICE_HUE);
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_AipSpeech_synthesis);
this.appendValueInput('text')
.appendField(Blockly.Msg.MIXLY_TEXT);
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_SPEED)
.appendField(new Blockly.FieldDropdown([
['0', '0'],
['1', '1'],
['2', '2'],
['3', '3'],
['4', '4'],
['5', '5']
]), 'speed');
this.setInputsInline(true);
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setTooltip(Blockly.Msg.MIXLY_AipSpeech_synthesis_SANT_TOOLTIP);
}
};
export const CI130X_IDENTIFY_AND_SAVE_SANT = {
init: function () {
this.setColour(AI_LOCAL_VOICE_HUE);