Edinburgh Speech Tools  2.1-release
EST_track_aux.cc File Reference
#include <cmath>
#include <cstdlib>
#include "EST_cutils.h"
#include "EST_simplestats.h"
#include "EST_sort.h"
#include "EST_Track.h"
#include "EST_TrackFile.h"
#include "EST_Option.h"
#include "EST_track_aux.h"
#include "EST_error.h"
Include dependency graph for EST_track_aux.cc:

Go to the source code of this file.

Functions

float correlation (EST_Track &a, EST_Track &b, ssize_t cha, ssize_t chb)
 
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)
 
void simple_mean_smooth (EST_Track &c, ssize_t n, ssize_t channel)
 
void absolute (EST_Track &tr)
 
void normalise (EST_Track &tr)
 
void normalise (EST_TrackList &trlist, EST_FVector &mean, EST_FVector &sd, float upper, float lower)
 
void normalise (EST_Track &tr, EST_FVector &mean, EST_FVector &sd, float upper, float lower)
 
void normalise (EST_Track &tr, float mean, float sd, ssize_t channel, float upper, float lower)
 
EST_Track differentiate (EST_Track &c, float samp_int)
 
EST_Track difference (EST_Track &a, EST_Track &b)
 
EST_Track difference (EST_Track &a, EST_Track &b, ssize_t channel_a, ssize_t channel_b)
 
EST_Track difference (EST_Track &a, EST_Track &b, EST_String fname)
 
float mean (const EST_Track &tr, ssize_t channel)
 
void mean (const EST_Track &tr, EST_FVector &m)
 
void meansd (EST_Track &tr, float &m, float &sd, ssize_t channel)
 
float rms_error (EST_Track &a, EST_Track &b, ssize_t channel)
 
float abs_error (EST_Track &a, EST_Track &b, ssize_t channel)
 
void meansd (EST_Track &a, EST_FVector &m, EST_FVector &sd)
 
void meansd (EST_TrackList &tl, float &mean, float &sd, ssize_t channel)
 
void meansd (EST_TrackList &tl, 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)
 
EST_FVector correlation (EST_Track &a, EST_Track &b, EST_String fname)
 
EST_Track error (EST_Track &ref, EST_Track &test, int relax)
 
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)
 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)
 Index of the frame whose start boundary. More...
 
void move_start (EST_Track &tr, float shift)
 Move the track by shift seconds. More...
 
void set_start (EST_Track &tr, float start)
 Move the track so that it starts at the indicated time. More...
 
void extract2 (EST_Track &orig, float start, float end, EST_Track &ret)
 
void extract (EST_Track &orig, float start, float end, EST_Track &ret)
 
int get_order (const EST_Track &t, EST_CoefficientType type, int d)
 How many coefficients in track (looks for Coef0 and coefN channels) More...
 
int get_order (const EST_Track &tr)
 
int sum_lengths (const EST_Track &t, int sample_rate, ssize_t start_frame, ssize_t end_frame)
 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 extract (EST_Track &tr, EST_Option &al)
 
void extract_channel (EST_Track &orig, EST_Track &nt, EST_IList &ch_list)
 
void ParallelTracks (EST_Track &a, EST_TrackList &list, const EST_String &style)
 
void channel_to_time (EST_Track &tr, ssize_t channel, float scale)
 
void channel_to_time (EST_Track &tr, EST_ChannelType c, float scale)
 
void channel_to_time (EST_Track &tr, const EST_String c_name, float scale)
 
void channel_to_time_lengths (EST_Track &tr, ssize_t channel, float scale)
 
void channel_to_time_lengths (EST_Track &tr, EST_ChannelType c, float scale)
 
void channel_to_time_lengths (EST_Track &tr, const EST_String c_name, float scale)
 
EST_String options_subtrack (void)
 
EST_String options_track_input (void)
 
EST_String options_track_output (void)
 
void track_info (EST_Track &t)
 
EST_String options_track_filetypes (void)
 
EST_String options_track_filetypes_long (void)
 

Function Documentation

float correlation ( EST_Track a,
EST_Track b,
ssize_t  cha,
ssize_t  chb 
)

Definition at line 428 of file EST_track_aux.cc.

EST_Track difference ( EST_Track a,
EST_Track b,
ssize_t  channel_a,
ssize_t  channel_b 
)

Definition at line 300 of file EST_track_aux.cc.

EST_Track difference ( EST_Track a,
EST_Track b,
EST_String  fname 
)

Definition at line 313 of file EST_track_aux.cc.

void meansd ( EST_TrackList tl,
float &  mean,
float &  sd,
ssize_t  channel 
)

Definition at line 476 of file EST_track_aux.cc.

void meansd ( EST_TrackList tl,
EST_FVector m,
EST_FVector sd 
)

Definition at line 511 of file EST_track_aux.cc.

EST_FVector correlation ( EST_Track a,
EST_Track b,
EST_String  fname 
)

Definition at line 579 of file EST_track_aux.cc.

void extract2 ( EST_Track orig,
float  start,
float  end,
EST_Track ret 
)

Definition at line 740 of file EST_track_aux.cc.

void extract ( EST_Track tr,
EST_Option al 
)

Definition at line 868 of file EST_track_aux.cc.

void extract_channel ( EST_Track orig,
EST_Track nt,
EST_IList ch_list 
)

Definition at line 892 of file EST_track_aux.cc.

EST_String options_track_input ( void  )

Definition at line 1058 of file EST_track_aux.cc.

EST_String options_track_output ( void  )

Definition at line 1079 of file EST_track_aux.cc.