# Tracktion Engine 1.2 Update News: RubberBand

**URL:** <https://forum.juce.com/t/tracktion-engine-1-2-update-news-rubberband/48257>\
**Category:** Tracktion Engine\
**Created:** [October 14, 2021, 6:08pm UTC](https://forum.juce.com/t/tracktion-engine-1-2-update-news-rubberband/48257 "2021-10-14T18:08:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave96](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/dave96/32/8487_2.png) [@dave96](https://forum.juce.com/u/dave96)\
**Post date:** [October 14, 2021, 6:08pm UTC](https://forum.juce.com/t/tracktion-engine-1-2-update-news-rubberband/48257/1 "2021-10-14T18:08:36Z")

</div>

Hi everyone, a quick update to let you know we’ve added RubberBand time stretching support to Tracktion Engine! You can find the changes on the `develop` branch for now: [GitHub - Tracktion/tracktion\_engine at develop](https://github.com/Tracktion/tracktion_engine/tree/develop)

First:

**PLEASE NOTE:** _RubberBand is not owned by Tracktion and is licensed separately.  
Please make sure you have a suitable licence if building with RubberBand support.  
You can find more information here: [Rubber Band Audio Time Stretcher Library](https://breakfastquay.com/rubberband/)_

* * *

To enable RubberBand, set the config option `TRACKTION_ENABLE_TIMESTRETCH_RUBBERBAND=1` either in CMake or your Projucer project’s module options.

You can build RubberBand separately and link to it or you can include it in your search path and build it directly in to your app by enabling `TRACKTION_BUILD_RUBBERBAND` (you’ll need a recent version of RubberBand for this to work).

Once done, you’ll be able to use the `TimeStretcher::rubberbandMelodic` and `TimeStretcher::rubberbandPercussive` modes for time-stretching clips or for real-time use in the `PitchShiftPlugin` (N.B. this does introduce ~200ms latency).

To showcase this, we’ve also updated the `PitchAndTimeDemo` example app to select time stretch modes and added a PitchShiftPlugin instance.

Enjoy!

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/3/358bb525934404d552c1329f95fc6dcc05553aea.jpeg)
