<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ue4 audio Archives - Couch Learn</title>
	<atom:link href="https://couchlearn.com/tag/ue4-audio/feed/" rel="self" type="application/rss+xml" />
	<link>https://couchlearn.com/tag/ue4-audio/</link>
	<description>Detailed Game Programming Tutorials</description>
	<lastBuildDate>Sun, 10 Jan 2021 23:54:14 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://couchlearn.com/wp-content/uploads/2020/05/cropped-logolarge-32x32.png</url>
	<title>ue4 audio Archives - Couch Learn</title>
	<link>https://couchlearn.com/tag/ue4-audio/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Simple Audio Attenuation in Unreal Engine 4</title>
		<link>https://couchlearn.com/simple-audio-attenuation-in-unreal-engine-4/</link>
					<comments>https://couchlearn.com/simple-audio-attenuation-in-unreal-engine-4/#comments</comments>
		
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Tue, 13 Aug 2019 20:39:25 +0000</pubDate>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Easy Difficulty]]></category>
		<category><![CDATA[Unreal Engine]]></category>
		<category><![CDATA[attenuation]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[audio attenuation]]></category>
		<category><![CDATA[positional sound]]></category>
		<category><![CDATA[sound attenuation]]></category>
		<category><![CDATA[ue4]]></category>
		<category><![CDATA[ue4 attenuation]]></category>
		<category><![CDATA[ue4 audio]]></category>
		<category><![CDATA[ue4 sound]]></category>
		<category><![CDATA[unreal engine]]></category>
		<category><![CDATA[unreal engine 4]]></category>
		<guid isPermaLink="false">https://couchlearn.com/?p=671</guid>

					<description><![CDATA[<p>In this guide we will be looking at adding audio attenuation into your Unreal Engine 4 game. The Attenuation Class Creating the Class To create <a class="mh-excerpt-more" href="https://couchlearn.com/simple-audio-attenuation-in-unreal-engine-4/" title="Simple Audio Attenuation in Unreal Engine 4">[...]</a></p>
<p>The post <a href="https://couchlearn.com/simple-audio-attenuation-in-unreal-engine-4/">Simple Audio Attenuation in Unreal Engine 4</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this guide we will be looking at adding audio attenuation into your Unreal Engine 4 game.</p>



<h2 class="wp-block-heading">The Attenuation Class</h2>



<h3 class="wp-block-heading">Creating the Class</h3>



<p>To create a sound attenuation class, right click anywhere in your content browser, navigate to the sounds section and click Sound Attenuation.</p>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="429" height="857" src="https://couchlearn.com/wp-content/uploads/2019/08/image-1.png" alt="Creating the sound attenuation class in the advanced asset menu." class="wp-image-677" srcset="https://couchlearn.com/wp-content/uploads/2019/08/image-1.png 429w, https://couchlearn.com/wp-content/uploads/2019/08/image-1-150x300.png 150w" sizes="(max-width: 429px) 100vw, 429px" /></figure>



<p>Give your new Sound Attenuation class a name and remember it as we will be using it later in the guide.</p>



<figure class="wp-block-image"><img decoding="async" width="261" height="119" src="https://couchlearn.com/wp-content/uploads/2019/08/image-2.png" alt="Naming the audio attenuation." class="wp-image-678"/></figure>



<p>I named mine Tutorial Sound Attenuation.</p>



<figure class="wp-block-image"><img decoding="async" width="74" height="118" src="https://couchlearn.com/wp-content/uploads/2019/08/image-3.png" alt="Attenuation asset named." class="wp-image-679"/></figure>



<h3 class="wp-block-heading">Class Settings</h3>



<p>Opening your new Sound Attenuation class will show these settings:</p>



<figure class="wp-block-image"><img decoding="async" width="812" height="936" src="https://couchlearn.com/wp-content/uploads/2019/08/image-4.png" alt="Full list of audio attenuation settings." class="wp-image-680" srcset="https://couchlearn.com/wp-content/uploads/2019/08/image-4.png 812w, https://couchlearn.com/wp-content/uploads/2019/08/image-4-260x300.png 260w, https://couchlearn.com/wp-content/uploads/2019/08/image-4-768x885.png 768w" sizes="(max-width: 812px) 100vw, 812px" /></figure>



<p>There are many settings that can be changed to modulate your audio to make it very realistic.</p>



<p><strong>For simple audio attenuation we only need these settings:</strong></p>



<figure class="wp-block-image"><img decoding="async" width="812" height="240" src="https://couchlearn.com/wp-content/uploads/2019/08/image-5.png" alt="Relevant attenuation settings for this guide." class="wp-image-681" srcset="https://couchlearn.com/wp-content/uploads/2019/08/image-5.png 812w, https://couchlearn.com/wp-content/uploads/2019/08/image-5-300x89.png 300w, https://couchlearn.com/wp-content/uploads/2019/08/image-5-768x227.png 768w" sizes="(max-width: 812px) 100vw, 812px" /></figure>



<p>For the demonstration video at the end of the guide I will be using these exact settings.</p>



<h4 class="wp-block-heading">Attenuation Function</h4>



<p>The attenuation function determines how the volume is changed over distance.</p>



<figure class="wp-block-image"><img decoding="async" width="106" height="101" src="https://couchlearn.com/wp-content/uploads/2019/08/image-7.png" alt="List of attenuation functions." class="wp-image-683"/></figure>



<ul class="wp-block-list"><li>Linear reduces the volume equal to the distance.</li><li>Logarithmic reduces the volume much faster over distance.</li><li>Inverse has the fastest volume drop off.</li><li>Log Reverse reduces the volume very slowly until a large distance then it drops off very quickly.</li><li>Natural sound reduces the volume to imitate how sound works in the real world.</li><li>Custom is for creating your own curves. This isn&#8217;t recommended as it can get quite complicated.</li></ul>



<p>For the majority of your sounds I recommend to use the <strong>Logarithmic</strong> function. It creates easily locatable sound and prevents far sounds from being unnecessarily loud.</p>



<h4 class="wp-block-heading">Attenuation Shape</h4>



<p>Attenuation shapes restrict sounds to a specific shape. This prevents sounds from leaking out of a specific environment.</p>



<figure class="wp-block-image"><img decoding="async" width="104" height="72" src="https://couchlearn.com/wp-content/uploads/2019/08/image-8.png" alt="List of attenuation shapes." class="wp-image-684"/></figure>



<ul class="wp-block-list"><li>Sphere is for most sounds.</li><li>Capsule is for thin and round environments.</li><li>Box is for cuboid shaped buildings.</li><li>Cone is for projecting sound at a specific area or player.</li></ul>



<h4 class="wp-block-heading">Inner Radius</h4>



<p>The inner radius is the size of the sphere that represents your sound at full volume. <br><br>Any player inside this sphere will hear the sound without any volume reduction.</p>



<h4 class="wp-block-heading">Falloff Distance</h4>



<p>The falloff distance is the distance the player needs to be for the audio volume to be zero.<br><br>The volume reaches zero using the attenuation function setup earlier.</p>



<h4 class="wp-block-heading">Enable Volume Attenuation</h4>



<p>This setting controls if you want the audio to lower in volume over distance. <strong>We need this to be checked.</strong></p>



<figure class="wp-block-image"><img decoding="async" width="681" height="26" src="https://couchlearn.com/wp-content/uploads/2019/08/image-6.png" alt="Checkbox for volume attenuation." class="wp-image-682" srcset="https://couchlearn.com/wp-content/uploads/2019/08/image-6.png 681w, https://couchlearn.com/wp-content/uploads/2019/08/image-6-300x11.png 300w" sizes="(max-width: 681px) 100vw, 681px" /></figure>



<h2 class="wp-block-heading">Attenuating Audio</h2>



<h3 class="wp-block-heading">Applying the Attenuation Class</h3>



<p>To play sounds with your newly setup attenuation class, create a &#8220;Play Sound at Location&#8221; node.</p>



<figure class="wp-block-image"><img decoding="async" width="631" height="201" src="https://couchlearn.com/wp-content/uploads/2019/08/image-9.png" alt="Creating a play sound at location node." class="wp-image-697" srcset="https://couchlearn.com/wp-content/uploads/2019/08/image-9.png 631w, https://couchlearn.com/wp-content/uploads/2019/08/image-9-300x96.png 300w" sizes="(max-width: 631px) 100vw, 631px" /></figure>



<p>Set the Sound input pin to which ever sound file you want to play.</p>



<figure class="wp-block-image"><img decoding="async" width="545" height="211" src="https://couchlearn.com/wp-content/uploads/2019/08/image-10.png" alt="Setting the sound file to be played." class="wp-image-698" srcset="https://couchlearn.com/wp-content/uploads/2019/08/image-10.png 545w, https://couchlearn.com/wp-content/uploads/2019/08/image-10-300x116.png 300w" sizes="(max-width: 545px) 100vw, 545px" /></figure>



<p>Create a &#8220;Get Actor Location&#8221; node and connect it to the Location pin on the &#8220;Play Sound at Location&#8221; node.</p>



<figure class="wp-block-image"><img decoding="async" width="501" height="207" src="https://couchlearn.com/wp-content/uploads/2019/08/image-11.png" alt="Setting the location of the sound." class="wp-image-699" srcset="https://couchlearn.com/wp-content/uploads/2019/08/image-11.png 501w, https://couchlearn.com/wp-content/uploads/2019/08/image-11-300x124.png 300w" sizes="(max-width: 501px) 100vw, 501px" /></figure>



<p>Click the box with the triangle to expose the additional audio settings.</p>



<figure class="wp-block-image"><img decoding="async" width="237" height="167" src="https://couchlearn.com/wp-content/uploads/2019/08/image-12.png" alt="Accessing the additional settings." class="wp-image-700"/></figure>



<p>The additional setting that we need is called &#8220;Attenuation Settings&#8221;. Set this to your attenuation class created at the start of the guide.</p>



<figure class="wp-block-image"><img decoding="async" width="344" height="406" src="https://couchlearn.com/wp-content/uploads/2019/08/image-13.png" alt="Setting the attenuation class." class="wp-image-701" srcset="https://couchlearn.com/wp-content/uploads/2019/08/image-13.png 344w, https://couchlearn.com/wp-content/uploads/2019/08/image-13-254x300.png 254w" sizes="(max-width: 344px) 100vw, 344px" /></figure>



<p>Now your sound will use the Sound Attenuation class when played and will be specialized in the world at the location specified.</p>



<h3 class="wp-block-heading">Video Demonstration</h3>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Unreal Engine 4 Audio Attenuation Demo" width="678" height="381" src="https://www.youtube.com/embed/BF0xaKOjajU?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<h2 class="wp-block-heading">Conclusion</h2>



<p>These are just the basics of attenuation in Unreal Engine 4. I recommend spending time to figure out which is the best attenuation function and attenuation shape for the atmosphere you want to create.</p>



<p>To see the individual plotted graphs for each attenuation function <a href="https://docs.unrealengine.com/en-US/Engine/Audio/DistanceModelAttenuation/index.html">click here for the official Unreal Engine 4 wiki page.</a></p>
<p>The post <a href="https://couchlearn.com/simple-audio-attenuation-in-unreal-engine-4/">Simple Audio Attenuation in Unreal Engine 4</a> appeared first on <a href="https://couchlearn.com">Couch Learn</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://couchlearn.com/simple-audio-attenuation-in-unreal-engine-4/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: couchlearn.com @ 2026-04-14 14:37:18 by W3 Total Cache
-->