Audio to sync to your project tempo?

is it possible to use tempo detection and then change the audio to sync to a bpm. iv had a mess around and all i seem to get is the detection changing my project tempo to that of the audio sample.

That would be the Time Stretch function. Select your audio file that you want to adjust, then from the menus go Audio → Process → Time Stretch.

Or you can check out this video on AudioWarp