"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/EST_Wave.h" 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).

EST_Wave.h  (speech_tools-2.4-release):EST_Wave.h  (speech_tools-2.5.0-release)
skipping to change at line 187 skipping to change at line 187
/**@name Waveform manipulation functions */ /**@name Waveform manipulation functions */
//@{ //@{
/// resize the waveform /// resize the waveform
void resize(int num_samples, int num_channels = EST_ALL, int set=1) void resize(int num_samples, int num_channels = EST_ALL, int set=1)
{ p_values.resize(num_samples, num_channels, set); } { p_values.resize(num_samples, num_channels, set); }
/// Resample waveform to <tt>rate</tt> /// Resample waveform to <tt>rate</tt>
void resample(int rate); void resample(int rate);
/// Dynamic Range Compression - SaiKrishna May 2017
void compress(float mu, float limit);
/** multiply all samples by a factor <tt>gain</tt>. This checks for /** multiply all samples by a factor <tt>gain</tt>. This checks for
overflows and puts them to the maximum positive or negative value overflows and puts them to the maximum positive or negative value
as appropriate. as appropriate.
*/ */
void rescale(float gain,int normalize=0); void rescale(float gain,int normalize=0);
// multiply samples by a factor contour. The factor_contour track // multiply samples by a factor contour. The factor_contour track
// should contains factor targets at time points throughout the wave, // should contains factor targets at time points throughout the wave,
// between which linear interpolation is used to calculate the factor // between which linear interpolation is used to calculate the factor
// for each sample. // for each sample.
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

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