breakfastquay / rubberband

Official mirror of Rubber Band Library, an audio time-stretching and pitch-shifting library.
http://breakfastquay.com/rubberband/
GNU General Public License v2.0
566 stars 91 forks source link

Low sampling rates (50 - 100 Hz) #15

Closed lvanderlaat closed 4 years ago

lvanderlaat commented 5 years ago

Hi, I am working with seismic data (WAV files) which is usually sampled at 100 Hz. First I tried to stretch time (-t) or shift pitch (-f) but there is no progress at all.

On the contrary, working with regular audio wav files (44 kHz) works perfectly.

To evaluate if the low sampling rate might be causing the problem I changed it to 1000 Hz -which creates an undesired time shortening (10x) and pitch shift, also 10x-.

Now rubberband manage to process the file, but creates wrong waves. For example, trying to stretch time back to original (-t 10) results in a concatenation of the same wave...

I then realized that the window size of analysis and sythesis (8162) is to big for the limited number of samples, I think this might be the problem. Is there a way to change this default value for example 1024 samples?

I would appreciate any light on this issue. I provide the WAV file I am using. wave.zip

Leo