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
1 changed files with 2 additions and 2 deletions

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;
}