3.0 KiB
+++ title = "Stretching & shrinking regions" chapter = false weight = 8 +++
Regions can be stretched or shrunk in length without changing their pitch by using the Stretch/Shrink Regions tool (T shortcut, for "Time-stretch").
{{< figure src="en/ardour7-stretch-shrink-edit-mode.png" alt="Stretch/Shrink Regions tool" >}}
A small adjustment to the length of a region may not cause noticeable sound artifacts. However, the more extreme the change in length, the more obvious the effect of processing on the sound.
To use Stretch/Shrink Regions, place your cursor on top of the region, and then click-drag left or right. While dragging, you will see a highlighted area which represents the new duration to which the region will be shrunk or stretched when you release the mouse at the current position. Ardour will also display the new duration of the region next to the highlighted area in units of the primary clock.
{{< figure src="en/ardour7-stretch-shrink-highlight.png" alt="Stretching highlight" >}}
Time-Stretching a Region to Fit the Loop
In the image below, we've added another sound sample—this time, a synthesizer line from freesound.org to the rhythmic passage we composed in the Creating Looped Sections chapter.
After importing this synth line, you will see that the length of the new region doesn't match the existing rhythm we've already created. It's too long to be one bar and too short to be two bars. More importantly, while the first note matches the beginning of the kick drum's sound above, the second note is clearly off-beat.
{{< figure src="en/ardour7-stretch-shrink-1.png" alt="Non-matching regions" >}}
We can correct this by using the Stretch/Shrink tool. Select the region you wish to stretch, switch to the tool, click on the right side of the region, then drag the cursor until the newly created highlight area matches the new length, that is, all the way to the second bar (again assisted by the Grid settings).
{{< figure src="en/ardour7-stretch-shrink-action.png" alt="Stretching" >}}
When you release the mouse button, the Time Stretch Audio dialog appears. You can experiment with different settings for the Time Stretch operation. Each will affect the sound in a different way. It's a good idea to try different stretch settings to find out which one gives you the result you're most happy with.
{{< figure src="en/ardour7-stretch-shrink-2.png" alt="Time Stretch Audio dialog" >}}
Click Stretch/Shrink in the Time Stretch Audio dialog to start the operation.
When the operation is complete, the region of the synthesizer line will now be exactly two bars long and should fit in with the rhythm we already created with the drum samples.
{{< figure src="en/ardour7-stretch-shrink-3.png" alt="Stretched audio region" >}}
Continuing
This was the last chapter of the Editing Regions section. Next we go into Mixing.
Next: MIXING SESSIONS