Added different modulations in signal generator

* Added DSB, AM 100% mod index and AM 50% mod index. 
* Changed UI.
* Added pulsed CW
This commit is contained in:
Davide Rovelli
2025-03-03 22:17:56 +01:00
committed by GitHub
parent ddf7f7ccb5
commit b6e498a6d3
3 changed files with 15 additions and 9 deletions

View File

@@ -118,7 +118,7 @@ SigGenView::SigGenView(
symfield_tone.hidden(false);
}
if ((v == 0) || (v == 2) || (v == 3)) { // In Modulation Options CW, QPSK, BPSK we are not using Shapes.
if ((v == 0) || (v == 2) || (v == 3) || (v == 7)) { // In Modulation Options CW, QPSK, BPSK, Pulsed CW we are not using Shapes.
options_shape.hidden(true);
text_shape.hidden(true);
} else {

View File

@@ -123,7 +123,8 @@ class SigGenView : public View {
{"QPSK", 3},
{"DSB", 4},
{"AM 100% dep.", 5},
{"AM 50% depth", 6}}};
{"AM 50% depth", 6},
{"Pulse CW 25%", 7}}};
TransmitterView tx_view{
16 * 16,