Improve time stretching quality

Forums

At the moment the quality of time stretched audio clips is better with WSOLA than with rubberband when I use a factor of 1.5.

Since modern version of librubberband have a v3 API the quality can be increased. It's a bit confusing that – for example in Debian Bookworm – the lib is called librubberband2 with version 3.1.2 and the actual library is called librubberband.so.2.2.1. But there are 2 CLI tools: rubberband and rubberband-r3. So there is alreade the v3 API available.

I made tests with the command line tools, Qtractor's on-the-fly and Qtractor's function to create a stretched version with Clip->Merge. The version made with rubberband-r3 is the best and has no crackles in it.

Is it possible to use the v3-API in Qtractor?

Qtractor test session: http://suedwestlicht.saar.de/secdnld/stretchtest.qtz

Permalink

hi, maybe missing something in this regard...

on my knowledge, it all dependeds onto which rubberband library it is built...

let me say that, from the repos (libs), it's currently the latest v4.0.0 (librubberband3, yes confusing:))... but it really boils down to the above: which librubberband was your qtractor built/linked against, may I ask?

or iow. as I think you're on a ubuntu/debian base system, the question goes to which librubberband-dev version have you installed?

cheers

Permalink

I compiled and installed 3.3.0, the latest v3 before v4. It's the only librubberband on my system and Qtractor on my system is built with this lib as well as I used rubberband and rubberband-r3 CLI.

Permalink

ok, understood

please tell the exact parameters to rubberband-r3 (cli) you use to get the better results?

seeya

Permalink

v2-quality: rubberband -2 -t1.5 a.wav a2.wav
v3-quality: rubberband -3 -t1.5 a.wav a3.wav

The only difference was forcing v3 mode.

Permalink

can you tell whether this v1.5.2.7git.5b935a [develop] is a good move?

warning: caveat emptor (as one can read from rubberband-r3 --help ...)

-3, --fine Use the R3 (finer) engine

This is the default when this tool is invoked as "rubberband-r3". It almost
always produces better results than the R2 engine, but with significantly
higher CPU load
.

;)

Permalink

I compared the new merged clip with the old clip in Audacity. When inverting (180° phase flip) the new clip they cancelled out each other perfectly.

Permalink

right, nothing really changes if you're still on rubberband v3.3.0, my mistake sorry

later today it will be fine though

stay tuned

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.