How can I do this with Audacity?

Hello!
How can I do this pitch shift (max. 1 semitone) with Audacity without clicks? I send a picture about it.
Jukka

If you don’t mind a small change in the speed (tempo), then you can use a “Time Track” (see: https://manual.audacityteam.org/man/time_tracks.html)

If you want to change the pitch without changing the tempo, then it’s a bit trickier:

In these steps we use the “Sliding Stretch” effect (https://manual.audacityteam.org/man/sliding_stretch.html). As the amount of pitch shift is small, the type of “curve” will make virtually no audible difference, so I’m not going to bother with that, and concentrate on making the changes without clicks.

For sake of argument, I’ll refer to the start of the pitch shift as point “a”, the end of the pitch shift as point “b” and an additional point “c” that comes after point “b” such that the distance from “a” to “b” = the distance from “b” to “c”.
I shall also assume that the required pitch shift at point “b” is 1 semitone.

1. Select “a” to “c”
2. Apply “Sliding Stretch” with a start pitch change of 0, and an end pitch change of 2 semitones (double what we want to end with, so that point “b” has a pitch change of 1 semitone.
3. Select “b” to “c”
4. Apply “Sliding Stretch” with a start pitch change of 0, and an end pitch change of -1 semitones (minus 1).

Note that step 4 brings the section from “b” to “c” to a constant pitch.