UE4 - Music Changing And Layering System Tutorial

  Рет қаралды 9,232

Slightly Esoteric Game Development

Slightly Esoteric Game Development

Күн бұрын

Пікірлер: 52
@esotericgamedev
@esotericgamedev Жыл бұрын
Cheap blueprints that'll unlock your dev potential: ✨Marketplace: www.unrealengine.com/marketplace/en-US/profile/Slightly+Esoteric+Studios ✨Gumroad: jacksonnexhip.gumroad.com/ Marketplace content: 🛍 Endless Random World Generator: www.unrealengine.com/marketplace/en-US/product/endless-procedural-worlds-with-level-streaming 🛍 Enemy Waves Spawning System: www.unrealengine.com/marketplace/en-US/product/1438202ce8354709bcf0764563df7d8b 🛍 Simple Flying AI: www.unrealengine.com/marketplace/en-US/product/flying-ai
@Eric_Heberling
@Eric_Heberling 8 ай бұрын
Music plays index 0, but when I pass through the trigger it stops & nothing else plays. I'm getting error message saying that the Set Volume Multipliers on the MusicManager BP connected to 'ChangeMusicTo' are invalid. I see from another comment here that they made the Boolean false. For me, it just left index 0 playing. No error messages though that way.
@8DrunkenGods1
@8DrunkenGods1 4 жыл бұрын
This doesnt work for me at all. The correct music players on start but running through a collision box doesnt start music 2. Gives me lots of 'accessed none' errors too. Even adding in the print strings didnt fire, no collision seems to be happening
@shakaama
@shakaama 3 жыл бұрын
I guess we have different versions. got to 9:05 and didn't have that.
@esotericgamedev
@esotericgamedev 3 жыл бұрын
It’s still there the name has just changed. Search for virtualisation mode or something like that
@shakaama
@shakaama 3 жыл бұрын
@@esotericgamedev it's a drop down menu. not a check box. so what do i select
@dawnrigel4255
@dawnrigel4255 3 жыл бұрын
I'm not following the tutorial exactly, but I've just started learning about putting background music into my own project. Instead of having the .wav audio files, I right-clicked them in my content browser and selected the option "Create Cue," which will create a Sound Cue for your song/sfx. If you open up that Sound Cue, you can edit the volume and pitch of the sound, and there is also an option to set the Virtualization Mode to "Play when Silent" under the Voice Managment section of the menu. I'm not 100% sure if that's the same feature, but it sounds like it. Not sure what makes a Sound Cue different than just using the .wav, it's just the first thing I learned about adding music, so I just went with it lol.
@johnedraisa
@johnedraisa Жыл бұрын
Does this work for a system that has 4 unique tracks? And each of those tracks can have an additional layer of sound added on?
@0911-h6h
@0911-h6h 2 жыл бұрын
this is fuking cool man, and i rencently watch an bunch of videos to resolute my music systeam,this is really helpful and inspired me.
@esotericgamedev
@esotericgamedev 2 жыл бұрын
Glad to hear it mate 😊
@ostapbender1649
@ostapbender1649 2 жыл бұрын
Nice tutor! But how can i get "OnAudioSingleEnvelopeValue" for one of songs from my tracklist for color vizualization on level?
@TheOfficialAgNO3
@TheOfficialAgNO3 2 жыл бұрын
Hmmm the first track plays on begin, but going into the trigger box doesn't work. Seems like a few others have this issue too, any ideas? Thank you
@TheOfficialAgNO3
@TheOfficialAgNO3 2 жыл бұрын
Fixed it, I imagine its the same issue for the others in the comments. In the Music Changing Volume, make sure to set the "Get All Actors of Class" node to the "Set" node at the end. I missed that and it won't trigger the next track.
@JoseAnguloMusic
@JoseAnguloMusic 2 жыл бұрын
I'm getting this error: "Blueprint Runtime Error: "Accessed None trying to read property Current Music Ref". Blueprint: BP_Music_GP_Manager Function: Execute Ubergraph BP Music GP Manager Graph: EventGraph Node: Set Volume Multiplier" Any clues?
@esotericgamedev
@esotericgamedev 2 жыл бұрын
Did you set the sound to virtualize when silent?
@esotericgamedev
@esotericgamedev 2 жыл бұрын
If the volume gets set to 0 and that option isn't checked the sound will automatically be destroyed
@filiciaous
@filiciaous 4 жыл бұрын
DO i need to do all this in music manager or music volbp?
@Xiomz
@Xiomz 2 жыл бұрын
Is there a way to stop the first music before switching to the second?
@curtishall8176
@curtishall8176 4 жыл бұрын
Hey dude, great tutorial. I'm having an issue with the layering where as I enter a new collision box, one audio completely cuts out when a new track begins to play, instead of layering on top of each other.
@Dave.9999
@Dave.9999 3 жыл бұрын
same here
@jommjustonemoreminute6977
@jommjustonemoreminute6977 3 жыл бұрын
Is adding all these songs and setting them to play at 0 volume taxing on the system at all? Always looking to optimize. The full playlist will be added to memory even if we cannot hear them.
@esotericgamedev
@esotericgamedev 3 жыл бұрын
Try it and see. I’ve tried with maybe 7 songs and never noticed a difference
@NephariusAMG
@NephariusAMG Жыл бұрын
15:05 Bless You
@esotericgamedev
@esotericgamedev Жыл бұрын
Thanks lol
@Jimpipecigarbear
@Jimpipecigarbear 4 жыл бұрын
Got it to work, but just one thing. You got the Boolean value incorrect. Had to switch it to false in order to do the change in music.
@MatthewRumble
@MatthewRumble 3 жыл бұрын
where is the boolean value?
@TheCatMurgatroyd
@TheCatMurgatroyd 3 жыл бұрын
how do you change the volume per track?
@TheCatMurgatroyd
@TheCatMurgatroyd 3 жыл бұрын
I'm an idiot :P answer: you double click on the specific track and can then change the music volume by itself... although I do have a weird thing happening... when I walk through the first music volume, everything is as it should... when I walk through the second one, it also works but... when I walk around (even though I'm far away from the first music volume) it changes back to it!? I don't understand why ;_;
@nourabeiruti9798
@nourabeiruti9798 4 жыл бұрын
Is there a way to get the music to fade between the different tracks for a smoother transition?
@esotericgamedev
@esotericgamedev 4 жыл бұрын
Yeah you'll need to use the Set Volume Multiplier node, it'll need a curve and a timer to reduce the volume of one track while increasing the volume of another
@davidwoje2044
@davidwoje2044 4 жыл бұрын
@@esotericgamedev Trying to figure out what you mean by setting a curve and a timer to the. set volume multiplier node to fade in between tracks. Could you please elaborate? Thanks!!
@esotericgamedev
@esotericgamedev 4 жыл бұрын
@@davidwoje2044 you need a curve (an asset you can create in the content browser) that goes from 0 to 1 over time, and then create a timer in blueprints to measure time since the beginning of the fade. Then what you’ll do is read the time elapsed from the timer since the beginning of the fade and use it to read a value between 0 (muted) and 1 (full volume) from the curve. Hard to explain over text lol maybe one of these days I’ll have some time to make a tutorial
@davidwoje2044
@davidwoje2044 4 жыл бұрын
@@esotericgamedev Thanks for the reply and explanation. Ill see what I can do! haha. Ill subscribe to follow up!
@MrSmashmasterk
@MrSmashmasterk 2 жыл бұрын
You are hilarious, and brilliant! Thank you!
@esotericgamedev
@esotericgamedev 2 жыл бұрын
😆 my pleasure
@BitCrusher
@BitCrusher 4 жыл бұрын
Cool stuff! Would it also be possible to have the different tracks fade in to each other? And how would it work if I’d like to attach a oneshot on the change?
@esotericgamedev
@esotericgamedev 4 жыл бұрын
You could fade it by using a macro to interpolate values over time when setting the volume multiplier of the songs
@BitCrusher
@BitCrusher 4 жыл бұрын
@@esotericgamedev gonna look into that. Still quite fresh with Unreal :) Thanks ❤️
@1d33f1x3
@1d33f1x3 3 жыл бұрын
There are Fade In and Fade Out functions - I was able to quickly adapt the tutorial to have a crossfade between tracks.
@GoatOfTheWoods
@GoatOfTheWoods 3 жыл бұрын
@@1d33f1x3 Fade In and Fade Out just stop the sound alltogether for me , how did you make it work? I used Timeline and it works fading in/out like that, but no crossfade
@1d33f1x3
@1d33f1x3 3 жыл бұрын
@@GoatOfTheWoods i believe you are right, they do start and stop with the fades. It works for my purposes so far as I'm fading whole songs, not just instrument tracks. In the future I'll try to make my own fading functions for continually looping tracks.
@TNTMEKKI
@TNTMEKKI 3 жыл бұрын
can you add tutorial how to make radio music in vehicle?
@esotericgamedev
@esotericgamedev 3 жыл бұрын
Yeah probably, it’s pretty simple
@TNTMEKKI
@TNTMEKKI 3 жыл бұрын
@@esotericgamedev It is not simple for me to be a beginner
@issamaf80
@issamaf80 5 жыл бұрын
Great tutorial will sure come handy thx i sub to you.
@esotericgamedev
@esotericgamedev 5 жыл бұрын
you're welcome
@elfideorubio1308
@elfideorubio1308 3 жыл бұрын
The game you are creating is super trippy let me know if I can play it somehow
@esotericgamedev
@esotericgamedev 3 жыл бұрын
gumroad.com/jacksonnexhip?sort=newest#MsWtw
@Kaylum_Birrell
@Kaylum_Birrell 3 жыл бұрын
yeah mine doesnt work at all, shame
@Broockle
@Broockle 2 жыл бұрын
how is changing audio this complicated 😆 kill me now
@Broockle
@Broockle 2 жыл бұрын
actually this works really well Thanks m8 🙏
@Broockle
@Broockle 2 жыл бұрын
ctrl+shift+S tho doesn't save everything. I always close and open my project to make sure it saves properly lol
Adaptive Audio: Music Zones | Valkyrie Sound UE4 Audio Tutorial
16:57
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 306 М.
Music Shuffle Playlist - UE4 Tutorial and Download
21:26
Slightly Esoteric Game Development
Рет қаралды 4,3 М.
How to Mix Audio in Unreal Engine 4
22:22
Valkyrie Sound
Рет қаралды 21 М.
UE5 | Actor Manager System - Tutorial
24:41
Michael Pattison
Рет қаралды 1,8 М.
Sync Events To Audio In Unreal Engine (Repost)
6:59
The Unrealist
Рет қаралды 19 М.
Unreal Engine - Sound and Music In 6 Minutes
5:56
Beardgames
Рет қаралды 61 М.
DPTV UE4 Audio tutorial 6 (Sound Mix And Sound Class)
12:26
DepriveD Productions
Рет қаралды 8 М.
Intro to MetaSounds in Unreal Engine! [New UE5 Series]
15:41
PrismaticaDev
Рет қаралды 39 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН