[LAD] precision resampling to correct clock differences - no luck with libsamplerate and zita-resampler...
Erik de Castro Lopo
mle+la at mega-nerd.com
Sun May 23 09:20:06 UTC 2010
fons at kokkinizita.net wrote:
> On Sun, May 23, 2010 at 08:52:16AM +1000, Erik de Castro Lopo wrote:
>
> > I really don't think any modification is necessary.
>
> At least one: the sample rate value in the header must
> remain the same.
sndfile-resample accepts a:
-by <ratio>
command line option where <ratio> is given as a floating
point value.
After the conversion is done, the sample rate in the destination
file's header.
> The 'canonical' way to obtain the required result would
> be to modify the input file's header to reflect the real
> (and wrong) samplerate before it is resampled, then resample
> it to the exact required rate.
Probably easier to fix the desination file.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Linux-audio-dev
mailing list