Тёмный

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

NumenBrothers
Подписаться 13 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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 8 месяцев назад
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 8 месяцев назад
thank you sir!
@Az555
@Az555 2 года назад
Been looking for a tutorial like this! Thank you!
@NumenBrothers
@NumenBrothers 2 года назад
Awesome, glad to hear it!
@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.
@novo_msc
@novo_msc Год назад
This was awesome. Thank you. Much better than when I was just placing sound cues in the level.
@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
@JoshFoers
@JoshFoers 6 дней назад
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 6 дней назад
Also great video dude I've been needing exactly this. Aound is my jam the extra bits you filled in nice
@josembdn
@josembdn 5 месяцев назад
Incredible tutorial, impeccable work like all the ones you do, I thank you for the work you do for the common good. Forward!!
@troyrandall5396
@troyrandall5396 3 месяца назад
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!
@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.
@lorenzosaracino9912
@lorenzosaracino9912 Год назад
gorgeous tutorial, thank you! you manage to be very clear and simple
@brahimnz_
@brahimnz_ 6 месяцев назад
thank you, an amazing episode which improved my knowledge and learn faster then any time before.
@eddielonestar7962
@eddielonestar7962 Год назад
Excellent tutorial my man! You explained this very well. Just what I needed. Thank you!
@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.
@tonyshoulders_
@tonyshoulders_ 10 месяцев назад
You explain things very beginner friendly thank you great tutorial
@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
@gleenng6506
@gleenng6506 23 дня назад
thank you very much !
@brianmichaelfuller
@brianmichaelfuller Год назад
Great stuff!!
@BYZGAMES
@BYZGAMES 11 месяцев назад
Brilliant tutorial thank you!
@patriklind545
@patriklind545 8 месяцев назад
Very helpful. Thank you.
@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 8 месяцев назад
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.
@TTVKenya
@TTVKenya Год назад
Learning alot. Thanks
@alexanderhrafnragnarsson4589
@alexanderhrafnragnarsson4589 4 месяца назад
how did you get the icons in the BP I'm using UE 5.3.2
@imateria9088
@imateria9088 2 года назад
thank you!
@dubtube6691
@dubtube6691 Год назад
great teacher ! thanks
@moore9899
@moore9899 Год назад
you save my life
@moore9899
@moore9899 Год назад
thank you so much
@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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YpMHOh-aO08.html 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 !
@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.
@frank123ar
@frank123ar Год назад
You rules!
@JarivanBatista
@JarivanBatista 10 месяцев назад
It didn't work here. the overlap with the printstring ok but the sound doesn't come out at all
@buster5661
@buster5661 10 месяцев назад
How do I play the same randomized sound at different locations
@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.
@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)
@user-sx5zo8sz2k
@user-sx5zo8sz2k 9 месяцев назад
Could you explain how to do this? Total noob here.@@NumenBrothers
@NumenBrothers
@NumenBrothers 9 месяцев назад
@@user-sx5zo8sz2k 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.
@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.
@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!!!
@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.
@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
@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.
@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!
Далее
Unreal Engine - Sound and Music In 6 Minutes
5:56
Просмотров 59 тыс.
Quad Ambiences for Audio in Metasounds
14:11
Просмотров 3,9 тыс.
Learning Unreal Engine in One Month to make a Game!
15:25
10 Unreal Engine 5 PLUGINS I can't live without!
9:37
Просмотров 535 тыс.