What's the best way to sync certain events/functions with your soundtrack?

Lowenfas
Wed, 05 Jun 2024 23:05:08 +0000
Blueprint

All I want is to have waves of enemies spawn synchronized with the music playing. I have an idea of how to do it, but I wanted to see if you all had any better ideas on how to trigger events/functions at specific times during the song.

I have heard many people say that you should avoid using delay nodes and timelines, and that when you need to have specific events timed relative to one another you should use Set Timer By Event node.

In the full version of my ‘Survival Mode’ song, I want probably 50 different triggers for enemy spawns. I was thinking that I would put down all the timestamps for triggers into an array and somehow use a Set Timer By Event node to go through the array. My main song is broken up into about five segments which should really help if part of the song needs changed, then I will only have to adjust the timestamps in that one segment of the song. Still gonna be a pain though.

Ideally I would be able to put ‘notifies’ in the audio clip in Unreal, something similar to AnimNotifies, but I looked into that a while ago and it wasn’t a thing. Does anybody have any better ideas how to do this?

8 posts - 4 participants