There are two ways:
-
You need to have two different sound cues. One the normal beating sound and the other beats faster. Then by entering the first box, play the first sound and by entering the second box, stop the first and play the second. And when leaving the second box, stop the second sound and play the first one. All can be done by ‘on actor begin / end overlap’ events.
-
Increase the pitch multiplier (there is a node called ‘set pitch multiplier’) of the sound cue using blueprints (Recommended)
Update:
Sample setup.
Regards,