Hi strontium,
If GroovyMAME is actually running at a solid 100% speed, the sound should be perfect. So, either it is not running at 100% all the time, or there's something odd going on. Note that for some reason, in MAME for Linux there's a huge speed drop when you bring the user interface menu out. So it's normal to experience sound issues for a moment while entering the menu.