55 int main (
int argc, 
char *argv[])
    66        EST_String(
"[input file] -o [output file] [options]\n")+
    67        "Summary: pitch track waveform files\n"    68        "use \"-\" to make input and output files stdin/out\n"    69        "-h               Options help\n\n"+
    87     save_pm(out_file, fz);
    89     fz.
save(out_file, op.
S(
"f0_file_type", 
"0"));
    94     fz.
save(out_file + 
".diff", op.
S(
"f0_file_type", 
"0"));
   102     op.
set(
"srpd_resize", 1);
   125     if (al.
val(
"-L", 0) == 
"true")
   126     op.
set(
"do_low_pass", 
"true");
   127     if (al.
val(
"-R", 0) == 
"true")
   128     op.
set(
"do_low_pass", 
"false");
   181     float position, period;
   186     outf = 
new ofstream(filename);
   190     cerr << 
"save_pm: can't write to file \"" << filename << 
"\"" << endl;
   195     *outf << 
"LineType        bars \n";
   196     *outf << 
"LineStyle       solid \n";
   197     *outf << 
"LineWidth       0 \n";
   198     *outf << 
"Freq 16\n";
   199     *outf << 
"Format  Binary \n";
   200     *outf << char(12) << 
"\n";  
   213         period = 1.0 / fz.
a(i);
   214         *outf << (position + period) * 1000.0 << endl;
 A class for storing digital waveforms. The waveform is stored as an array of 16 bit shorts...
 
void set_parameters(EST_Features &a_list, EST_Option &al)
 
void set(const EST_String &name, int ival)
 
EST_String options_pda_general(void)
 
void option_override(EST_Features &op, EST_Option al, const EST_String &option, const EST_String &arg)
 
const EST_String S(const EST_String &path) const 
 
void default_pda_options(EST_Features &al)
 
float & t(ssize_t i=0)
return time position of frame i 
 
float & a(ssize_t i, int c=0)
 
EST_write_status save(const EST_String name, const EST_String EST_filetype="")
 
const T & first() const 
return const reference to first item in list 
 
ssize_t num_frames() const 
return number of frames in track 
 
EST_String options_wave_input(void)
 
const V & val(const K &rkey, bool m=0) const 
return value according to key (const) 
 
void pda(EST_Wave &sig, EST_Track &fz, EST_Features &op, EST_String method="")
 
EST_String options_track_output(void)
 
EST_read_status read_wave(EST_Wave &sig, const EST_String &in_file, EST_Option &al)
 
int present(const K &rkey) const 
Returns true if key is present. 
 
int val(ssize_t i) const 
return true if frame i is a value 
 
EST_String options_pda_srpd(void)
 
EST_Track differentiate(EST_Track &c, float samp_int=0.0)
 
int parse_command_line(int argc, char *argv[], const EST_String &usage, EST_StrList &files, EST_Option &al, int make_stdio=1)
 
int main(int argc, char *argv[])