Totally stuck here trying to figure this out, I have a blueprint with a metasound, the metasound uses a biquadfilter, when I created an input in the metasound for the filter type it set its type to enum, (filter type has 10 different filters), I can’t figure out how to call this in the blueprint so it can be set there.
I’ve also created my own enum with the same ten entries (not sure if I needed to or not but I’ve tried a lot of things at this point)
Basically I need help setting that parameter in the blueprint so that it changes it in the metasound, other variables like floats are easy but this is totally confusing for me.
So after having a play around I found a work around, though if anyone knows how to set enum directly (I’m new to using enums) then let me know, thanks.
So, I may as well post what I did for anyone else that’s trying to get this to work and for my own future reference.
Basically in the metasound convert the input to the filter type to an integer (int32) and in the blueprint convert your manually created enumerator to an integer, then use the set integer parameter node to set it.
Step by step guide -
I dragged off of the filter type input pin in the metasound and in the drop down menu under enum conversions I was able to change it to an int32, then I changed my input variable type to int32 and was able to connect it to the pin (shame it doesn’t automatically add a conversion node like it does in the blueprint editor).
Then, in the blueprint, I created a variable for the enum I’d manually created (To create this, right click in content browser, blueprint - enumeration, then add all the filter types one by one and save it, then it appears as a selection when you create a enum variable in the blueprint)
Next, drag off of your metasound reference in the blueprint and search for ‘set integer parameter’, on this node copy and paste the metasound input name into the In Name field, then connect the enum parameter to the green input pin, it will add a conversion node.
Now I have a better understanding of enumerators and how they work, it looks like there’s supposed to be an enumerator in the engine that you can call up in a blueprint for the filter type, and likely other Meta sound node settings but it looks like they’re missing, maybe it was overlooked by the developers. This said, it turns out I would have needed to create my own and connect it through an integer variable anyway in the end as there’s some filter types that I didn’t want in my list.