Quantizing MIDI is a piece of cake and every program/DAW that supports MIDI does it. But say I'm working with *raw audio* instead, say maybe a guitar line I just recorded, and the performer's timing is a bit off and doesn't match the click as well as it should. If I want to line it up with the tools I have now, I open up the guitar audio and click track in Audacity and manually delete or copy the waveform so it lines up. There *has* to be a better way.

So what tools could I use to "quantize" recorded audio? (I use Cubase SX 5, but I'm open to trying other tools if needed.)

(Note that I'm not asking whether or not I *should* do this instead of re-recording or anything else; I just want to know *if* it is possible and *how* I could do it.)