I’m trying to dynamically create a submix during runtime in C++, and add a reverb submix effect to it. I replicate the setup I have working in the editor ( using the assets ), but can’t get it to work. I wonder if we are allowed to do this dynamically at all?
I tried to create a ‘USoundSubmix’ and a ‘USubmixEffectReverbPreset’. I set the settings on the reverb effect, and add this to the effects-chain on the submix. After this I set this submix on the audiocomponent, and restart the sound. This does nothing.
I also tried to set this effect on the ‘USoundBase’ directly. So I get the sound from the AudioComponent, enable the submix sends on it, and add the reverb effect to the ‘SoundSubmixSends’ array ( which is the same as the ‘submix sends’ in the metasounds asset ). This also does nothing.
Code context:
What I’m trying to achieve is to dynamically change the acoustics of a spatialized sound during runtime, but it’s hard to find any info on this topic ( specifically for C++ ).