Refined recordAndPlay