Let's Build the RPG! - 17 - Unreal Engine 5 Environment Ambient Sound - Blueprint Audio Tutorial

  Рет қаралды 22,846

NumenBrothers

NumenBrothers

Күн бұрын

Пікірлер: 74
@tamvu9909
@tamvu9909 Жыл бұрын
Can't believe you don't have more view, it's rare to find tutorial that is clear, well structured and presented in a pace that's easy to follow and understand like this. Thank you and keep up the goodwork!
@ilufwafflz
@ilufwafflz 9 ай бұрын
I've subscribed, liked all the videos I've watched, and shared your channel. Thank you for all of the amazing and in depth videos! I'm thoroughly enjoying this series and I rarely comment on videos, but I had to for this one. You do such an amazing job explaining everything clearly and succinctly . You deserve more subs and views for sure! Looking forward to future content, cheers!
@NumenBrothers
@NumenBrothers 9 ай бұрын
thank you sir!
@Az555
@Az555 2 жыл бұрын
Been looking for a tutorial like this! Thank you!
@NumenBrothers
@NumenBrothers 2 жыл бұрын
Awesome, glad to hear it!
@novo_msc
@novo_msc Жыл бұрын
This was awesome. Thank you. Much better than when I was just placing sound cues in the level.
@truespiritualmeditation
@truespiritualmeditation 7 ай бұрын
Feedback... You are doing a great job! The problem with many (most) tutorials (even some I paid for) is that it's all just "do this" and "do that" but no explanation as to why. So yes you end up with a game at the end, but it's pretty much paint-by-number (remember those?), you don't really learn much apart from interface navigation. I will subscribe, like and promote this to others. It's the benchmark for how to teach this subject. So keep doing them this way! A classic example is swapping out the main character for a MetaHuman or a downloaded character, yeh I can find tutorials on how to do it, but still don't really get why I'm doing it that way. Like what does the workspace/workflow represent etc.
@Paltse
@Paltse Жыл бұрын
Well, there is always something new every day. 01.01.2023 at the start of the evening for me, I heard a bird rocking and rolling in this video.
@grendel3k198
@grendel3k198 Жыл бұрын
Exactly what I was looking for. Good tutorial! You definitely deserve more views! Am already looking forward to your other tutorials have just started with UE and something like this really helps enormously :D
@troyrandall5396
@troyrandall5396 4 ай бұрын
love the content, my only suggestion would be to change the casting to a simple work around so the function is not ran 1 time per frame when the user is in the forest. it will improve performance a lot. I was able to do this work around by using "Get Player Character" function and creating a custom function that takes in the other actor and compares it to the player character returning true or false. this makes it so that you do not have to use the resource intensive casting method but still have the same end result when the player is within the range. Happy Building!
@brahimnz_
@brahimnz_ 7 ай бұрын
thank you, an amazing episode which improved my knowledge and learn faster then any time before.
@josembdn
@josembdn 6 ай бұрын
Incredible tutorial, impeccable work like all the ones you do, I thank you for the work you do for the common good. Forward!!
@JoshFoers
@JoshFoers 15 күн бұрын
To answer your question at 20:20. Binaural panning and regular panning are different. Regular panning using left and right channel volumes to determine direction. Technically when centrally panned it exists in the head where as binaural uses your Head related transfer function. Imagine around your head.
@JoshFoers
@JoshFoers 15 күн бұрын
Also great video dude I've been needing exactly this. Aound is my jam the extra bits you filled in nice
@lorenzosaracino9912
@lorenzosaracino9912 Жыл бұрын
gorgeous tutorial, thank you! you manage to be very clear and simple
@eddielonestar7962
@eddielonestar7962 Жыл бұрын
Excellent tutorial my man! You explained this very well. Just what I needed. Thank you!
@gleenng6506
@gleenng6506 Ай бұрын
thank you very much !
@mamboroberts
@mamboroberts Жыл бұрын
G'day - awesome work as always. Not sure if just me or UE 5.1.1 but later on in this series my PIE lag got horrendous when hitting play, like 60+ seconds. I finally traced it to the sphere collision in this blueprint. I had left the mobility to 'movable' (under transform in the sphere collision settings). I don't recall issues when doing this tutorial so it may be a clash with something later (I was on tutorial 19 so suspect it may be the UE water system). Anyway, changing this to 'static' returned my PIE startup to ~4 seconds and has no detrimental effect on the ambience as they are static. Hope this helps someone out as it took some serious trial and error to find (but I learned alot in doing so!) Thanks for this amazing journey @NumenBrothers
@tonyshoulders_
@tonyshoulders_ 10 ай бұрын
You explain things very beginner friendly thank you great tutorial
@LuxAlibi
@LuxAlibi 9 ай бұрын
Great tutorial as usual! One question: wouldn't be a good practice to set also and event on end overlap? You will not ear any sound outside the attenuation volume, but I imagine that the engine may continue to run the waves. Does it stop playing on its own? Thank you
@NumenBrothers
@NumenBrothers 9 ай бұрын
Yes! By default when sounds reach a volume of 0, they stop on their own.
@brianmichaelfuller
@brianmichaelfuller Жыл бұрын
Great stuff!!
@patriklind545
@patriklind545 8 ай бұрын
Very helpful. Thank you.
@BYZGAMES
@BYZGAMES 11 ай бұрын
Brilliant tutorial thank you!
@TTVKenya
@TTVKenya Жыл бұрын
Learning alot. Thanks
@ATomCzech
@ATomCzech 9 ай бұрын
I would never cast to ThirdPersoCharacter until you really need something from it, you can cast just to Character or Pawn and check if it is player, it will be much more generic. And one more thing, if you just set attenuation size to match collision spherein the BP, you don't need to handle collision sphere events, it will automatically play just inside of sphere. I would expect that EU will not use any resources for sound outside of attenuation size.
@ilufwafflz
@ilufwafflz 9 ай бұрын
Can you explain the pros and cons of why you'd cast to Character/pawn vs ThirdPerson? Also, for the events he did randomize it within the event graph. How would you set that randomization if not within the event graph? Thanks in advance
@ATomCzech
@ATomCzech 8 ай бұрын
@@ilufwafflz If you cast to ThirdPerson when you really don't need it, you basically lock your code to this one specific implementation and cannot reuse it for another character. It's always better to write as general code as possible. With sound maybe I miss something. I would expect that if you will just dynamically adjust attenuation size you will get exact boundary when you can hear that sound actually. And you don't need to play with evens then.
@imateria9088
@imateria9088 2 жыл бұрын
thank you!
@dubtube6691
@dubtube6691 Жыл бұрын
great teacher ! thanks
@alexanderhrafnragnarsson4589
@alexanderhrafnragnarsson4589 4 ай бұрын
how did you get the icons in the BP I'm using UE 5.3.2
@moore9899
@moore9899 Жыл бұрын
you save my life
@moore9899
@moore9899 Жыл бұрын
thank you so much
@JarivanBatista
@JarivanBatista 11 ай бұрын
It didn't work here. the overlap with the printstring ok but the sound doesn't come out at all
@frankenjstein9371
@frankenjstein9371 9 ай бұрын
Could you please update this tut for Unreal 5.2? None of the older tuts work with it. I need 5.2 because w use it at work. Thanks.
@KB-kp2oz
@KB-kp2oz 3 ай бұрын
For anyone who cares, you dont have to 'expose on spawn' unless youre actually spawning the actor within the editor, which exposes that variable on node when you select your actor. Also, there are 4 communication methods for Actors. This isnt new, and its clearly listed in the Unreal Engine Docs. Dont take these tutorials as absolute fact. If you have zero knowledge in unreal engine, dont watch these, otherwise you will be pushed down the incorrect path. My 2 cents.
@29Mozay29
@29Mozay29 Ай бұрын
The expose on spawn is a helpful tip, but there's no need to be all high and mighty about it. There's a ton to learn from this tutorial for beginners. It's one of the best presented UE5 tutorials I've seen, even with those little flaws in consideration.
@LauraVlrs
@LauraVlrs Жыл бұрын
Clear, precise, straight to the point. Thanks a ton ! :) Quick question : I would like the same music to play throughout the area I put the BP in, but I have to put in several SphereCollisions to cover the whole area. How can I make the music continue even when the player moves from one SphereCollision to another (I have only one sound cue per sphere)?
@NumenBrothers
@NumenBrothers Жыл бұрын
Hi Laura, I would most likely handle this via an Audio Spline. Basically the music's location can update as the player moves along, and then you can have one larger area via the spline. Something like this: kzbin.info/www/bejne/j6GweYKeYsaCZpo You can also find tutorials on how to fade audio from one source to another if you search for fade audio. And lastly, you could do, instead of a sphere, a Box, and just have the music play if the character is within the box (and this way it can be long and thin).
@LauraVlrs
@LauraVlrs Жыл бұрын
@@NumenBrothers Amazing, thank you very much for your answer !
@frank123ar
@frank123ar Жыл бұрын
You rules!
@lorenfulghum2393
@lorenfulghum2393 2 жыл бұрын
I may be missing something... besides the random start offset, why would you encapsulate this in a blueprint instead of just using an ambient audio source actor with an attenuation radius?
@NumenBrothers
@NumenBrothers 2 жыл бұрын
Blueprints introduce the capacity for dynamic behavior. So for example, placing different kinds of ambient sound actors in different areas of a level or multiple levels- I'll need that level of flexibility in the future.
@lorenfulghum2393
@lorenfulghum2393 2 жыл бұрын
@@NumenBrothers yes, but I am asking specifically what dynamic behavior you are creating in this blueprint other than the random start offset? I started with this blueprint approach, then realized it was basically the same as adding ambient audio actors to the scene but with several extra steps and ram allocations. Using an attenuation asset with the same falloff radius as your colliders here does the same thing with less overhead. When a sound source is 100% attenuated, it is effectively "occluded", so the overlap triggers playing and stopping the sounds is redundant. That is all handled within the audio source actors. Again, I may be missing something, but I was able to implement this same multi-source blending effect without using blueprints.
@NumenBrothers
@NumenBrothers 2 жыл бұрын
@@lorenfulghum2393 no, I don't think you're missing anything. Really the question is, is the sound ever going to need to be dynamic or easily replicated in any way? And if not, I would do it exactly the way you describe.
@lorenfulghum2393
@lorenfulghum2393 2 жыл бұрын
@@NumenBrothers So really, you're using blueprints like a prefab here . I wonder, can you make packed level actors out of ambient audio actors? If so, that would be another way to store prefab sound setups with their own radius, attenuation settings, etc.
@NumenBrothers
@NumenBrothers 2 жыл бұрын
@@lorenfulghum2393 Honestly, haven't tried it, but it would be pretty neat. I don't think Packed Level Actors handle dynamic behavior in game all that well, though I could be wrong about that. But for example, if I wanted ambient sound in the game to evolve based on the overall level of danger the player is in, something common for horror games, would need to be a blueprint. Probably also Metasounds, which I haven't gotten into yet in this series.
@tonyshoulders_
@tonyshoulders_ 10 ай бұрын
Wouldn’t you want to use a blueprint interface instead of casting?
@NumenBrothers
@NumenBrothers 10 ай бұрын
In general the rule of thumb is, if you know precisely what you are communicating with (the type of blueprint), casting is preferable, but if it could be a variety of blueprint classes, then use BP interfaces
@r1eze850
@r1eze850 11 ай бұрын
Hey its exactly the system im looking for, but for some reason when i setup another soundcue when i go to that sphere it wont play the sound. but it works if i dont change the sound from the default one. any idea why that is? It is detecting the overlap but not playing the sound. Edit: I managed to figure it out by using metasounds instead but the same collision system to start and stop the sound
@kasperlarsson7598
@kasperlarsson7598 10 ай бұрын
My blueprint plays sound even when there is no overalp. The sounds just start when I hit play. Anyone fixed this?
@NumenBrothers
@NumenBrothers 10 ай бұрын
Try, using the blueprint node 'Stop' (referencing the audio component), and then to play, use the blueprint node 'Play' (again referencing the audio component)
@JasonFeldstein
@JasonFeldstein 9 ай бұрын
Could you explain how to do this? Total noob here.@@NumenBrothers
@NumenBrothers
@NumenBrothers 9 ай бұрын
@@JasonFeldstein The way I set the AmbientSound to Play at the 19:30 mark. do that but instead of Play, 'Stop'. Play and Stop control the sound.
@buster5661
@buster5661 10 ай бұрын
How do I play the same randomized sound at different locations
@rcterrace1271
@rcterrace1271 Жыл бұрын
When I place the player start outside collision it doesn't play the sound when the player goes into collision. If I place the player start inside the collision sphere it does play the sound. But still when I leave the collision and get back it doesn't start again. Any idea what might be the problem? I don't get any error at BP.
@HasimFN
@HasimFN Жыл бұрын
Bur if you outside the sphere and go in again the wav file restarts evrrytime. I dont want that the wav file needs to be playing already.
@andrinSky
@andrinSky Жыл бұрын
Thank you for this great video. I have one question: how would you construct the sound of a sea if the land is not round and not square. So that you can hear the sea when the player sees the sea?
@NumenBrothers
@NumenBrothers Жыл бұрын
Hi Andy, I would probably do something similar to the River Spline episode (actually next episode in this series, episode 18). It would be a large overlap capsule/box, bigger than the coastline so it extends inland, and then I would set up a spline along the shoreline for the beach sound. hope that helps
@andrinSky
@andrinSky Жыл бұрын
@@NumenBrothers It's working great with the OCEAN too!!! Thank you very much for your Help!!!
@eirikmelum
@eirikmelum Жыл бұрын
When i tried adding in sound files into UE, an error occurred stating: "Failed to import (Asset). Failed to create (Asset)." Any idea how to get around this?
@NumenBrothers
@NumenBrothers Жыл бұрын
This might help: forums.unrealengine.com/t/failure-to-import-please-help/233204
@eirikmelum
@eirikmelum Жыл бұрын
@@NumenBrothers Thank you so much for the quick reply!
@TolisPiperas82
@TolisPiperas82 Жыл бұрын
the print string appears but the sound dont play what i do wrong?the first audio we put ,not the blueprint has to be deleted?i tried everything the string prints byt the sound not plays.please help
@NumenBrothers
@NumenBrothers Жыл бұрын
Hi Tolis, I suggest joining the Discord and most likely we'll be able to help
@TolisPiperas82
@TolisPiperas82 Жыл бұрын
@@NumenBrothers i dont know how to use discord. I cant understand why the sound not play while the string is printing?
@bsizzle0
@bsizzle0 Жыл бұрын
I am currently experiencing that same problem. Have you found the answer?
@rajusnd3318
@rajusnd3318 Жыл бұрын
Great Tutorial - Thanks For Sharing this Amazing content - As a Sound designer I would like to learn each Audio topics in Unreal Engine - In-depth Form - Could Pls Suggest me Some Tutorial or Online Courses - I would be glad if I get a Positive Reply Kindly Raju From India -------- ❤
@NumenBrothers
@NumenBrothers Жыл бұрын
Sure thing, Raju! I found this to be a really good place to start learning about indoor sound, which I do an episode on next week: dev.epicgames.com/community/learning/courses/kN/unreal-engine-sound-and-space/Ek6/unreal-engine-introduction-to-the-course
@rajusnd3318
@rajusnd3318 Жыл бұрын
@@NumenBrothers Sincere Thanks Brother - Means a Lot.....💫💞🙏✨
@viks9759
@viks9759 Жыл бұрын
I CANT MOVE THE FK AMBIENT SOUND.........THIS IS fk killing me
@w9w9bc
@w9w9bc Жыл бұрын
How to randomise where to start playing ambient sounds? I tried the method below, but but the start point is not randomised. Do you know how to fix it? drive.google.com/file/d/1V7uk-Jr7VsojUGlehpkhOOo4li8-SsGM/view?usp=sharing
@johnbernard6480
@johnbernard6480 Жыл бұрын
I am having the same problem. I've re-watched the video a few times and cannot find any errors with how I followed his steps. I am on UE5.1 and am wondering if there is something new that needs to be done...? If I find something, I will reply in this thread. Otherwise, help is appreciated!
Why Do Video Game Studios Avoid Blender?
6:49
The Cantina
Рет қаралды 581 М.
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 13 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,7 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 97 МЛН
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 63 МЛН
Unreal Engine 5.1 | Creating Soundscapes
32:31
The Sound FX Guy
Рет қаралды 13 М.
Games Where You're NOT the Main Character
14:52
i am a dot.
Рет қаралды 2,5 МЛН
Unreal Engine Metasounds: 14 Simple Things I Wish I Knew When I Started
20:07
Brian Michael Fuller
Рет қаралды 10 М.
Quad Ambiences for Audio in Metasounds
14:11
Weaver Audio
Рет қаралды 4 М.
10 Unreal Engine 5 PLUGINS I can't live without!
9:37
Cinecom.net
Рет қаралды 542 М.
Why I’m switching from Unity to Unreal Engine
9:02
LixianTV
Рет қаралды 1,1 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 13 МЛН