I am trying to make a randomized cacophony of bird tweets using Metasounds. This is pretty easy and cool to do in a Sound Cue, but I want to use the new audio system.
For the life of me, I cannot figure out how to actually get that repeat trigger to grab a NEW random interval every time it repeats.
I have also tried using a “Get Delayed Value” on the “Trigger Repeat” node, then setting the “value” variable to a random value from the “On Finished” node of the wave player. It only works ONCE!
(Edit 1: I have also tried to connect a line from the “Finished” node from the waveplayer to the “reset” node on the random value node BUT Metasounds doesn’t like it because it says it will cause a loop… )
Does anyone know how to do this? Can’t seem to find any tutorial that tackles this.
I meanwhile found a way that seems to be working by watching a video of an unrelated topic:
At 2min, the Graph shows the use of a secondary TriggerRepeat node with a shorter period. So each time before the 2nd TriggerRepeat is triggered, there will be a random time generated prior to that, afaiu.
Thanks to SoundFX Guy (great channel) for showing this off. It wouldn’t have occured to me. I am still remaining a tad puzzled why it wouldn’t work with a single TriggerRepeat node.
Can you explain how the second Trigger Repeat makes a new random time before the main one starts? I’m trying something like this and want to understand how it works.