// Som Pom
function tocaSomPom(){
document.querySelector('#som_tecla_pom').play();
}
// Som Clap
function tocaSomClap(){
document.querySelector('#som_tecla_clap').play();
}
// Lista com todas as teclas
const listaTeclas = document.querySelectorAll('.tecla');
// Seleciona o respectivo elemento da lista e chama a função
listaTeclas[0].onclick = tocaSomPom;
listaTeclas[1].onclick = tocaSomClap;