Merge pull request #94 from jambonz/fix/playht30_lang

add language to playht3.0
This commit is contained in:
Dave Horton
2024-10-16 07:23:04 -04:00
committed by GitHub
+1
View File
@@ -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}`;