I just tried something similar yesterday, but I'm afraid you need a Fender Mustang amp (you didn't specify the amp) and some software called PLUG. If it's not for a fender amp, this might at least set you in the right direction.
Oh, after updating and upgrading, it all worked.
Here's a highly amateur video of my attempt:
Have more FUN with your Pi. Visit www.pi-fun.com