add a mechanism to record and play audio many times automatically.