mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 09:37:36 -05:00
Resolves cutoff frequency for 2 channel polyphase synthesizer.
This commit is contained in:
@@ -772,7 +772,7 @@ public class FilterFactory
|
|||||||
{
|
{
|
||||||
int filterLength = (channels * tapsPerChannel) - 1;
|
int filterLength = (channels * tapsPerChannel) - 1;
|
||||||
|
|
||||||
double cutoff = (channelBandwidth * 1.05) / (channelSampleRate * (double)channels);
|
double cutoff = (channelBandwidth * 1.10) / (channelSampleRate * (double)channels);
|
||||||
|
|
||||||
//Design the prototype synthesizer with 105% of the channel bandwidth produced by the channelizer.
|
//Design the prototype synthesizer with 105% of the channel bandwidth produced by the channelizer.
|
||||||
float[] taps = FilterFactory.getKaiserSinc(filterLength, cutoff, 80.0);
|
float[] taps = FilterFactory.getKaiserSinc(filterLength, cutoff, 80.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user