Exemple #1
0
 def send_configure(self, key, value):
     if self.with_osc:
         liblo.send(self.target, self.configure_path, key, value)
     else:
         print("Running standalone UI without OSC.  "
             "Would've sent configure message: key: \""
             "{}\" value: \"{}\"".format(key, value))
Exemple #2
0
 def send_configure(self, key, value):
     if not IPC_ENABLED and key != "exit":
         print("IPC_ENABLED == False, "
             "Would've sent configure message: key: \""
             "{}\" value: \"{}\"".format(key, value))
         return
     if pydaw_util.IS_ENGINE_LIB:
         pydaw_util.engine_lib_configure(self.configure_path, key, value)
     elif self.with_osc:
         liblo.send(OSC, self.configure_path, key, value)
     else:
         print("Running standalone UI without OSC.  "
             "Would've sent configure message: key: \""
             "{}\" value: \"{}\"".format(key, value))
Exemple #3
0
 def send_configure(self, key, value):
     if not IPC_ENABLED and key != "exit":
         print("IPC_ENABLED == False, "
               "Would've sent configure message: key: \""
               "{}\" value: \"{}\"".format(key, value))
         return
     if pydaw_util.IS_ENGINE_LIB:
         pydaw_util.engine_lib_configure(self.configure_path, key, value)
     elif self.with_osc:
         liblo.send(OSC, self.configure_path, key, value)
     else:
         print("Running standalone UI without OSC.  "
               "Would've sent configure message: key: \""
               "{}\" value: \"{}\"".format(key, value))