gusimplewhiteboard
fft_dominant_frequency Struct Referenceabstract

Main FFT Analysis Structure This structure contains all the components of the FFT analysis, including the overall RMS levels on the left and right channels, the FSK frequency analysis, and a list of frequency pairs in order of their measured signal strength (strongest to weakest) More...

#include <wb_fft_frequencies.h>

Inheritance diagram for fft_dominant_frequency:
Collaboration diagram for fft_dominant_frequency:

Public Member Functions

 PROPERTY (struct rms_strength, rms) PROPERTY(struct fsk_frequencies
 overall RMS levels More...
 
fsk ARRAY_PROPERTY (struct fft_frequency_level_pair, frequencies, 0) fft_dominant_frequency(int16_t lrms=0
 Array of frequency pairs ordered by level (strongest first. More...
 
fsk int16_t uint16_t uint16_t uint16_t _fsk (hi, lo, fsk)
 

Public Attributes

fsk int16_t rrms = 0
 
fsk int16_t uint16_t hi = 320
 
fsk int16_t uint16_t uint16_t lo = 200
 
fsk int16_t uint16_t uint16_t uint16_t fsk = 0
 
fsk int16_t uint16_t uint16_t uint16_t rrms
 

Detailed Description

Main FFT Analysis Structure This structure contains all the components of the FFT analysis, including the overall RMS levels on the left and right channels, the FSK frequency analysis, and a list of frequency pairs in order of their measured signal strength (strongest to weakest)

Definition at line 170 of file wb_fft_frequencies.h.

Member Function Documentation

◆ _fsk()

fsk int16_t uint16_t uint16_t uint16_t fft_dominant_frequency::_fsk ( hi  ,
lo  ,
fsk   
)
inline

Definition at line 218 of file wb_fft_frequencies.h.

References fsk, and rrms.

◆ ARRAY_PROPERTY()

fsk fft_dominant_frequency::ARRAY_PROPERTY ( struct fft_frequency_level_pair  ,
frequencies  ,
 
)
pure virtual

Array of frequency pairs ordered by level (strongest first.

Convenience constructor (C++ only) This constructor is a varargs version of the default constructor allowing the inline specification of the frequency list (instead of using va_list). This constructor substitutes default values for all parameters if necessary.

Parameters
lrmsRMS level on the left channel (0)
rrmsRMS level on the right channel (0)
hiHigh frequency (in Hz) to measure FSK percentage on (FSK_DEFAULT_HI)
loLow frequency (in Hz) to measure FSK percentage on (FSK_DEFAULT_LO)
fskFSK percentage of high frequency presence (0%)

References FFT_DOMINANT_NUMFREQ.

◆ PROPERTY()

fft_dominant_frequency::PROPERTY ( struct rms_strength  ,
rms   
)

overall RMS levels

FSK frequency comparison between low and high requencies

Member Data Documentation

◆ fsk

fsk int16_t uint16_t uint16_t uint16_t fft_dominant_frequency::fsk = 0

◆ hi

fsk int16_t uint16_t fft_dominant_frequency::hi = 320

Definition at line 218 of file wb_fft_frequencies.h.

◆ lo

fsk int16_t uint16_t uint16_t fft_dominant_frequency::lo = 200

Definition at line 218 of file wb_fft_frequencies.h.

◆ rrms [1/2]

fsk int16_t fft_dominant_frequency::rrms = 0

Definition at line 218 of file wb_fft_frequencies.h.

Referenced by _fsk().

◆ rrms [2/2]

fsk int16_t uint16_t uint16_t uint16_t fft_dominant_frequency::rrms

Definition at line 218 of file wb_fft_frequencies.h.


The documentation for this struct was generated from the following file: