Reduce IF bandwidth to 100 kHz.
This commit is contained in:
parent
c3778fb920
commit
f0d58eac10
|
@ -276,7 +276,7 @@ void LowPassFilterRC::process(const SampleVector& samples_in,
|
|||
* H(s) = 1 / (1 - s * timeconst)
|
||||
*
|
||||
* Discrete domain:
|
||||
* H(z) = (1 - exp(-1/timeconst)) / (1 - exp(-1/timeconst) / z)a
|
||||
* H(z) = (1 - exp(-1/timeconst)) / (1 - exp(-1/timeconst) / z)
|
||||
*/
|
||||
Sample a1 = - exp(-1/m_timeconst);;
|
||||
Sample b0 = 1 + a1;
|
||||
|
|
|
@ -73,7 +73,7 @@ class FmDecoder
|
|||
{
|
||||
public:
|
||||
static constexpr double default_deemphasis = 50;
|
||||
static constexpr double default_bandwidth_if = 115000;
|
||||
static constexpr double default_bandwidth_if = 100000;
|
||||
static constexpr double default_freq_dev = 75000;
|
||||
static constexpr double default_bandwidth_pcm = 15000;
|
||||
|
||||
|
|
3
main.cc
3
main.cc
|
@ -478,7 +478,6 @@ int main(int argc, char **argv)
|
|||
adjust_gain(audiosamples, 0.5);
|
||||
|
||||
// TODO : investigate I/Q imbalance to fix Radio4 noise
|
||||
// TODO : investigate if PLL receiver is better than phase discriminator at weak reception
|
||||
|
||||
// TODO : show mono/stereo (switching)
|
||||
|
||||
|
@ -523,7 +522,7 @@ int main(int argc, char **argv)
|
|||
output_thread.join();
|
||||
}
|
||||
|
||||
// TODO : cleanup
|
||||
// No cleanup needed; everything handled by destructors.
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue