mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-17 05:39:59 +01:00
better saving of plugins / midifeedback should turn lights off when its done
This commit is contained in:
@@ -128,6 +128,7 @@ class LFOModulationPlugin(ActionsPlugin,SequencePlugin,DisplayPlugin, Automation
|
||||
|
||||
def toggle_lfo_active(self):
|
||||
self.active = not self.active
|
||||
self.save_presets()
|
||||
|
||||
# Formula handling for generating automation
|
||||
# mapping 0-3 to match the LFO
|
||||
|
||||
@@ -19,6 +19,12 @@ class MidiFeedbackAPCKey25Plugin(MidiFeedbackPlugin):
|
||||
print ("bind is %s, returning default" % bind)
|
||||
return default
|
||||
|
||||
def stop_plugin(self):
|
||||
for cmd, content in self.status.items():
|
||||
content['velocity'] = 0
|
||||
self.update_device()
|
||||
super().stop_plugin()
|
||||
|
||||
def set_midi_device(self, device):
|
||||
super().set_midi_device(device)
|
||||
self.last_state = None
|
||||
|
||||
Reference in New Issue
Block a user