diff --git a/index.html b/index.html index 8234928..47470ef 100644 --- a/index.html +++ b/index.html @@ -751,7 +751,7 @@ - こんにちは + おはようございます。 diff --git a/scripts/ugj_blocks.js b/scripts/ugj_blocks.js index 5290890..8d9393e 100644 --- a/scripts/ugj_blocks.js +++ b/scripts/ugj_blocks.js @@ -1923,6 +1923,7 @@ Blockly.Blocks['ugj_spawn'] = { .setCheck(null); this.setInputsInline(true); this.setPreviousStatement(true, null); + this.setNextStatement(true, null); this.setStyle('special_blocks') this.setTooltip("外部プログラムを実行して子プロセスを生成します。データを受け取る毎にステートメントが実行されます。"); this.setHelpUrl(""); @@ -1984,7 +1985,7 @@ Blockly.Blocks['aquestalk_pi'] = { }; Blockly.JavaScript['aquestalk_pi'] = function (block) { var value_talk = Blockly.JavaScript.valueToCode(block, 'talk', Blockly.JavaScript.ORDER_ATOMIC); - var code = `'./bin/aquestalkpi/AquesTalkPi ' + ${value_talk} + ' | aplay', { shell: true }`; + var code = `'./bin/aquestalkpi/AquesTalkPi -g 50 ' + ${value_talk} + ' | aplay', { shell: true }`; return [code, Blockly.JavaScript.ORDER_NONE]; };