Kjetil S. Matheussen wrote:
>>> libresample outputs the exact number of frames
>>> (http://www.mega-nerd.com/SRC/api_simple.html), but
>>> unfortunately the included command line app,
>>> sndfile-resample, only takes a rate/amount argument.
>>>
>> This looks interesting. But it seems that it needs the ratio also
>> (according to the api documentation) and takes in *maximum* number of
>> frames. Which probably means that it might leave some frames unused or
>> trim couple out. This is quite interesting library anyways as it uses
>>
>
> You are right! Sorry for giving you false expectations.
> *maximum*, right, got it. :-)
>
What happens if you work out a scaling in cents that will give about the
right length, then decrement it by 1 to make the sample a bit longer,
and specify a max length at the same time? This might do the trick.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Fri Sep 19 16:15:02 2008
This archive was generated by hypermail 2.1.8 : Fri Sep 19 2008 - 16:15:02 EEST