sant 加语音合成
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user