Updates the NBFM decoder to allow user to select between 12.5 and 25.0

kHz channel bandwidth so that 25 kHz channels can be demodulated correctly.
This commit is contained in:
Denny
2018-09-16 07:21:14 -04:00
parent dae68515a5
commit a17132be0d
18 changed files with 362 additions and 225 deletions

View File

@@ -62,12 +62,12 @@ public class FilterViewer extends Application
// .build();
FIRFilterSpecification specification = FIRFilterSpecification.lowPassBuilder()
.sampleRate(50000.0)
.sampleRate(25000.0)
.gridDensity(16)
.passBandCutoff(6000)
.passBandCutoff(11800)
.passBandAmplitude(1.0)
.passBandRipple(0.01)
.stopBandStart(6700)
.stopBandStart(12400)
.stopBandAmplitude(0.0)
.stopBandRipple(0.01)
.build();