Well, it all depends on how professionally you are wanting to record.
If you have or are planning to have a lot of hardware, microphones, and instruments, you will need more power. but if you just new one mic and maybe a guitar input, you can use just about any newer model Mac, even a MacBook Air.
If you decide you need more power, the entry level iMac would suit you just fine. If you need to go mobile, I'd suggest, at least, the entry level 15in MacBook Pro.
It seems like you aren't very serious about recording, you just want to dabble in it, so realistically, any Mac will do. But plan for the future, if you think this is something you might put a lot of time and work into, spend the extra dime on something worth while.
Screen size is also an issue. I have edited music on a 13in MacBook Pro, and while manageable, definitely not a long term solution and, personally, is only considered if I HAVE to edit on the road.
In short:
Serious recording = any new iMac or mid-level MacBook Pro
Hobby recording = just about any late model Mac