Hi,
Are you asking to change a pedal parameter, using an envelope, triggered by your foot?
If so, could you adapt the solution here: CV/MIDI plugins wishes - #15 by Kim
Replacing the ‘Slew limiter’ in the chain with the CV envelope that meets your needs?