added record and playback examples

Signed-off-by: Sean Nicholls <seannicholls@gmail.com>