set up first buffer recording and control