mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-14 12:22:00 -05:00
Channel Analyzer: use precision NCO
This commit is contained in:
parent
eca3809ab9
commit
3820345539
@ -35,7 +35,6 @@ ChannelAnalyzer::ChannelAnalyzer(BasebandSampleSink* sampleSink) :
|
|||||||
m_sampleRate = 96000;
|
m_sampleRate = 96000;
|
||||||
m_frequency = 0;
|
m_frequency = 0;
|
||||||
m_nco.setFreq(m_frequency, m_sampleRate);
|
m_nco.setFreq(m_frequency, m_sampleRate);
|
||||||
m_nco_test.setFreq(m_frequency, m_sampleRate);
|
|
||||||
m_undersampleCount = 0;
|
m_undersampleCount = 0;
|
||||||
m_sum = 0;
|
m_sum = 0;
|
||||||
m_usb = true;
|
m_usb = true;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <dsp/basebandsamplesink.h>
|
#include <dsp/basebandsamplesink.h>
|
||||||
#include <QMutex>
|
#include <QMutex>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "dsp/nco.h"
|
#include "dsp/ncof.h"
|
||||||
#include "dsp/fftfilt.h"
|
#include "dsp/fftfilt.h"
|
||||||
#include "audio/audiofifo.h"
|
#include "audio/audiofifo.h"
|
||||||
#include "util/message.h"
|
#include "util/message.h"
|
||||||
@ -93,8 +93,7 @@ private:
|
|||||||
bool m_ssb;
|
bool m_ssb;
|
||||||
Real m_magsq;
|
Real m_magsq;
|
||||||
|
|
||||||
NCO m_nco;
|
NCOF m_nco;
|
||||||
NCO m_nco_test;
|
|
||||||
fftfilt* SSBFilter;
|
fftfilt* SSBFilter;
|
||||||
fftfilt* DSBFilter;
|
fftfilt* DSBFilter;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user