I started having problems with Sonar stability early yesterday. Audio would crackle and fizzle out. Changing app focus would bring it back. A few minutes later it would futz out again.
Then I noticed my shift key acted like a control key ...
I checked the battery status on the keyboard and it was too low for the app to read the level. Changed the batteries and everything is back to normal.
This particular keyboard/mouse (Logitech) has the little USB receiver. Apparently when the keyboard gets low on juice it reaks havoc on the USB subsystem.
Check your batteries once in a while!! :)
EDITed to include 'wireless' in the subject