-

Working With Audio & Sounds Unreal Engine 4

Working With Audio & Sounds Unreal Engine 4. Learn how to add audio and sounds in your game, bring more life into your levels, provide better user experience by adding sounds in the game menu and in other UI elements.

Unreal Engine 4 uses .WAV Audio files, to import audio files in your project, you need to open the Content Browser and click the Import button, then locate and select your .WAV file, click Open to begin importing the audio file to your project, after the import progress bar fills up, a sound asset will appear inside the Content Browser, indicating that UE4 has successfully imported the file. The Audio files in Unreal Engine 4 are called Sound Waves.

When a Sound Wave is placed in a level, by dragging and dropping the actor, from the Content Browser into the Viewport (game level), an Ambient Sound Actor with that sound asset will be created. The Ambient Sound Actor has a number of important proprieties, such as Attenuation and Modulation.

To change the Attenuation Properties of an Ambient Sound Actor, go to Details panel and check the Override Attenuation box, after you can change the Attenuation Radius and the Falloff Distance, as you wish.

If you want to mix Sound waves and control the behavior of audio playback in Unreal Engine 4, you can create a Sound Cue. To create a Sound Cue, go in the Content Browser, click RMB > go to Sound > select Sound Cue, this will add a new Sound Cue file in the Content Browser, double-click to open and edit the file.

The Sound Cue Editor is a node-based editor, you can drag and drop Sound Wave files in the editor graph then edit them by adding nodes from the Palette. The Sound Waves can be edited by adding various important nodes like Loop, Mixer, Attenuation, Delay and more... In the level Viewport, Sound Cues become Ambient Sound Actors, therefore Sound Cues have the same properties as Sound Waves actors.

Working with Sounds in the Blueprint scripting system

To add a sounds in the Blueprint Actors, for instance in your Pick up Item Blueprint, you can use the Play Sound at Location node, you can change the Volume, Pitch and Attenuation of the sound.

To add sound in the Widget Blueprint, for instance in your menu Widget Blueprint, you can use the Spawn 2D Sound node, to stop the sound you can use Stop node with the target set to the Audio Component, or you can check the Auto Destroy box (by checking the box, the sound will play only once).

To add Hovered and Pressed sounds to your widget buttons, select the button, go to Details panel > Appearance > Style > Pressed Sound select a sound - Hovered Sound select a sound.

Interesting articles to read on Edvog.com
Unreal Engine 4 Beginner's Guide
Unreal Engine 4 Tutorials & How To's (With Pictures & Video)
Blender 3D Beginner's Guide
GIMP Beginner's Guide

- - - - - - - - - - - -

About Edvog.com - Music, Games & Educational Resources (Information, Health, Medicine & Research) by Edvog.com

My name is Andrei Ionita, I am the creator and owner of Edvog.com website, I am also the creator and owner of all of the products associated with it, such as: music, games, videos and more...

I like to write articles about everything I find interesting in this world. The entire content found on this website is fact checked and original, when I post something, I try to double check all the information provided against all the reliable and trustworthy sources that I can find. On this website you may find content about medicine, the purpose of this type of content is simply informational and is not intended to be a substitute for professional medical advice, for questions you may have regarding your health, always seek the guidance of your doctor or other qualified health professional.

About entertainment and media - Beside, being a website owner and content writer, I'm also a game developer, music producer and video creator. I create, video games, music, animations, photos and more, this is why, from time to time, I will also post content about entertainment and media industry (a broad terminology, just to cover everything in the category)

You can check out the games made by me on Steam and on Google Play, if want to listen my music you can check out my Youtube channel, Spotify profile, iTunes profile, Google Play Music profile, etc. Who knows? Maybe your next favorite game or song will be created by me :)

If you want to support my work, you can play the games created by me, listen to my music and/or Make A PayPal Donation, whatever form of support you will choose, I thank you and wish you a nice day!

Edvog.com / AI Edvog / Andrei Ionita on the internet

YoutubeSpotifyApple MusicAmazon MusicGoogle Play MusicGoogle PlaySteamSupport My Work Make A PayPal Donation

Comments