We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887e711 commit e0b1ba4Copy full SHA for e0b1ba4
src/components/Activity.vue
@@ -1736,6 +1736,14 @@ export default {
1736
};
1737
1738
1739
+ Blockly.Python['coderbot_music_note_std'] = function(block) {
1740
+ var dropdown_note = block.getFieldValue('note');
1741
+ var dropdown_instrument = block.getFieldValue('instrument');
1742
+ var value_duration = Blockly.Python.valueToCode(block, 'duration', Blockly.Python.ORDER_ATOMIC);
1743
+ var code = 'get_music().play_note("'+dropdown_note+'","'+dropdown_instrument+'","'+value_duration+'")\n';
1744
+ return code;
1745
+ }
1746
+
1747
Blockly.Python['coderbot_audio_listen'] = function(block) {
1748
// Boolean values true and false.
1749
var model = block.getFieldValue('MODEL');
0 commit comments