im pretty sure that would work, just be sure you're in a quiet area when doing the recording

oh, and if you're recording guitar, dont use a mic. buy a USB adaptor for that.
Quote by nodice182
Denny Crane.

Quote by dmiwshicldply
touche vman, touche

mate. feed. kill. repeat.
get an XLR to TRS cable and use an adapter with that. Two adapters will put a lot of stress on that small 1.8" jack and could break it...

it should work if you run into the mic port but its better to get a small recording interface and run with that...