SMS_PeakParams Struct Reference

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

Detailed Description

structure with useful information for peak detection and continuation


Field Documentation

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().

the first bin to look for a peak

Referenced by sms_detectPeaks(), sms_harmDetection(), and sms_initAnalysis().

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

See also:
SMS_SOUND_TYPE

Referenced by GoodCandidate(), and sms_initAnalysis().

the number of peaks found in each analysis


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Thu Oct 29 04:08:07 2009 for libsms by  doxygen 1.6.1