diff --git a/lib/synth-audio.js b/lib/synth-audio.js index 601c2b5..310dd7b 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -800,6 +800,7 @@ const synthPlayHT = async(client, logger, { params += `,voice_engine=${voice_engine}`; params += `,synthesize_url=${synthesizeUrl}`; params += ',write_cache_file=1'; + params += `,language=${language}`; if (opts.quality) params += `,quality=${opts.quality}`; if (opts.speed) params += `,speed=${opts.speed}`; if (opts.seed) params += `,style=${opts.seed}`;