I would like to be able to do the same for Spatializer > Envelopment > User > Sound Size. I can’t find it in the API documentation and suspect it isn’t possible.
I tried this solution out and, while it sets the variable correctly, it has no effect on the Spatializer (e.g. if I set the Spatializer’s sound size to 0 in FMOD Studio, but change it to 10k programmatically, it continues to behave as if the sound size were 0, a.k.a. strong left-right differences, a.k.a. no envelope).
(As an aside, if the SoundSize parameter is not connected to an event, I get an FMOD_EVENT_NOT_FOUND error, which is ok, but a bit misleading.)
I’ve made sure that the event is loaded (by calling flushLoading, and checking with getLoadState) and that the value of SoundSize is being set to something reasonable (e.g. 75), but still I get heavy left right panning in a small range (e.g. 10-20m from the sound source).