This is how to reproduce the bug, step by step:
- Hook up the KLE to the computer
- Enable the KLE in the preferences window (ctrl+p, under midi devices)
- Open a new project in REAPER
- Right click in the dark grey area on the left, click "Insert virtual instrument on new track". This automatically sets the correct settings: arm for recording, enable monitoring and opens the VSTi selection window.
- Select Analog Lab 3, it should now load with the Keylab Essential layout
- Play some notes and move some faders to confirm the KLE is detected by REAPER
- In Analog Lab mapping on the KLE, the faders/knobs adjust the faders/knobs in Analog Lab
- In DAW mapping, the faders/knobs adjust the track volume/pan
- In the User mappings, the faders/knobs also adjust the faders/knobs in Analog Lab! This is unwanted behaviour for my applications.
To prevent the KLE from adjusting faders/knobs in Analog Lab, I tried the following without success:
- Set all faders and knobs to the "." setting, which disables their effect. They still respond to the KLE faders/knobs but at least the instrument sound remains unchanged.
- After saving the project, restarting REAPER and reopening the project however, this setting is lost (bug 1). All faders/knobs are now back at their preset mapping and moving faders/knobs changes the sound...
- Set the MIDI controller at the bottom of the Analog Lab GUI to Default. This causes the faders to no longer respond to the KLE (yay!) however, the knobs are still responsive.
- Save the REAPER project and reopen the program. The MIDI controller is now back at KeyLab Essential (bug 2) instead of Default.
These two bugs could be caused by either REAPER or Analog Lab.
After LBH's suggestions, I tried these things:
- Set all faders and knobs to the "." setting
- Click Save As and save as new preset in Analog Lab
- All faders and knobs mapping immediately revert to their default setting! (bug 3)
This bug is definately in Analog Lab.
- Set MIDI Controller to Default
- Save as a new preset in Analog Lab
- Save project and restart REAPER
- MIDI Controller is now back to Default, MIDI Controller setting is not saved in preset (looks related to bug 2)
- Set all faders and knobs to "." (yet again)
- Export preset to file in Analog Lab
- Load it back in
- Faders and knobs back to default mapping (bug 4)
- Set all faders and knobs to "."
- Click the UI button in REAPER, this switches to a raw fader view of all VST parameters
- Click UI again to bring the Analog Lab GUI back
- All fader/knob mappings are back to default setting
And I saved the best one for last:
- Set all faders and knobs to "."
- Close the VST window
- Reopen it
- All fader/knob mappings are back to default setting!!!
Fortunately, when closing the window, it remembers its settings. Only opening the Analog Lab GUI causes it to load in the default fader/knob mapping.
I don't think there is a way to prevent REAPER from sending CC values to the VST but let notes through. And if it did exist, it would disable pitch/mod wheel which is also not very ideal.
Maybe the easiest workaround for Arturia would be to have a toggle to enable/disable auto mapping of CC to the faders/knobs AND have this toggle be a VST variable so its state can be stored in REAPER.
EDIT: directly after posting this, I got the idea to adjust the fader/knob mapping in MIDI Control Center. Set the knobs/faders CC numbers to something else. It works in that Analog Lab no longer responds to the faders but now shows erratic behaviour, eg. moving a knob would switch to the next preset. Evidently I have mapped some knobs to Analog Lab's control inputs. Is there a list of which CC numbers Analog Lab uses so I can avoid this?