-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapping "Temperature" to first slider (CC:0) doesn't work #34
Comments
Please try assigning temperature to one of the other sliders to see if the problem is related to that slider or not. Thanks. |
Good idea. I tried another slider and a knob and the problem is related to temperature rather than the control used. |
Hmm. Could you try the following? In the plugin's directory, open up the file MIDI2LR_Client.lua in a plain text editor like notepad. Around 30 lines down, you'll find the following code: local function midi_lerp_to_develop(param, midi_value)
-- map midi range to develop parameter range
local min,max = LrDevelopController.getRange(param)
if(param == 'Temperature' and max > 8000) then
min = 2000
max = 8000
end
local result = midi_value/127 * (max-min) + min
return result
end Edit the line if(param == 'Temperature' and max > 8000) then to read if(param == 'Temperature') then Save the modified file, then, in lightroom, open up the plug-in manager (file->plugin manager), select the MIDI2LR plugin and press the button to reload the plugin. Or you could just restart LR. Then see if that fixed the issue. If that didn't fix the issue, edit the lua file to remove the range control for temperature by deleting the following lines, then test as above. if(param == 'Temperature' and max > 8000) then
min = 2000
max = 8000
end |
The error occurs with me also. Both solutions are not working. The temperature will be provided by 5250 to 4409 and then to 3559, then nothing happens. Increasing the temperature does not work |
I've mapped the 8 sliders of my nanoKontrol2 to the 1st 8 basic controls of Lightroom CC 2015.1. They all work as expected except for colour temperature. It's not possible to "pick up" the thumb of this slider unless it is at the lower end of the scale. Then is is only possible to move the slider downwards so the image ends up stuck with a blue cast.
The text was updated successfully, but these errors were encountered: