Piano Keyboard and Sustain Pedal on MaxMSP

Alba Puig's icon

i'm trying to create a patch where the inlets are a piano keyboard and a sustain pedal (the piano i have cannot use this pedal) and i want to make the sustain control from max to send the audio aut, as if was an amplifier or something like that
all i want is to use the pedal on the piano through max, so the audio out is the piano + the sustain

maybe this is an easy thing to do but i don't know how to do it
thanks! <3