Apologize for this seemingly basic question, but I really haven’t found an answer to it.
How to I play sounds sequentially in MetaSounds?
I’d like input on Sound Cues as well if anyone offers.
There doesn’t seem to be a straightforward alternative to the Random Get node, and I can’t plug my array straight into the Wave Asset port on the Wave Player.
I have a bunch of announcer samples that I’d like to play in an order of my choosing (basically the order I add them to the array), triggering every 10 seconds with a Trigger Repeat.
Also, how do I set this up correctly with the On Finished node? It kills playback once the sample is done playing because the samples are shorter than 10 seconds (the Trigger Repeat Interval).
Is there any detailed documentation on all the MetaSound nodes available?
Thanks!
This may not be the cleanest way to do this, but it should work and is pretty straight forward.
Trigger x times based on how many assets are in your array. Grab the next asset in the array based on the trigger counter value and play it. Compare the trigger count to the number of assets in your array to tell when you’re on the last asset(The trigger counter doesn’t actually reset because the number of repeats and reset count are the same) Grab that last asset’s wave duration and trigger a delay for the duration of the wave asset to have the OnFinished node be called after the final asset is finished playing.
Thanks for answering!
I forgot to state that these are supposed to loop indefinitely like a part of the ambience.
Is the On Finished still necessary then? And is there a reason you use four separate instances instead of piping one into the four inputs?
I tried using the Num node first, but then it skipped Index 0 in the array. Is there a node available that let’s me put a -1 on a pipe between two nodes, or a better solution?
Edit : it plays through the array, loops the last sample two times, and then stops.