osara
osara copied to clipboard
Param sliders for kontakt and kk
After discussion in #593, I've been investigating why values aren't being reported consistently when adjusting sliders in OSARA's FX Parameters dialog. Test plug-ins here have been Komplete Kontrol 3, Kontakt 6, 7 and 8. STR:
- Running a recent OSARA snapshot, load an instrument in any of the plug-ins specified above.
- Go into the OSARA FX Parameters dialog, find a volume parameter.
- Move the slider with arrows, page keys, home or end. All will seem ok until you change the direction you're moving in. Compare the consistency of formatted values being reported to the values displayed in OSARA's accompanying edit field. The former jumps all over the place when switching direction, the latter stays consistent and is the true value (can be verified by listening to the effect your adjustments are having on an instrument).
- Now switch to the latest snapshot linked in this PR and repeat the test. This time you should find the formatted values are reported consistently when changing direction and jumping to ends of slider.
A 5ms sleep in paramsUI.cpp before we update value seems to stabilize reporting. As yet I don't know why that helps and I'm not proposing this as an actual solution, just a temporary hack to see whether behaviour also improves on a wider pool of machines. I'm especially interested in hearing about whether it helps on older/slower Windows and Macs. Not sure how long we need to wait for yet, or what a nicer implementation would be.
Tagging @timtam and @jennykbrennan, they've been helping chase it.