Edinburgh Speech Tools  2.1-release
EST_track_aux.h File Reference
#include "EST_FMatrix.h"
#include "EST_TList.h"
#include "ling_class/EST_Relation.h"
#include "EST_Option.h"
#include "EST_Track.h"
#include "EST_TBuffer.h"
Include dependency graph for EST_track_aux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void track_smooth (EST_Track &c, float x, EST_String stype="")
 
void time_med_smooth (EST_Track &c, float x)
 
void time_mean_smooth (EST_Track &c, float x)
 
void simple_med_smooth (EST_Track &c, ssize_t n, ssize_t channel=0)
 
void simple_mean_smooth (EST_Track &c, ssize_t n, ssize_t channel=0)
 
float abs_error (EST_Track &a, EST_Track &b, ssize_t channel)
 
void absolute (EST_Track &tr)
 
void normalise (EST_Track &tr)
 
void normalise (EST_Track &tr, float mean, float sd, ssize_t channel, float upper, float lower)
 
void normalise (EST_Track &tr, EST_FVector &mean, EST_FVector &sd, float upper, float lower)
 
void normalise (EST_TrackList &trlist, EST_FVector &mean, EST_FVector &sd, float upper, float lower)
 
EST_Track differentiate (EST_Track &c, float samp_int=0.0)
 
EST_Track difference (EST_Track &a, EST_Track &b)
 
float mean (const EST_Track &a, ssize_t channel)
 
void mean (const EST_Track &a, EST_FVector &m)
 
void meansd (EST_Track &a, float &m, float &sd, ssize_t channel)
 
float rms_error (EST_Track &a, EST_Track &b, ssize_t channel)
 
float correlation (EST_Track &a, EST_Track &b, ssize_t channel)
 
void meansd (EST_Track &a, EST_FVector &m, EST_FVector &sd)
 
EST_FVector rms_error (EST_Track &a, EST_Track &b)
 
EST_FVector abs_error (EST_Track &a, EST_Track &b)
 
EST_FVector correlation (EST_Track &a, EST_Track &b)
 
void align_to_track (EST_Track &tr, float &start, float &end)
 Move the start and end variables to the nearest frame. More...
 
void align_to_track (EST_Track &tr, int &start, int &end, int sample_rate)
 Move the start and end variables to the nearest frame. More...
 
void move_to_frame_ends (EST_Track &tr, int &start, int &end, int sample_rate, float offset=0.0)
 Move the start and end variables to the start and end of the nearest frame. More...
 
int nearest_boundary (EST_Track &tr, float time, int sample_rate, float offset=0)
 Index of the frame whose start boundary. More...
 
void set_start (EST_Track &tr, float start)
 Move the track so that it starts at the indicated time. More...
 
void move_start (EST_Track &tr, float shift)
 Move the track by shift seconds. More...
 
EST_Track error (EST_Track &ref, EST_Track &test, int relax=0)
 
void extract (EST_Track &orig, float start, float end, EST_Track &res)
 
int track_divide (EST_TrackList &mtfr, EST_Track &fv, EST_Relation &key)
 
void ParallelTracks (EST_Track &a, EST_TrackList &list, const EST_String &style)
 
void track_info (EST_Track &track)
 
EST_String options_track_filetypes (void)
 
EST_String options_track_filetypes_long (void)
 
EST_String options_subtrack (void)
 
int read_track (EST_Track &tr, const EST_String &in_file, EST_Option &al)
 
float get_time_frame_size (EST_Track &pms, int i, int prefer_prev=0)
 
int get_frame_size (EST_Track &pms, int current_pos, int sample_rate, int prefer_prev=0)
 
int get_order (const EST_Track &t, EST_CoefficientType type, int d=0)
 How many coefficients in track (looks for Coef0 and coefN channels) More...
 
int get_order (const EST_Track &t)
 
int sum_lengths (const EST_Track &t, int sample_rate, int start_frame=0, int end_frame=-1)
 Total the length channel values. More...
 
void get_start_positions (const EST_Track &t, int sample_rate, EST_TBuffer< int > &pos)
 Find the start point in the signal of the sections of speech related to each frame. More...
 
void channel_to_time (EST_Track &tr, ssize_t channel, float scale=1.0)
 
void channel_to_time (EST_Track &tr, EST_ChannelType c, float scale=1.0)
 
void channel_to_time (EST_Track &tr, const EST_String c_name, float scale=1.0)
 
void channel_to_time_lengths (EST_Track &tr, ssize_t channel, float scale=1.0)
 
void channel_to_time_lengths (EST_Track &tr, EST_ChannelType c, float scale=1.0)
 
void channel_to_time_lengths (EST_Track &tr, const EST_String c_name, float scale=1.0)
 
Analysis frame position

Functions which define which part of a single is associated with a given frame in a track.

This is defined here in one place for consistency. They are inline since they tend to be used in inner loops. There are two versions, the second for when there are offsets in the track.