Effect plugin to change pitch

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
User avatar
Michael Willis
Established Member
Posts: 1458
Joined: Mon Oct 03, 2016 3:27 pm
Location: Rocky Mountains, North America
Has thanked: 70 times
Been thanked: 166 times
Contact:

Effect plugin to change pitch

Post by Michael Willis »

I'm looking for an effect plugin that will change the pitch of the input sound by some ratio without speeding or slowing the sound. For example, I want to try recording an acoustic instrument and then try making the plugin tune it up an octave or down an octave, or maybe transpose it into an arbitrary key.
finotti
Established Member
Posts: 528
Joined: Thu Sep 01, 2011 9:07 pm
Has thanked: 88 times
Been thanked: 23 times

Re: Effect plugin to change pitch

Post by finotti »

Although I am sure there is some plugin that does it, I've done it in the past by simply copying the audio file to a new track and using some Ardour built in function to change the pitch. It doesn't work "live", but it works well on recordings.
CrocoDuck
Established Member
Posts: 1133
Joined: Sat May 05, 2012 6:12 pm
Been thanked: 17 times

Re: Effect plugin to change pitch

Post by CrocoDuck »

I remember Rakarrack having exactly that: http://rakarrack.sourceforge.net/dl.html. I am not sure what the state of the project is.
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: Effect plugin to change pitch

Post by lilith »

User avatar
bluebell
Established Member
Posts: 1924
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

Re: Effect plugin to change pitch

Post by bluebell »

Michael Willis wrote:I'm looking for an effect plugin that will change the pitch of the input sound by some ratio without speeding or slowing the sound. For example, I want to try recording an acoustic instrument and then try making the plugin tune it up an octave or down an octave, or maybe transpose it into an arbitrary key.
"AM Pitch Shifter" (LADSPA) does a good job. Of course it doesn't keep the formants like Melodyne does so you get a Mickey Mouse effect if you use large intervals. It's part of the "swh-plugins" package.

Works fine in my songs to add slightly detuned voice tracks and in a combination with Carla and Linphone to give me a Darth Vader voice in a phone conference call.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

rghvdberg
Established Member
Posts: 1067
Joined: Mon May 12, 2014 7:11 am
Has thanked: 15 times
Been thanked: 36 times

Re: Effect plugin to change pitch

Post by rghvdberg »

rubberband pitchshifter has ladspa a ladspa plugin and does exactly what you need.
tramp
Established Member
Posts: 2347
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 466 times

Re: Effect plugin to change pitch

Post by tramp »

GxDetune.lv2 from guitarix could shift on octave up/down, and could as well detune by some (12) cents.
It has a latency indicator so that you could easily compensate the delay from the shifted signal, it has separate wet dry controls and could as well internal compensate the delay from dry to wet. Additional it has a 4band EQ to fine tune the shifted signal.
On the road again.
ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Effect plugin to change pitch

Post by ssj71 »

if it's monophonic, the infamous e-wham is designed for that (any detune amount from -3 octaves to +2 octaves). Falls right over if you play chords though.
https://github.com/ssj71/infamousPlugin ... /src/ewham

It doesn't preserve formants though so it will give the chipmunk effect to voice, but is fine for something like guitar. rubberband is my recommended one if its for voice.
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
TobeDowns
Posts: 1
Joined: Mon Oct 19, 2020 4:11 pm

Re: Effect plugin to change pitch

Post by TobeDowns »

Hello...I'm utilizing Audacity editorial manager, it alright for most things, however in the event that I attempt to pitch change a wav test of vocal from D down to G, its excessively low a sound against other vocal examples in a similar pack I'm utilizing( not all the packs vocals are in a similar key).

pcb assembly quote
Last edited by TobeDowns on Thu Nov 05, 2020 10:29 pm, edited 1 time in total.
User avatar
ycollette
Established Member
Posts: 91
Joined: Sun Jul 03, 2016 8:53 pm
Has thanked: 14 times
Been thanked: 20 times
Contact:

Re: Effect plugin to change pitch

Post by ycollette »

And you also have mod-pitchshifter:

https://github.com/moddevices/mod-pitchshifter

This repo comes with various plugins like
- a capodastre to tune above and below the current tuning of a guitar.

There are a lot of interesting plugins ...

I tested one plugin of this repo in this video:
https://www.youtube.com/watch?v=BmFr9y0ItvQ
sjaehn
Established Member
Posts: 138
Joined: Fri May 03, 2019 6:05 pm
Has thanked: 29 times
Been thanked: 61 times

Re: Effect plugin to change pitch

Post by sjaehn »

I guess Michael was looking for an algorithm (although he asked for a plugin). The majority of pitch shifters use a granular approach:
Step 1: granulize (= cut the input signal stream into blocks of something like samplerate / lower_frequency_limit samples
Step 2: time-stretch the grains from step 1.
Step 3: combine the stretched grains

Step 3 is the critical one.
Problem A: If the stretch factor is lower than 1.0 (pitch up), you will get gaps. This means you have to fill the gaps with a copy of the grain.
Problem B: if the stretch factor is different from 1.0, direct combination of the grains will result in a hard jump. And thus in a click.

There are two major approaches to solve these problems:
Solution i: crossfading
Solution ii: alignment

Solution i may result in serious quality problems, especially with synthesizers. Solution ii is hungry for CPU speed.

If I test pitch shifting algorithms, I always take along a sine wave and a white noise as input signals. A good pitch shifter will keep the sine wave as a sine wave and only changes its frequency. And about white noise? In theory, you can't change pitch of white noise (unless stretch_factor * samplerate come into the hearing range). And thus, a good pitch shifter shouldn't be able to change the pitch of white noise. Pitch shifters based on solution i fail in both tests.
Basslint
Established Member
Posts: 1516
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy
Has thanked: 385 times
Been thanked: 299 times

Re: Effect plugin to change pitch

Post by Basslint »

ycollette wrote: Tue Oct 20, 2020 10:19 am And you also have mod-pitchshifter:

https://github.com/moddevices/mod-pitchshifter

This repo comes with various plugins like
- a capodastre to tune above and below the current tuning of a guitar.

There are a lot of interesting plugins ...

I tested one plugin of this repo in this video:
https://www.youtube.com/watch?v=BmFr9y0ItvQ
Sad that MOD has abandoned FLOSS licenses, from what it seems...
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]

Please donate time (even bug reports) or money to libre software 🎁

Jam on openSUSE + GeekosDAW!
User avatar
ycollette
Established Member
Posts: 91
Joined: Sun Jul 03, 2016 8:53 pm
Has thanked: 14 times
Been thanked: 20 times
Contact:

Re: Effect plugin to change pitch

Post by ycollette »

Yes, there are not so much activity on the mod-device repository. Sad ...
Post Reply