record and playback audio with the help of bookmarks