structure with useful information for peak detection and continuation More...
#include <sms.h>
Data Fields | |
sfloat | fLowestFreq |
sfloat | fHighestFreq |
sfloat | fMinPeakMag |
int | iSamplingRate |
int | iMaxPeaks |
int | nPeaksFound |
sfloat | fHighestFundamental |
int | iRefHarmonic |
sfloat | fMinRefHarmMag |
sfloat | fRefHarmMagDiffFromMax |
int | iSoundType |
structure with useful information for peak detection and continuation
sfloat SMS_PeakParams::fHighestFreq |
the last bin to look for a peak
Referenced by sms_detectPeaks(), and sms_initAnalysis().
highest fundamental frequency in Hz
Referenced by sms_harmDetection(), and sms_initAnalysis().
sfloat SMS_PeakParams::fLowestFreq |
the first bin to look for a peak
Referenced by sms_detectPeaks(), sms_harmDetection(), and sms_initAnalysis().
sfloat SMS_PeakParams::fMinPeakMag |
mininum magnitude to consider as a peak
Referenced by sms_detectPeaks(), and sms_initAnalysis().
minimum magnitude in dB for reference peak
Referenced by sms_initAnalysis().
maximum magnitude difference from reference peak to highest peak
Referenced by GoodCandidate(), and sms_initAnalysis().
maximum number of spectral peaks to look for
Referenced by sms_detectPeaks(), and sms_initAnalysis().
reference harmonic to use in the fundamental detection
Referenced by GoodCandidate(), sms_harmDetection(), and sms_initAnalysis().
sampling rate of analysis signal
Referenced by sms_detectPeaks(), and sms_initAnalysis().
type of sound to be analyzed
Referenced by GoodCandidate(), and sms_initAnalysis().
the number of peaks found in each analysis