Logic Pro enables you to convert audio data in to midi data which you can then manipulate, correct and change to your heart’s content. This process is also a great way of learning to play parts of music if playing by ear is not your strong point.
Additionally, you can use this technique to take audio files and use them as starting points for new melodic and rhythmic ideas.