I am trying to implement a metronome. my bp handles the timing. 1ce per beat it creates a 2D sound, then sets the Input parameter from the beat number, then uses the Quartz system to Play the sound on the beat. The Input index chooses the WAV file from a pre-defined array of WAVs.
It works fine in that the metronome plays back. but it plays back using the default value of the ArrayIndex and not the value I tried to set in the blueprint. I am a noob on this stuff, any help is appreciated. I am attaching pix of the BP and MS
two traps with that flow: the input has to be set on the played sound, and set-call needs to land before the play and on the component you got back from spawning the 2d sound, not on the metasound asset. also check the input is actually exposed in the source editor, an unexposed input silently ignores sets.
if the array index input still refuses, it helps to know which input types the engine exposes gets/sets for: ints, floats and colors are usually there, but some types are missing entirely from the node list.