Edinburgh Speech Tools  2.1-release
EST_TrackFile.cc File Reference
#include <fstream>
#include <iostream>
#include <sstream>
#include <cstdlib>
#include <cmath>
#include <time.h>
#include "EST_unix.h"
#include "EST_types.h"
#include "EST_Track.h"
#include "EST_track_aux.h"
#include "EST_TrackMap.h"
#include "EST_cutils.h"
#include "EST_Token.h"
#include "EST_TList.h"
#include "EST_string_aux.h"
#include "EST_walloc.h"
#include "EST_TrackFile.h"
#include "EST_FileType.h"
#include "EST_WaveFile.h"
#include "EST_wave_utils.h"
Include dependency graph for EST_TrackFile.cc:

Go to the source code of this file.

Macros

#define NEARLY_ZERO   0.00001
 
#define REASONABLE_FRAME_SIZE   (20)
 
#define UNREASONABLE_FRAME_SIZE   (80)
 

Functions

int nist_get_param_int (char *hdr, char *field, int def_val)
 
char * nist_get_param_str (char *hdr, char *field, char *def_val)
 
const char * sample_type_to_nist (enum EST_sample_type_t sample_type)
 
enum EST_sample_type_t nist_to_sample_type (char *type)
 
EST_read_status read_est_header (EST_TokenStream &ts, EST_Features &hinfo, bool &ascii, EST_EstFileType &t)
 
EST_read_status load_snns_res (const EST_String filename, EST_Track &tr, float ishift, float startt)
 
EST_write_status save_snns_pat (const EST_String filename, EST_TrackList &inpat, EST_TrackList &outpat)
 
int track_to_espsf0 (EST_Track &track, EST_Track &f0_track)
 
int espsf0_to_track (EST_Track &fz)
 
int track_to_htk_lpc (EST_Track &track, EST_Track &lpc)
 
EST_write_status save_ind_TrackList (EST_TrackList &tlist, EST_String &otype)
 
EST_read_status read_TrackList (EST_TrackList &tlist, EST_StrList &files, EST_Option &al)
 
int read_track (EST_Track &tr, const EST_String &in_file, EST_Option &al)
 

Macro Definition Documentation

#define NEARLY_ZERO   0.00001

Definition at line 65 of file EST_TrackFile.cc.

#define REASONABLE_FRAME_SIZE   (20)

Definition at line 67 of file EST_TrackFile.cc.

#define UNREASONABLE_FRAME_SIZE   (80)

Definition at line 68 of file EST_TrackFile.cc.

Function Documentation

int nist_get_param_int ( char *  hdr,
char *  field,
int  def_val 
)
char* nist_get_param_str ( char *  hdr,
char *  field,
char *  def_val 
)
const char* sample_type_to_nist ( enum EST_sample_type_t  sample_type)

Definition at line 112 of file EST_wave_io.cc.

enum EST_sample_type_t nist_to_sample_type ( char *  type)

Definition at line 139 of file EST_wave_io.cc.

EST_read_status read_est_header ( EST_TokenStream ts,
EST_Features hinfo,
bool ascii,
EST_EstFileType t 
)

Read and parse the header of an EST_File - interim version returning features rather than EST_Option

Definition at line 84 of file est_file.cc.

EST_read_status load_snns_res ( const EST_String  filename,
EST_Track tr,
float  ishift,
float  startt 
)

Definition at line 595 of file EST_TrackFile.cc.

EST_write_status save_snns_pat ( const EST_String  filename,
EST_TrackList inpat,
EST_TrackList outpat 
)

Definition at line 942 of file EST_TrackFile.cc.

int track_to_espsf0 ( EST_Track track,
EST_Track f0_track 
)

Definition at line 1936 of file EST_TrackFile.cc.

int espsf0_to_track ( EST_Track fz)

Definition at line 1980 of file EST_TrackFile.cc.

int track_to_htk_lpc ( EST_Track track,
EST_Track lpc 
)

Definition at line 2021 of file EST_TrackFile.cc.

EST_write_status save_ind_TrackList ( EST_TrackList tlist,
EST_String otype 
)

Definition at line 2062 of file EST_TrackFile.cc.

EST_read_status read_TrackList ( EST_TrackList tlist,
EST_StrList files,
EST_Option al 
)

Definition at line 2070 of file EST_TrackFile.cc.