Commit e11596c1 authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

debug synthèse vocale

parent fcbdd1c6
......@@ -69,7 +69,8 @@ async function playIpa() {
const response = await fetch('http://phonographe.alem-app.fr/_playIpa/', options)
const data = await response.json();
readResponse(data["audio"]);
} else if (sv_audio) {
} else {
var sv_audio = document.getElementsByTagName("audio")[0];
sv_audio.playbackRate = document.getElementById('debitParole').value / 100;
sv_audio.play();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment