Adds recording (wip - causing underruns due to excessive computation).