(self, state)
Logs and sends a control change with the state.
Logs and sends a control change with the state.
Logs and sends a control change with the state .
def _update_state(self, state):
    """Logs and sends a control change with the state."""
    if self._state_control_number is not None:
      self._midi_hub.send_control_change(self._state_control_number, state)
    tf.logging.info('State: %s', self.State.to_string(state))
def _update_state ( self , state ) : if self . _state_control_number is not None : self . _midi_hub . send_control_change ( self . _state_control_number , state ) tf . logging . info ( 'State: %s' , self . State . to_string ( state ) )