<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tip: After Effects expression to fade out audio]]></title><description><![CDATA[<p dir="auto">Hello! A quick tip on how to fade audio with Templater via an expression. Since Templater can dynamically swap a wide variety of media sources of varying lengths, you can’t count on keyframes to be able to accommodate the variation of durations for consistent fade-outs of audio tracks. Here’s a sample of how to do that. Apply this expression to the Audio Levels.</p>
<pre><code>fadeTime = 30; //frames for fade
audio.audioLevelsMin = -48; 
audio.audioLevelsMax = audio.audioLevels[0];
layerDuration = outPoint - inPoint;
singleFrame = thisComp.frameDuration;
animateOut = linear(time, (outPoint - framesToTime(fadeTime+1)), (outPoint-singleFrame), audio.audioLevelsMax, audio.audioLevelsMin);
[animateOut,animateOut];
</code></pre>
<p dir="auto">In this example, the expression takes the audio level you’ve set and fades to -48 db over 30 frames (assuming 30fps composition, that is 1 second).</p>
]]></description><link>https://forums.dataclay.com/topic/53/tip-after-effects-expression-to-fade-out-audio</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 06:59:36 GMT</lastBuildDate><atom:link href="https://forums.dataclay.com/topic/53.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Aug 2018 18:37:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tip: After Effects expression to fade out audio on Sat, 12 Aug 2023 07:48:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jon">@<bdi>Jon</bdi></a> Sorry for the late reply.<br />
Yes, I got everything working with Jeff’s advice and your tips.<br />
Big thanks for the help.</p>
]]></description><link>https://forums.dataclay.com/post/1011</link><guid isPermaLink="true">https://forums.dataclay.com/post/1011</guid><dc:creator><![CDATA[VideoHoney]]></dc:creator><pubDate>Sat, 12 Aug 2023 07:48:09 GMT</pubDate></item><item><title><![CDATA[Reply to Tip: After Effects expression to fade out audio on Fri, 31 Mar 2023 19:32:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/videohoney">@<bdi>videohoney</bdi></a> did Jeff’s suggestion help? From the screenshot, the expression is likely working, but you have to shorten the length of the audio track (or extend the length of the comp) for the fade to work correctly. Also, the <code>audio.audioLevels</code> on the first line of your expression shouldn’t be included.</p>
]]></description><link>https://forums.dataclay.com/post/864</link><guid isPermaLink="true">https://forums.dataclay.com/post/864</guid><dc:creator><![CDATA[Jon]]></dc:creator><pubDate>Fri, 31 Mar 2023 19:32:18 GMT</pubDate></item><item><title><![CDATA[Reply to Tip: After Effects expression to fade out audio on Tue, 28 Mar 2023 13:57:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/videohoney">@<bdi>videohoney</bdi></a></p>
<p dir="auto">From the screenshot you posted, it appears that the work area/overall comp length might be cutting the audio layer off before it can get to the end, where the fade-out occurs. Would it be possible to adjust the duration of the “render” comp to ensure it’s long enough to get to the end of the audio file?</p>
<p dir="auto">It might also be helpful to apply Templater to the layer and then check the “Comp Starts at In Point” and “Comp Ends at Out Point” options under the “Time” section. This should ensure that the comp is resized to fit the whole duration of the clip into the timeline.</p>
<p dir="auto">If that doesn’t work, let us know, and we’ll see where we need to go from there. Additionally, please feel free to get in touch with us at <a href="mailto:support@dataclay.com" rel="nofollow ugc">support@dataclay.com</a> if you’d like to move this discussion to a more direct setting.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forums.dataclay.com/post/861</link><guid isPermaLink="true">https://forums.dataclay.com/post/861</guid><dc:creator><![CDATA[Jeff]]></dc:creator><pubDate>Tue, 28 Mar 2023 13:57:07 GMT</pubDate></item><item><title><![CDATA[Reply to Tip: After Effects expression to fade out audio on Tue, 28 Mar 2023 05:40:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jon">@<bdi>jon</bdi></a> Thank you for checking.<br />
Yes, the expression is applied to the Audio Levels property, and it is only expression.<br />
Here is a screenshot:<br />
<img src="/assets/uploads/files/1679981766433-ae-audio-fade-expression.png" alt="AE Audio Fade Expression.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The audio does not fade at the end.<br />
I do not know what I am doing wrong.</p>
]]></description><link>https://forums.dataclay.com/post/860</link><guid isPermaLink="true">https://forums.dataclay.com/post/860</guid><dc:creator><![CDATA[VideoHoney]]></dc:creator><pubDate>Tue, 28 Mar 2023 05:40:00 GMT</pubDate></item><item><title><![CDATA[Reply to Tip: After Effects expression to fade out audio on Mon, 27 Mar 2023 14:15:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/videohoney">@<bdi>videohoney</bdi></a> I just tested in AE 2023 and it still appears to be working. Are you applying the expression to the Audio Levels property? Is it the only expression on that property for that layer?</p>
]]></description><link>https://forums.dataclay.com/post/859</link><guid isPermaLink="true">https://forums.dataclay.com/post/859</guid><dc:creator><![CDATA[Jon]]></dc:creator><pubDate>Mon, 27 Mar 2023 14:15:32 GMT</pubDate></item><item><title><![CDATA[Reply to Tip: After Effects expression to fade out audio on Sat, 25 Mar 2023 15:26:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jon">@<bdi>jon</bdi></a> I tried this expression to AE 2023 and it does not fade the audio.<br />
There are no any error messages either, but I did not see this would have done anything.<br />
Could you please confirm this expression is working on AE 2023?</p>
]]></description><link>https://forums.dataclay.com/post/858</link><guid isPermaLink="true">https://forums.dataclay.com/post/858</guid><dc:creator><![CDATA[VideoHoney]]></dc:creator><pubDate>Sat, 25 Mar 2023 15:26:12 GMT</pubDate></item></channel></rss>