more precise timing for playing sounds