mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 11:20:15 +01:00
Fix osc input so it listens to the network again, commented-out stub for showing clip progress in leds (doesnt work too well so not enabled)
This commit is contained in:
@@ -133,6 +133,13 @@ class MidiFeedbackAPCKey25Plugin(MidiFeedbackPlugin):
|
||||
else:
|
||||
colour = self.COLOUR_OFF
|
||||
self.set_status(command='note_on', note=self.NOTE_CLIP_STATUS_ROW+i, velocity=colour)
|
||||
|
||||
""" # doesnt really work well, but shows progress of clip in leds
|
||||
if plugin.is_playing() and not plugin.is_paused():
|
||||
for i in range(0,plugin.MAX_CLIPS):
|
||||
if i==int(plugin.position*plugin.MAX_CLIPS):
|
||||
self.set_status(command='note_on', note=self.NOTE_CLIP_STATUS_ROW+i, velocity=self.COLOUR_GREEN)
|
||||
"""
|
||||
except Exception as e:
|
||||
pass
|
||||
#print ("Warning: Failed when running plugin feedback for ShaderLoopRecordPlugin:\t%s" % str(e))
|
||||
|
||||
@@ -21,7 +21,7 @@ class OscInput(object):
|
||||
|
||||
def setup_osc_server(self):
|
||||
server_parser = argparse.ArgumentParser()
|
||||
server_parser.add_argument("--ip", default="127.0.0.1", help="the ip")
|
||||
server_parser.add_argument("--ip", default="0.0.0.0", help="the ip")
|
||||
server_parser.add_argument("--port", type=int, default=5433, help="the port")
|
||||
|
||||
server_args = server_parser.parse_args()
|
||||
|
||||
Reference in New Issue
Block a user