dore_m Here is an example with Noire, the same can work with other VSTs. I use Noire within Logic Pro and to emulate una corda pedal on Noire I wrote a little script in Logic Pro to emulate it using the Color Knob in Noire. The Color knob has an effect close to the Una Corda , given both the colour and the volume of the note change similarly to the soft pedal .
(1) Use automation to map CC 67 to the Color Knob in Kontakt , within the automation panel.
(2) Following script in Logic Pro to control the soft pedal. When I press the Pedal ,the knob button is turned anti clock wise . Pedal up : color knob = 64, Pedal Down : color knob = 35 . You can change the values depending on taste, I adjusted the values trying to match the acoustic I play . The script can be written directly in Kontack , but I tend to develop all my scripts in Logic as I run my VST within this DAW.
Logic Pro Script
function HandleMIDI(event) {
if (event instanceof ControlChange && event.number == 67) { PedalValue =35+((127-event.value)/4.38); event.value=PedalValue;
event.send;
}