record sound or controller events for flexible playback.