Filter "redundant" cc events

Hey, so my keyboard’s sustain pedal is sending continuous values (not discrete), which I’ve found a bit hard to edit, so I’ve created this input transformer preset pedal to simplify it:

It works great, but there are still “unnecessary events” as a result of it:

I’ve considered doing “filter” instead, but this is problematic because it’s possible for the extreme values to not be sent if I use the pedal lightly (i.e. if I don’t press it all the way or release it all the way, even though in these cases the digital piano (and my VST plugin) responds as expected)

I couldn’t figure out how I can accomplish that. Any advice? I thought maybe it’s something with last event, but I’m not sure if that feature is flexible enough.

Hi,

Unfortunately you can’t store a variable (last value) in the Logical Editor, so you cannot compare with the new value.

Hi, @ShacharHarshuv

Have you tried something like this (CC values to be adjusted) ? it seems to work, on my end :

1 Like

Yes, but I explained the problem:

I’ve considered doing “filter” instead, but this is problematic because it’s possible for the extreme values to not be sent if I use the pedal lightly (i.e. if I don’t press it all the way or release it all the way, even though in these cases the digital piano (and my VST plugin) responds as expected)

Ok, but that’s why I stated :

And the corresponding values can be set in the Parameter 1 column : I set them to 3 and 124 in arbitrary manner but, of couse, you can set these to your own needs.

Oh I see. I guess I can play with these and see if there is a good “Compromise” .

Exactly ! :+1: