kaldi__get_num_lr_output_samples.Rd
Based on LinearResample::GetNumOutputSamples. LinearResample (LR) means that
the output signal is at linearly spaced intervals (i.e the output signal has a
frequency of new_freq
). It uses sinc/bandlimited interpolation to upsample/downsample
the signal.
kaldi__get_num_lr_output_samples(input_num_samp, samp_rate_in, samp_rate_out)
(int): The number of samples in the input
(float): The original frequency of the signal
(float): The desired frequency
int: The number of output samples