$.get(
"https://api.demo.com/voice.php",
{
text: data.msg
},
);
var audio = new Audio('https://demo.com/' + data.msg + '.mp3');
audio.play();