|
Public Member Functions |
| Pitchmarks () |
| Pitchmarks (vector< pair< double, double > >, double duration, double startTime) |
void | loadPitchmarks (const string &filename, const double start, const double end) |
| Format independent Pitchmarks loading function.
|
bool | selfCheck () |
| Performs an integrity check of the Pitchmarks class' instance. Returns true if all is ok, 'false' otherwise.
|
Private Member Functions |
int | getPitchmarkFormat (const string &filename) |
| Determines what pitchmark loading algorithm to use.
|
void | loadPraatPitchmarks (const string &filename, const double start, const double end) |
| Loads pitchmarks from a file in the praat format.
|
void | loadRawPitchmarks (const string &filename, const double start, const double end) |
| Loads Pitchmarks for a file in raw format. The file is formatted as a column of real numbers.
|
double | interpolate (double x, const pair< double, double > &p1, const pair< double, double > &p2) |
| Linear interpolation of two points in 2D space.
|