Implement EXPAND mode
tonyc opened this issue · comments
Currently EXPAND mode is not implemented - when it is turned on, the scope does not align with what the radio is actually hearing.
f (khz) | span (khz) | low cutoff (khz) | high cutoff (khz) | low delta khz | high delta | delta | span:delta |
---|---|---|---|---|---|---|---|
7000 | 5 | 6992.5 | 7007.5 | 7.5 | 7.5 | 15 | 0.3333333333 |
7000 | 10 | 6985 | 7015 | 15 | 15 | 30 | 0.3333333333 |
7000 | 20 | 6970 | 7030 | 30 | 30 | 60 | 0.3333333333 |
7000 | 30 | 6955 | 7045 | 45 | 45 | 90 | 0.3333333333 |
7000 | 50 | 6925 | 7075 | 75 | 75 | 150 | 0.3333333333 |
7000 | 100 | 6850 | 7150 | 150 | 150 | 300 | 0.3333333333 |
7000 | 200 | 6799 | 7199 | 201 | 199 | 400 | 0.5 |
7000 | 500 | - | - | - | - | - |
For spans 5-100 khz, only render the middle 1/3 of samples received. For 200khz, render the middle 1/2. For 500 khz, just render all of what is received.