I'm looking for a good audio recording program (free?), and a virtual drum machine also.
I'm going to record....I can play the guitar and bass, but I need a drum machine.

Audacity is too 'weak' for my purpose, I need better quality. And a drum machine. Any ideas?
Drum machines try Hotstepper or Hydrogen. Both matrix-based and they allow plenty of variation. You might want to get some better samples for them but other than that they work well and they're both free which I assume was a condition for the drum machine as well.