mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
code cleanup: move stressLength, stressAdd and stressAmp handling in LoadVoice()
From now on, stressLength must be set before stressAdd because stressLength will overwrite any previous value. Usually stressLength is set in a language file and stressAdd in a voice file. Previously the order of the two commands didn't matter.
This commit is contained in:
@@ -458,6 +458,9 @@ Eight integer parameters. These are added to the voice's corresponding
|
||||
`stressLength` values. They are used in the voice variant files in
|
||||
`espeak-ng-data/voices/!v` to give some variety. Negative values may be used.
|
||||
|
||||
Note that setting `stressLength` after `stressAdd` will overwrite this value.
|
||||
`stressLength` must be set before `stressAdd`.
|
||||
|
||||
### stressAmp
|
||||
|
||||
stressAmp <8 integer values>
|
||||
|
||||
Reference in New Issue
Block a user