mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-11 19:00:04 +01:00
ModulationReceiverPlugin that allows plugin to receive when the modulation slots A-D (1-4) value changes... with quick hack to WJSendPlugin to wiggle some parameters in response
This commit is contained in:
@@ -117,8 +117,11 @@ class MidiInput(object):
|
||||
#if self.data.function_on and "FN_%s"%self.data.control_mode in this_mapping:
|
||||
# mode = "FN_%s"%self.data.control_mode
|
||||
#el
|
||||
#print ("got mapping %s" % this_mapping)
|
||||
if self.data.control_mode in this_mapping:
|
||||
mode = self.data.control_mode
|
||||
elif self.data.display_mode in this_mapping:
|
||||
mode = self.data.display_mode
|
||||
#elif self.data.function_on and "FN_DEFAULT" in this_mapping:
|
||||
# mode = "FN_DEFAULT"
|
||||
elif 'DEFAULT' in this_mapping:
|
||||
@@ -130,7 +133,8 @@ class MidiInput(object):
|
||||
else:
|
||||
method_name = this_mapping[mode][0]
|
||||
|
||||
print('the action being called is {}'.format(method_name))
|
||||
print('[][][][][ in mode {}, the action being called is {} from message_name {} in control_mode {}'
|
||||
.format(mode, method_name, message_name, self.data.control_mode))
|
||||
if mapped_message_value is not None:
|
||||
norm_message_value = mapped_message_value/127
|
||||
|
||||
|
||||
Reference in New Issue
Block a user