def pad_parameter_sender(global_control, pad_control):
 def do_send(parameters, pad=None):
  if (pad != None):
   pad_control.send_value(((pad,) + parameters.sysex_bytes))
  else:
   global_control.send_value(parameters.sysex_bytes)
 return do_send

def pad_parameter_sender ( global_control , pad_control ) : def do_send ( parameters , pad = None ) : if ( pad != None ) : pad_control . send_value ( ( ( pad , ) + parameters . sysex_bytes ) ) else : global_control . send_value ( parameters . sysex_bytes ) return do_send
sends the sensitivity parameters for a given pad .