46 #define BREAK_NUMBER 0.0
48 #define DEFAULT_DECIMATION 4
49 #define DEFAULT_MIN_PITCH 40.0
50 #define DEFAULT_MAX_PITCH 400.0
52 #define DEFAULT_SF 20000
53 #define DEFAULT_SHIFT 5.0
54 #define DEFAULT_LENGTH 10.0
55 #define DEFAULT_TSILENT 120
56 #define DEFAULT_TMIN 0.75
57 #define DEFAULT_TMAX_RATIO 0.85
58 #define DEFAULT_THIGH 0.88
59 #define DEFAULT_TDH 0.77
81 int size, shift, length;
93 double Tmin, Tmax_ratio, Thigh, Tdh;
99 typedef struct status {
102 double cc_max, threshold;
105 typedef struct list {
107 struct list *next_item;
111 CANT_WRITE, DECI_FCTR, INSUF_MEM, FILE_ERR, FILE_SEEK, LEN_OOR, MAX_FREQ,
112 MIN_FREQ, MISUSE, NOISE_FLOOR, SAMPLE_FREQ, SFT_OOR, THR_DH, THR_HIGH,
117 void add_to_list (
LIST_ **p_list_hd,
LIST_ **p_list_tl,
int N_val,
122 void write_track(
STATUS_ status,
struct Srpd_Op paras, FILE *outfile);
125 int read_next_segment (FILE *voxfile,
struct Srpd_Op *paras,
SEGMENT_ *p_seg);
131 void initialise_parameters (
struct Srpd_Op *p_par);
132 void error (error_flags err_type);
134 void free_list (
LIST_ **p_list_hd);