Random Midi drum creator like Garage band?!

Hy,

Is their any random drum Generator like the one in Garage band (on ipad, Not sure if it is implementied in The mac/px Version as well)?

Is it possible to User The drums from Garage Band as Midi Files?

Thanks a Loft

David