Pitching a sound?

Hi,

I’d like to know if it is possible to change the tempo/pitch of a sound when an event happens? So I just like to speed up a looping sound…

Anyone? Thx.