diff --git a/plugins/channeltx/modatv/atvmodgui.cpp b/plugins/channeltx/modatv/atvmodgui.cpp index 58e0eb1d8..899a82c3f 100644 --- a/plugins/channeltx/modatv/atvmodgui.cpp +++ b/plugins/channeltx/modatv/atvmodgui.cpp @@ -266,7 +266,7 @@ void ATVModGUI::on_modulation_currentIndexChanged(int index) ui->rfBW->setMaximum(m_channelizer->getOutputSampleRate() / 200000); ui->rfOppBW->setMaximum(m_channelizer->getOutputSampleRate() / 200000); m_channelMarker.setBandwidth(ui->rfBW->value()*100000); - m_channelMarker.setOppositeBandwidth(ui->rfOppBW->value()*200000); + m_channelMarker.setOppositeBandwidth(ui->rfOppBW->value()*100000); m_channelMarker.setSidebands(ChannelMarker::vlsb); } else if (index == (int) ATVMod::ATVModulationUSB) @@ -281,7 +281,7 @@ void ATVModGUI::on_modulation_currentIndexChanged(int index) ui->rfBW->setMaximum(m_channelizer->getOutputSampleRate() / 200000); ui->rfOppBW->setMaximum(m_channelizer->getOutputSampleRate() / 200000); m_channelMarker.setBandwidth(ui->rfBW->value()*100000); - m_channelMarker.setOppositeBandwidth(ui->rfOppBW->value()*200000); + m_channelMarker.setOppositeBandwidth(ui->rfOppBW->value()*100000); m_channelMarker.setSidebands(ChannelMarker::vusb); } else @@ -329,11 +329,11 @@ void ATVModGUI::on_rfOppBW_valueChanged(int value) if (ui->modulation->currentIndex() == (int) ATVMod::ATVModulationVestigialLSB) { - m_channelMarker.setOppositeBandwidth(-ui->rfOppBW->value()*200000); + m_channelMarker.setOppositeBandwidth(-ui->rfOppBW->value()*100000); } else if (ui->modulation->currentIndex() == (int) ATVMod::ATVModulationVestigialUSB) { - m_channelMarker.setOppositeBandwidth(ui->rfOppBW->value()*200000); + m_channelMarker.setOppositeBandwidth(ui->rfOppBW->value()*100000); } else { diff --git a/sdrbase/gui/glspectrum.cpp b/sdrbase/gui/glspectrum.cpp index da2008f65..bd5bc6e32 100644 --- a/sdrbase/gui/glspectrum.cpp +++ b/sdrbase/gui/glspectrum.cpp @@ -1270,10 +1270,10 @@ void GLSpectrum::applyChanges() pw = dv->m_channelMarker->getLowCutoff(); nw = dv->m_channelMarker->getBandwidth() / 2; } else if (sidebands == ChannelMarker::vusb) { - nw = -dv->m_channelMarker->getOppositeBandwidth() / 2; // negative bandwidth + nw = -dv->m_channelMarker->getOppositeBandwidth(); // negative bandwidth pw = dv->m_channelMarker->getBandwidth(); // positive bandwidth } else if (sidebands == ChannelMarker::vlsb) { - pw = dv->m_channelMarker->getOppositeBandwidth() / 2; // positive bandwidth + pw = dv->m_channelMarker->getOppositeBandwidth(); // positive bandwidth nw = -dv->m_channelMarker->getBandwidth(); // negative bandwidth } else { pw = dsbw / 2;