[LAU] Re: loop speeding in sample level accuracy

From: Jari Suominen <jari.suominen@email-addr-hidden>
Date: Thu Sep 18 2008 - 23:57:09 EEST

Kjetil S. Matheussen kirjoitti:
>
> Jari Suominen:
>>
>> Hello,
>>
>> I'm trying to search a program (with no success) that could used for
>> speeding up an audio file to a certain length. I mean, I would have a
>> audio file that has 40000 samples, and I would need it to be 40010. And
>> the pitch of the file can/should change. All speed change stuff that I
>> have found will take semitones/cents/procents as a input parameter. I
>> would wan't to only input the exact length (in samples) that I need.
>>
>> My purpose is basically make bunch of files that are loopable and have
>> equal length with each other.
>>
>> Does this thing exist or do I have to make it myself?
>>
>
> 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
more sophisticated algorithms than SoX. And the site also has
interesting material (though yet unfinished) about rate conversions.

Thanks!

.....j

> However, it's probably just a one-liner patch to modify
> the source for sndfile-resample to take exact
> number of frames instead, so that's what I would do.
>
>

_______________________________________________
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 00:15:07 2008

This archive was generated by hypermail 2.1.8 : Fri Sep 19 2008 - 00:15:07 EEST