"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sigpr/pda/pda.cc" between
speech_tools-2.4-release.tar.gz and speech_tools-2.5.0-release.tar.gz

About: The speech_tools - Edinburgh Speech Tools Library (used by the Festival Speech Synthesis System).

pda.cc  (speech_tools-2.4-release):pda.cc  (speech_tools-2.5.0-release)
skipping to change at line 113 skipping to change at line 113
} }
*/ */
void srpd(EST_Wave &sig, EST_Track &fz, Srpd_Op &srpd_op, int resize) void srpd(EST_Wave &sig, EST_Track &fz, Srpd_Op &srpd_op, int resize)
{ {
int i, rns, tracklen, j = 0; int i, rns, tracklen, j = 0;
SEGMENT_ segment; SEGMENT_ segment;
CROSS_CORR_ cc; CROSS_CORR_ cc;
STATUS_ pda_status, held_status; STATUS_ pda_status, held_status;
srpd_op.sample_freq = sig.sample_rate(); srpd_op.sample_freq = sig.sample_rate();
#if 0
float min, max; float min, max;
min = srpd_op.min_pitch; // must store as set up routines corrupt min = srpd_op.min_pitch; // must store as set up routines corrupt
max = srpd_op.max_pitch; max = srpd_op.max_pitch;
#endif
initialise_structures (&srpd_op, &segment, &cc); initialise_structures (&srpd_op, &segment, &cc);
initialise_status (&srpd_op, &pda_status); initialise_status (&srpd_op, &pda_status);
initialise_status (&srpd_op, &held_status); initialise_status (&srpd_op, &held_status);
tracklen = (sig.num_samples() - segment.length) / segment.shift + 1; tracklen = (sig.num_samples() - segment.length) / segment.shift + 1;
if (resize) if (resize)
{ {
fz.set_equal_space(true); fz.set_equal_space(true);
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)