Open anonymouscommitter opened 11 years ago
Hi. A few things come to mind:
-i 46
, this controls the decimation/interpolation between the input and output of rtl-fm. For 46 this gives an input of 22050*46 = 1014300 Hz. This would need to be changed to use another sampling rate.double convol []
need to be changed to match the shape of a NBFM transmission at whatever resolution the system is currently running.
I was too lazy to calculate the theoretical spectrum of FM so I used GNU Radio with its NFMB block, modulated some noise with it and fed that to fft_conv_gen.c . This gives reasonable values for double convol []
.
Hello, As the dongle supports a sample rate up to 2.8Mhz, I tried to modify the sample rate found in SAMP_RATE but it would still spit out a 'Difference between maximum and minimum freqencies exceed sampled spectrum' error. I tracked that to 'if(max-min > 1000000)' in fm_multimix.c which I modified for 'if(max-min > (SAMP_RATE - 14300))', after this it stopped spitting out the error but the sample rate of the demoulated output seems to be off (too low). Any clues as to what else needs to be modified to allow a higher sample rate?