# LinearSmoothedValue example

**URL:** <https://forum.juce.com/t/linearsmoothedvalue-example/28243>\
**Category:** Audio Plugins\
**Created:** [June 24, 2018, 2:10pm UTC](https://forum.juce.com/t/linearsmoothedvalue-example/28243 "2018-06-24T14:10:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![campbellbrobbel](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@campbellbrobbel](https://forum.juce.com/u/campbellbrobbel)\
**Post date:** [June 24, 2018, 2:10pm UTC](https://forum.juce.com/t/linearsmoothedvalue-example/28243/1 "2018-06-24T14:10:15Z")

</div>

Hi everyone,  
I’m pretty new to audio programming and I’m stuck on how to do a cross fade on a delayed signal.

I have seen people recommending using the LinearSmoothedValue class for this but I can’t find any examples of it being used.  
Could someone possibly show me a quick example?  
Cheers.

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [June 27, 2018, 10:38am UTC](https://forum.juce.com/t/linearsmoothedvalue-example/28243/2 "2018-06-27T10:38:30Z")

</div>

You can search JUCE’s examples directory for “LinearSmoothedValue”:

examples/Audio/MPEDemo.h  
examples/BLOCKS/BlocksSynthDemo.h  
examples/Plugins/SamplerPluginDemo.h

---

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [June 27, 2018, 10:50am UTC](https://forum.juce.com/t/linearsmoothedvalue-example/28243/3 "2018-06-27T10:50:05Z")

</div>

Also the Reverb class in the JUCE code

Rail
