mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
Tidy up phsource.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@213 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+8
-5
@@ -890,12 +890,15 @@ int h2;
|
||||
// increase bass
|
||||
y = peaks[1].height * 10; // addition as a multiple of 1/256s
|
||||
h2 = (1000<<16)/pitch; // decrease until 1000Hz
|
||||
x = y/h2;
|
||||
h = 1;
|
||||
while(y > 0)
|
||||
if(h2 > 0)
|
||||
{
|
||||
htab[h++] += y;
|
||||
y -= x;
|
||||
x = y/h2;
|
||||
h = 1;
|
||||
while(y > 0)
|
||||
{
|
||||
htab[h++] += y;
|
||||
y -= x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user