<div class="pin">bi</div>
<div class="pin">ba</div>
<div class="pin">a</div>
<div class="pin">ao</div>
<div class="pin">o</div>
var mp3 = new Audio('http://russian.cri.cn/newru/chinese/lesson01/pinyin/ba.mp3');mp3.play();
function play(evt) {
let sound = evt.target.textContent // текст из дива
player.src = `http://russian.cri.cn/newru/chinese/lesson01/pinyin/${sound}.mp3`
player.play();
}
$('.pin').on('click', function() {
let mp3 = new Audio(`http://russian.cri.cn/newru/chinese/lesson01/pinyin/${$(this).text().trim()}.mp3`);
mp3.play();
})