Here is an example for you
In this example, an image (from wikipedia) is shown to the user. When user clicks on the image, another one from the list is replaces the previous one. There are 3 images defined and script loops around.
HTML
<div id="clickable">
<img src="https://en.wikipedia.org/wiki/Sparrow#/media/File:House_Sparrow_mar08.jpg"/>
</div>
JS Code
var data = [ "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f5/House_Sparrow_mar08.jpg/1024px-House_Sparrow_mar08.jpg",
"https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Ara_ararauna_Luc_Viatour.jpg/1024px-Ara_ararauna_Luc_Viatour.jpg",
"https://upload.wikimedia.org/wikipedia/commons/thumb/4/4e/Rose-ringed_Parakeet_eating_leaves.JPG/1024px-Rose-ringed_Parakeet_eating_leaves.JPG" ];
var ind = 0;
function swap(){
ind ++;
$('#clickable').html('<img src="' + data[ind % 3] + '"/>');
}
$('#clickable').on('click', swap);
swap();
I didn't provide an audio. But this should enough to give you an idea.
My example uses JQuery
Hope it helps.