add integrations for dmr, d-star and nxdn via dsd

This commit is contained in:
Jakob Ketterl
2016-10-15 14:30:30 +00:00
parent 875b1a5384
commit ddac30db63
5 changed files with 41 additions and 6 deletions

View File

@ -88,6 +88,9 @@
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('lsb');">LSB</div>
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('usb');">USB</div>
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('cw');">CW</div>
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('dmr');">DMR</div>
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('dstar');">DStar</div>
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('nxdn');">NXDN</div>
</div>
<div class="openwebrx-panel-line">
<div title="Mute on/off" id="openwebrx-mute-off" class="openwebrx-button" onclick="toggleMute();"><img src="gfx/openwebrx-speaker.png" class="openwebrx-sliderbtn-img" id="openwebrx-mute-img"></div>

View File

@ -560,7 +560,7 @@ input[type=range]:focus::-ms-fill-upper
.openwebrx-demodulator-button
{
width: 35px;
width: 50px;
height: 19px;
font-size: 12pt;
text-align: center;

View File

@ -429,6 +429,11 @@ function demodulator_default_analog(offset_frequency,subtype)
this.low_cut=-4000;
this.high_cut=4000;
}
else if(subtype=="dmr" || subtype=="dstar" || subtype=="nxdn")
{
this.low_cut=-6500;
this.high_cut=6500;
}
else if(subtype=="am")
{
this.low_cut=-4000;