tomduncalf / ubermap

No longer maintained, please see forks (linked). Ubermap is a script for Ableton Live to allow Push users to create custom parameter mappings for VST and AU plugins on the Push display.
94 stars 27 forks source link

Fix for live 9.7.1 : RemoteScriptError: 'DeviceComponent' object has no attribute 'default_sensitivity' #9

Open Beennnn opened 7 years ago

Beennnn commented 7 years ago

Due to the error # RemoteScriptError: 'DeviceComponent' object has no attribute 'default_sensitivity', the file UbermapDevicesPatches.py needs to be changed for live version 9.7.1 at line 108:

REPLACE:

            return ParameterInfo(parameter=parameter, name=parameter.custom_name, default_encoder_sensitivity=self.default_sensitivity(parameter), fine_grain_encoder_sensitivity=self.fine_sensitivity(parameter))

WITH:

           from Push2.parameter_mapping_sensitivities import parameter_mapping_sensitivity, fine_grain_parameter_mapping_sensitivity
            return ParameterInfo(parameter=parameter, name=parameter.custom_name, default_encoder_sensitivity=parameter_mapping_sensitivity(parameter), fine_grain_encoder_sensitivity=fine_grain_parameter_mapping_sensitivity(parameter))
Beennnn commented 7 years ago

also and better fixed as described here : #11