jopohl / urh

Universal Radio Hacker: Investigate Wireless Protocols Like A Boss
GNU General Public License v3.0
10.83k stars 862 forks source link

GFSK modulation support for generator #5

Closed andynoack closed 8 years ago

andynoack commented 8 years ago
jopohl commented 8 years ago

Adapting the phase is needed to prevent spiky jumps and correct the fact, that we sample discrete points sin(2 pi f_1 t_1 + phi_1) = sin(2 pi f_2 t_1 + phi_2) <=> phi_2 = 2 pi t_1 (f_1 - f_2) + phi_1