Changed offset to 800Hz so that we end up at the filter's center.

This commit is contained in:
Marat Fayzullin 2022-12-15 13:34:35 -05:00
parent 52f6ee5713
commit c5aea8e284

View File

@ -250,8 +250,8 @@ Demodulator.prototype.set_offset_frequency = function(to_what) {
return;
}
if (this.get_modulation() === 'cw') {
// For CW, move offset 700Hz below the actual carrier
this.offset_frequency = to_what - 700;
// For CW, move offset 800Hz below the actual carrier
this.offset_frequency = to_what - 800;
} else {
this.offset_frequency = to_what;
}