able to record an audio and play it according to what the user has pressed