mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 22:07:12 +00:00
[1.29.24] Fixed problem where espeak_GetCurrentVoice() gave a newline character after the voice name.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@110 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -787,7 +787,7 @@ int GetAmplitude(void)
|
||||
int amp;
|
||||
|
||||
// normal, none, reduced, moderate, strong
|
||||
static const unsigned char amp_emphasis[5] = {16, 16, 8, 24, 32};
|
||||
static const unsigned char amp_emphasis[5] = {16, 16, 8, 16, 26};
|
||||
|
||||
amp = (embedded_value[EMBED_A])*60/100;
|
||||
general_amplitude = amp * amp_emphasis[embedded_value[EMBED_F]] / 16;
|
||||
|
||||
Reference in New Issue
Block a user