diff --git a/json_objects/midi_action_mapping_APC Key 25.json b/json_objects/midi_action_mapping_APC Key 25.json index 86474a3..516373b 100644 --- a/json_objects/midi_action_mapping_APC Key 25.json +++ b/json_objects/midi_action_mapping_APC Key 25.json @@ -60,6 +60,7 @@ "DEFAULT": ["set_the_shader_param_2_layer_offset_0_continuous","set_shader_speed_layer_1_amount"], "NAV_DETOUR": ["set_detour_end_continuous"], "NAV_WJMX": ["wj_set_colour_T:x"], + "NAV_MANI": ["set_variable_playheadmsb&&f:pc.actions.call_method_name('seek_to_location_on_player',((x*10) + playheadlsb)/11 ):|"], "NAV_LFO": ["set_lfo_modulation_2_level"], "NAV_SND": ["sound_set_config_energy_triggerthreshold"] }, @@ -67,6 +68,7 @@ "DEFAULT": ["set_the_shader_param_3_layer_offset_0_continuous","set_shader_speed_layer_2_amount"], "NAV_DETOUR": ["set_detour_end_continuous"], "NAV_WJMX": ["wj_set_colour_T:y"], + "NAV_MANI": ["set_variable_playheadlsb&&f:pc.actions.call_method_name('seek_to_location_on_player',((playheadmsb*10) + x)/11 ):|"], "NAV_LFO": ["set_lfo_modulation_3_level"] }, "control_change 52": { diff --git a/plugins/ManipulatePlugin.py b/plugins/ManipulatePlugin.py index 9be9265..5bef8f8 100644 --- a/plugins/ManipulatePlugin.py +++ b/plugins/ManipulatePlugin.py @@ -48,6 +48,7 @@ class ManipulatePlugin(ActionsPlugin, DisplayPlugin, ModulationReceiverPlugin): DEBUG = False def __init__(self, plugin_collection): + globals()['pc'] = plugin_collection super().__init__(plugin_collection) # ActionsPlugin methods