mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-03-20 13:46:28 -04:00
Use more accurate arctan for NBFM demodulation.
This commit is contained in:
parent
ab2c5b256f
commit
ceef8d32d3
@ -99,8 +99,8 @@ buffer_f32_t FM::execute(
|
||||
const auto t0 = multiply_conjugate_s16_s32(s0, z);
|
||||
const auto t1 = multiply_conjugate_s16_s32(s1, s0);
|
||||
z = s1;
|
||||
*(dst_p++) = angle_approx_0deg27(t0) * k;
|
||||
*(dst_p++) = angle_approx_0deg27(t1) * k;
|
||||
*(dst_p++) = angle_precise(t0) * k;
|
||||
*(dst_p++) = angle_precise(t1) * k;
|
||||
}
|
||||
z_ = z;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user