Garage Band/Keyboard Problems.

SRSRC48Nov 15 200903260
    Off Topic

So I recently bought an imac... The new one comes with a wireless mouse and keyboard. When I try musical typing in garageband the sounds skip, cut out, and has similar problems. Garage band says there's an error synchronizing the MIDI with the keyboard. Any suggestions?