Using a sustain pedal to start Live transport play

Carl Benick's icon

Hi,

I have been using Live for a couple weeks now and I would like to start the transport with my sustain pedal (CC64) or another pedal (CC87). The problem I have is after I map the pedals to the transport play, pressing down on the pedal, the transport starts, and then when I release the pedal, the transport starts again... So, there is a double trigger each time I press and release.

Is there a way to use Max to correct this unwanted behavior and allow the transport to simply start once by pressing the sustain pedal and not start again when releasing?

I am new to Live and Max, so any help would be appreciated to help me to get started with this Max project.

Kind regards,
Carl