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:
jonsd
2008-12-22 19:19:34 +00:00
parent eabd70afbf
commit 3d02bd19d4
103 changed files with 3058 additions and 733 deletions
+8 -5
View File
@@ -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;
}
}
}