Problems Rubberband Pitch Shift in Audacity

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
User avatar
d.healey
Established Member
Posts: 610
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 274 times
Been thanked: 100 times

Problems Rubberband Pitch Shift in Audacity

Post by d.healey »

Whenever I try to pitch shift something in Audacity using the Rubberband .lv2 plugin I get a horrible click/pop added to the start of the selected audio.

Does anyone have a solution for this?

The plugin I'm using is available here - https://kx.studio/Repositories:Plugins
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow
Been thanked: 1 time

Re: Problems Rubberband Pitch Shift in Audacity

Post by AlexTheBassist »

This is a bug in Rubberband library itself, it behaves the same in Ardour and Mixbus even if used as standalone. Just tested it, confirmed. File a bug report.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
User avatar
d.healey
Established Member
Posts: 610
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 274 times
Been thanked: 100 times

Re: Problems Rubberband Pitch Shift in Audacity

Post by d.healey »

AlexTheBassist wrote:This is a bug in Rubberband library itself, it behaves the same in Ardour and Mixbus even if used as standalone. Just tested it, confirmed. File a bug report.
Thanks for confirming.
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
d.healey
Established Member
Posts: 610
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 274 times
Been thanked: 100 times

Re: Problems Rubberband Pitch Shift in Audacity

Post by d.healey »

I just tried the command-line version and it seems to work fine. So seems to be an issue just in the plugin perhaps.
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
d.healey
Established Member
Posts: 610
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 274 times
Been thanked: 100 times

Re: Problems Rubberband Pitch Shift in Audacity

Post by d.healey »

AlexTheBassist wrote:This is a bug in Rubberband library itself, it behaves the same in Ardour and Mixbus even if used as standalone. Just tested it, confirmed. File a bug report.
I think I might have solved it. I downloaded the source from github, tweaked the buffer values and recompiled the LADSPA plugin and it seems to work...

I've uploaded here if you'd like to test it - https://www.dropbox.com/s/ggl4c9v6sydcx ... d.zip?dl=0

It's a LADSPA plugin not .lv2

These are the install locations according to the console output
lib/ladspa-rubberband.so /usr/local/lib/ladspa
ladspa/ladspa-rubberband.cat /usr/local/lib/ladspa
ladspa/ladspa-rubberband.rdf /usr/local/share/ladspa/rdf
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow
Been thanked: 1 time

Re: Problems Rubberband Pitch Shift in Audacity

Post by AlexTheBassist »

d.healey wrote:I think I might have solved it
Thanks, but I am not interested in a plugin version. A standalone variant in form of pitch tool of Mixbus/Ardour is sometimes helpful, but I can use Reaper's time stretching as a fallback, and I need that extremely rarely, as I rarely do video editing.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
User avatar
d.healey
Established Member
Posts: 610
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 274 times
Been thanked: 100 times

Re: Problems Rubberband Pitch Shift in Audacity

Post by d.healey »

AlexTheBassist wrote:
d.healey wrote:I think I might have solved it
Thanks, but I am not interested in a plugin version. A standalone variant in form of pitch tool of Mixbus/Ardour is sometimes helpful, but I can use Reaper's time stretching as a fallback, and I need that extremely rarely, as I rarely do video editing.
Do you mean the standalone command line tool didn't work for you either?
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow
Been thanked: 1 time

Re: Problems Rubberband Pitch Shift in Audacity

Post by AlexTheBassist »

d.healey wrote:standalone command line tool didn't work for you either?
Didn't try that, I checked only plugins and both Mixbus's and Ardour's stretch tools. Can't do this right now because I am not at home nor in studio.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
User avatar
d.healey
Established Member
Posts: 610
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 274 times
Been thanked: 100 times

Re: Problems Rubberband Pitch Shift in Audacity

Post by d.healey »

I've forked the official rubberband repo and brought in FalkTX's LV2 stuff. I also modified the buffer size to get rid of the click/pop issue, and I added an LV2 make target.

https://github.com/davidhealey/rubberband
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
Post Reply