Velocity/Direction Changes for Footstep SFX

I am trying to find a way to trigger a SFX when the player switches from one direction to the opposite direction while moving at a certain speed to mimic “foot squeaks”. For example in the video, when the player abruptly goes from -X to +X or -Y to +Y. I have the speed as a variable but I am trying to figure out the best way to set this up.

Video: Dropbox - test.mp4 - Simplify your life