Edinburgh Speech Tools  2.1-release
EST_wave_utils.h File Reference
#include <cstdio>
#include "EST_cutils.h"
#include "EST_rw_status.h"
#include "EST_WaveFile.h"
Include dependency graph for EST_wave_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ConvertToIeeeExtended (double num, unsigned char *bytes)
 
double ConvertFromIeeeExtended (unsigned char *bytes)
 
int get_word_size (enum EST_sample_type_t sample_type)
 
enum EST_sample_type_t str_to_sample_type (const char *type)
 
const char * sample_type_to_str (enum EST_sample_type_t type)
 
short * convert_raw_data (unsigned char *file_data, int data_length, enum EST_sample_type_t sample_type, int bo)
 
enum EST_write_status save_raw_data (FILE *fp, const short *data, int offset, int num_samples, int num_channels, enum EST_sample_type_t sample_type, int bo)
 
enum EST_write_status save_raw_data_nc (FILE *fp, const short *data, int offset, int num_samples, int num_channels, enum EST_sample_type_t sample_type, int bo)
 

Function Documentation

void ConvertToIeeeExtended ( double  num,
unsigned char *  bytes 
)

Definition at line 669 of file EST_wave_utils.cc.

double ConvertFromIeeeExtended ( unsigned char *  bytes)

Definition at line 766 of file EST_wave_utils.cc.

int get_word_size ( enum EST_sample_type_t  sample_type)

Definition at line 365 of file EST_wave_utils.cc.

enum EST_sample_type_t str_to_sample_type ( const char *  type)

Definition at line 400 of file EST_wave_utils.cc.

const char* sample_type_to_str ( enum EST_sample_type_t  type)

Definition at line 438 of file EST_wave_utils.cc.

short* convert_raw_data ( unsigned char *  file_data,
int  data_length,
enum EST_sample_type_t  sample_type,
int  bo 
)

Definition at line 216 of file EST_wave_utils.cc.

enum EST_write_status save_raw_data ( FILE *  fp,
const short *  data,
int  offset,
int  num_samples,
int  num_channels,
enum EST_sample_type_t  sample_type,
int  bo 
)

Definition at line 275 of file EST_wave_utils.cc.

enum EST_write_status save_raw_data_nc ( FILE *  fp,
const short *  data,
int  offset,
int  num_samples,
int  num_channels,
enum EST_sample_type_t  sample_type,
int  bo 
)