Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

PitchDetector::PitchInfo Struct Reference

#include <PitchDetector.h>

List of all members.


Detailed Description

stores info about the pitch currently being detected

Definition at line 40 of file PitchDetector.h.

Public Member Functions

 PitchInfo ()
 constructor -- sets everything to 0 (additional initialization is done for each pitch_info entry during DoStart())

Public Attributes

float freq
 frequency of this pitch (calculated on instantiation)
float sigma
 standard dev to use (sqrt(var)), calc'd on start
float local_max
 [0,1] value: how much stronger it is than neighbors, else zero
float global_max
 [0,1] value: how much stronger than mean if global max, else zero
float overtone
 value in [0,1] with confidence that it is overtone
float confidence
 value in [0,1] with confidence that this is a pitch, not noise (should confidence have a rolling average as well?)
float amplitude
 rolling average amplitude
unsigned int duration
 number of windows it has been on


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

Tekkotsu v3.0
Generated Fri May 11 20:08:32 2007 by Doxygen 1.4.7