In file ../include/EST_track_aux.h:

int get_frame_size

(EST_Track &pms, int current_pos,
  int sample_rate, int prefer_prev=0)

Return the frame size in samples based on analysis of current time points.

Documentation

Return the frame size in samples based on analysis of current time points. This function basically determines the local frame size (shift) by subtracting the current time point from the next time point. If the prefer_prev flag is set to true, or the index is the last in the track, the size is determined by subtracting the previous time point from the current one.

This is most commonly used in pitch synchronous analysis to determine the local pitch period.

See Also:
get_time_frame_size

Alphabetic index HTML hierarchy of classes or Java


This page is part of the Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact: speech_tools@cstr.ed.ac.uk