Work on emphasis filter: Neutral @ 1000 Hz; Use filter before de-emphasis

This commit is contained in:
Andreas Eversberg
2017-01-28 08:02:11 +01:00
parent b3fd53b165
commit 71e556e7ff
5 changed files with 88 additions and 68 deletions

View File

@@ -126,11 +126,11 @@ const char *debug_db(double level_db)
static char text[128];
int l;
strcpy(text, ": . : . : . : . : . : . : . : . : ");
strcpy(text, ": . : . : . : . : . : . : . : . | . : . : . : . : . : . : . : . :");
if (level_db <= 0.0)
return text;
l = (int)round(level2db(level_db));
if (l > 3)
if (l > 48)
return text;
if (l < -48)
return text;