mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-11 08:30:31 +00:00
[1.26.11] Windows: look for environment variable ESPEAK-DATA-PATH for the directory which contains the espeak-data directory.
AdjustFormants(): adjust the F2 target by a factor which depends on the voice pitch. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@55 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -403,6 +403,8 @@ static void AdjustFormants(frame_t *fr, int target, int min, int max, int f1_adj
|
||||
|
||||
//hf_reduce = 70; // ?? using fixed amount rather than the parameter??
|
||||
|
||||
target = (target * voice->formant_factor)/256;
|
||||
|
||||
x = (target - fr->ffreq[2]) / 2;
|
||||
if(x > max) x = max;
|
||||
if(x < min) x = min;
|
||||
|
||||
Reference in New Issue
Block a user