Your request is a bit similar to this one:
https://www.polyphone.io/o/forum/support…-muting-an-oscilatorA sample is currently triggered when a key is pressed, if the key and velocity match with the key and velocity ranges specified in the divisions triggering the sample. You would like to add an extra condition linked to the position of a pedal and this is unfortunately not possible with the current version of the soundfont format.