|
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
|