blocks_vertical/sound.js
function() {
    this.jsonInit({
      "message0": Blockly.Msg.SOUND_SETEFFECTO,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "EFFECT",
          "options": [
            [Blockly.Msg.SOUND_EFFECTS_PITCH, 'PITCH'],
            [Blockly.Msg.SOUND_EFFECTS_PAN, 'PAN']
          ]
        },
        {
          "type": "input_value",
          "name": "VALUE"
        }
      ],
      "category": Blockly.Categories.sound,
      "extensions": ["colours_sounds", "shape_statement"]
    });
  }
function() {
    this.jsonInit({
      "message0": Blockly.Msg.SOUND_SETEFFECTO,
      "args0": [
        {
          "type": "field_dropdown",
          "name": "EFFECT",
          "options": [
            [Blockly.Msg.SOUND_EFFECTS_PITCH, 'PITCH'],
            [Blockly.Msg.SOUND_EFFECTS_PAN, 'PAN']
          ]
        },
        {
          "type": "input_value",
          "name": "VALUE"
        }
      ],
      "category": Blockly.Categories.sound,
      "extensions": ["colours_sounds", "shape_statement"]
    });
  }
function ( ) { this . jsonInit ( { "message0" : Blockly . Msg . SOUND_SETEFFECTO , "args0" : [ { "type" : "field_dropdown" , "name" : "EFFECT" , "options" : [ [ Blockly . Msg . SOUND_EFFECTS_PITCH , 'PITCH' ] , [ Blockly . Msg . SOUND_EFFECTS_PAN , 'PAN' ] ] } , { "type" : "input_value" , "name" : "VALUE" } ] , "category" : Blockly . Categories . sound , "extensions" : [ "colours_sounds" , "shape_statement" ] } ) ; }
Block to set the audio effect
@this Blockly.Block
Block to set the audio effect