mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 04:50:29 -04:00 
			
		
		
		
	AM and WFM modulators: use precision NCO for tone
This commit is contained in:
		
							parent
							
								
									d5019e916c
								
							
						
					
					
						commit
						f95ebec3ec
					
				| @ -24,6 +24,7 @@ | |||||||
| 
 | 
 | ||||||
| #include "dsp/basebandsamplesource.h" | #include "dsp/basebandsamplesource.h" | ||||||
| #include "dsp/nco.h" | #include "dsp/nco.h" | ||||||
|  | #include "dsp/ncof.h" | ||||||
| #include "dsp/interpolator.h" | #include "dsp/interpolator.h" | ||||||
| #include "dsp/movingaverage.h" | #include "dsp/movingaverage.h" | ||||||
| #include "dsp/agc.h" | #include "dsp/agc.h" | ||||||
| @ -282,7 +283,7 @@ private: | |||||||
|     Config m_running; |     Config m_running; | ||||||
| 
 | 
 | ||||||
|     NCO m_carrierNco; |     NCO m_carrierNco; | ||||||
|     NCO m_toneNco; |     NCOF m_toneNco; | ||||||
|     Complex m_modSample; |     Complex m_modSample; | ||||||
|     Interpolator m_interpolator; |     Interpolator m_interpolator; | ||||||
|     Real m_interpolatorDistance; |     Real m_interpolatorDistance; | ||||||
|  | |||||||
| @ -24,6 +24,7 @@ | |||||||
| 
 | 
 | ||||||
| #include "dsp/basebandsamplesource.h" | #include "dsp/basebandsamplesource.h" | ||||||
| #include "dsp/nco.h" | #include "dsp/nco.h" | ||||||
|  | #include "dsp/ncof.h" | ||||||
| #include "dsp/interpolator.h" | #include "dsp/interpolator.h" | ||||||
| #include "dsp/fftfilt.h" | #include "dsp/fftfilt.h" | ||||||
| #include "dsp/movingaverage.h" | #include "dsp/movingaverage.h" | ||||||
| @ -289,7 +290,7 @@ private: | |||||||
|     Config m_running; |     Config m_running; | ||||||
| 
 | 
 | ||||||
|     NCO m_carrierNco; |     NCO m_carrierNco; | ||||||
|     NCO m_toneNco; |     NCOF m_toneNco; | ||||||
|     float m_modPhasor; //!< baseband modulator phasor
 |     float m_modPhasor; //!< baseband modulator phasor
 | ||||||
|     Complex m_modSample; |     Complex m_modSample; | ||||||
|     Interpolator m_interpolator; |     Interpolator m_interpolator; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user