Skip to content

Commit

Permalink
fix(#170): tts config file tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
marisademeglio committed Jun 4, 2024
1 parent 4bfb378 commit 23d44a1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/shared/parser/pipelineXmlConverter/ttsConfigToXml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ function ttsConfigToXml(ttsConfig: TtsConfig): string {
<voice engine="${v.engine}" name="${v.name}" lang="${
v.lang
}" gender="${v.gender}" priority="${isDefault(v) ? 2 : 1}"/>
<voice engine="${v.engine}" name="${v.name}" lang="${getLang(
v.lang
)}" gender="${v.gender}" priority="${isDefault(v) ? 2 : 1}"/>`
${
isDefault(v)
? `<voice engine="${v.engine}" name="${
v.name
}" lang="${getLang(v.lang)}"
gender="${v.gender}" priority="2"/>`
: ''
}`
})
.join('')}
</config>`
Expand Down

0 comments on commit 23d44a1

Please sign in to comment.