MIDI2LR doesn't update MIDI controller in certain controller and profile configurations
Hi
Thanks for MIDI2LR as this plugin works flawlessly unfortunately only with RAW files. Plugin works and send data back to MIDI controller on the current position in LR, but ONLY with RAW files and doesn't do that when editing PSD or TIFF files. On top of that Temperature slider doesn't move at all with PSD and TIFFS.
I suggest you check your configuration. Others (including myself) don't have this problem. I did find a PNG that Lightroom refused to allow white balance changes to, but that was in Lightroom itself and not the plugin.
Configuration you say.. What do you think can be a reason if the plugin send data back to MIDI controller on the current position in LR when working on RAWs but doesn't sync when editing PSD or TIFF files (it moves them but and every slider has to be "picked up" when changing from one photo to another) Midi controller doesn't know which files are which so there must be something in communication between LR and plugin.
Regarding temp slider I know that temperature is addressed differently in RAW from 2000K to 50000K while in PSD or TIFF it's relative scale from -100 to 100 so it may the reason why it's the only slider that this plugin can't move at all.
Are you sure PSD and TIFF files works exactly the same as RAW in your setup?
I'm suggesting configuration for several reasons, one, that was the cause of the first bug that you encountered, so I'm wondering what else is going on in your configuration. This whole process is complicated as we are dealing with various MIDI controllers and software, various MIDI drivers, the MIDI2LR app, the MIDI2LR plugin, the LR application, and various user settings (e.g., keyboard language, system language, etc.) Two, because others haven't encountered this issue. I tried to recreate it myself, and was always able to adjust the temperature.
MIDI2LR is ignorant of the file type. It processes each MIDI command according to the range for that adjustment for the current photo, whatever LR tells it it is. It gets the min/max each time a control is moved according to the following code:
local function GetMinMax(param)
local rangemin, rangemax = LrDevelopController.getRange(param)
if Parameters[param] then
return unpack(ProgramPreferences.Limits[param][rangemax])
else
return rangemin,rangemax
end
end
It gets the range for the current photo. It then checks to see if there are limits to that parameter, in which case it gets the limits set for that parameter for that adjustment range (as different photos have different adjustment ranges depending upon bit depth, file type, etc.)
Just to clarify the first bug I encountered it's actually the same bug we are discussing here as wasn't because of MIDI controller misconfiguration. The reason it started to work was at that time I tested it with LR folder filled with RAW files while previously I was trying to make it work in folder with TIFF and PSD files only. It turned out it had nothing to do with that change I did in Automap4. Anyway it seems it's something with my Lightroom then as MIDI controller ha nothing to do with files types and communication between plugin and controller goes smoothly (RAW editing works flawlessly in full sync)
Thanks for trying to help though. Cheers
Could you tell me exactly what steps I could take to replicate the problem? If I can replicate it, I can fix it.
Basically when I'm working on any RAW files LR sliders works like it this video: https://youtu.be/M68543e80D4?t=4m1s so sliders are in full sync with midi controller so even when I slide sliders with mouse on screen it's reflected on the controller too. When I'm on any TIFF or PSD that doesn't happened. It's like in one way communication so while I can "pick up" and move sliders with MIDI controller any changes made in lightroom by mouse or what's worse, simply switching from one PSD/TIFF to another does not update knob position on MIDI controller which leads to constant "picking" each and every slider every time you move to next photo.
I can verify the issue on Mac. Backtalk to controller doesn't seem to function w/ jpegs. Works fine w/ raw, tiff, psd...
@StevenKersting -- interesting:: so when you change pictures, controls change accordingly, except for JPG. You've tested Raw (what format), TIFF, PSD, all of which work well.
@boomerek -- What platform are you on? Mac or PC? You are seeing issues with TIFF and PSD, but not Raw (which format)? Do you see issues with JPG as well?
I am testing on my PC.
For the following files, got correct feedback to the controller when changing pictures: TIF to TIF, DNG to TIF, TIF to DNG PSD to PSD, PSD to DNG, DNG to PSD PNG to PNG, PNG to DNG, DNG to PNG JPG to JPG, JPG to DNG, DNG to JPG Checked both motorized sliders and LEDs on knobs: both updated.
My setup: Windows 10, Lightroom CC 2015.4, MIDI2LR 0.9.9, Behringer BCF2000.
I'm using Nikon so NEF files. On further investigation it seems that only the basic panel tone adjustments do not backtalk. Temp/tint, clarity, sat/vib, and detail panel adjustments all do (all of the other ones I checked).
Updated to 9.9 with same results... ElCaptain 10.11.3, CC2015.4, ACR9.4, M2LR 9.9, MidiFighter Twister. My other controller is "dumb" so I can't confirm with it, but I highly doubt it's a controller issue. My best guess is an OSX-midi-LR bug (but I hope I'm wrong).
I hope it's not a LR bug as well. Last LR bug I tried fixing (panel didn't open up when Contrast changed), the fix created more problems than the original problem did.
Currently, almost all the updates are initiated by LR--MIDI2LR has a "listener" that LR notifies when settings have changed, such as when changing photos or when moving a slider on LR itself, rather than in the MIDI2LR app. The only time I force an update is when the app loads a different profile--I refresh all controls then, as some control definitions will have changed and thus be out of sync.
If MIDI2LR isn't getting change notifications when it should, I can try forcing things (e.g., check picture ID in the main program loop, and force a change when the picture ID changes). But I'd rather not.
Also, could you test the following?
In the edit module, open a file for which you're having problems-- @StevenKersting, for you, it would be jpeg. Confirm you're still having the problem when switching from one file of that type to the next. Then, move a slider on the screen corresponding to one of the controls on your MIDI controller that don't get updated. Does that controller update to correspond to what you did on screen?
Tested... controller updates do not occur when switching images or when moving the slider in LR. Only for the basic panel tone adjustments and jpegs for me.
Maybe I was mistaken or something changed... but I now have the same behavior with all file types (basic panel tone adjustments only)
It is controller configuration related (I think)... I'll try to sort the specific issue.
Ok, I just checked that and editing all RAW files I have NEF, CR2, ORF is in full sync with midi controller so when I move sliders with mouse on screen it's reflected on the controller too. With JPEG, DNG, PSD, TIFF that doesn't work.
My setup: Windows 10, Lightroom CC 2015.4, MIDI2LR 0.9.9, Novation Nocturn
@boomerek So one raw version (DNG) doesn't work, but others do? Are you DNGs "special" (e.g., for HDRs made by LR only)? For the sliders that work on NEF CR2 and ORF but don't work on DNGs, is the slider range the same?
DNG I have aren't actually RAW files from camera. Those are converted in Lightroom TIFF and PSD files that I didn't needed in layers anymore (just to save space) Sliders range in those is the same as in TIFF and PSD files (temperature isn't in Kelvins but in -100 to 100 range for example)
If I change the controller program/configuration, what updates and what doesn't changes. I.e. in one configuration temp/tint do not update but exp/contr do, and it's the opposite in the other other configuration. I haven't found an apparent reason.
Could you attach the files showing those two configurations? You'll have to zip the xml files--github doesn't accept xml directly.
If you mean the xml profile for M2LR, it's the same one. It's the controller itself that changes (channels/encoder number).