Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed pifmplay/pifm
Binary file not shown.
3 changes: 2 additions & 1 deletion pifmplay/pifm.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#define PAGE_SIZE (4*1024)
#define BLOCK_SIZE (4*1024)
#define PREEMP_TIME_CONST 50.0e-6 // 50us. Change to 75us if you are in USA or South Korea

#define PI 3.14159265

Expand Down Expand Up @@ -261,7 +262,7 @@ class PreEmp : public SampleSink {
// this isn't the right filter... But it's close...
// Something todo with a bilinear transform not being right...
PreEmp(float rate, SampleSink* next):
fmconstant(rate * 75.0e-6), // for pre-emphisis filter. 75us time constant
fmconstant(rate * PREEMP_TIME_CONST), // for pre-emphasis filter. 50us/75us time constant
dataold(0),
next(next) { };

Expand Down