Sound engine for mobile devices