Using the FMOD Studio API I can get a list of EventDescriptions, Strings, Banks, VCAs, etc.
Is there a way I can get a list of sound keys that exist in an AudioTable?
I’d like to get a list of keys that are valid to use in the getSoundInfo method.
I am using C#.
I need this information at runtime because we are switching to FMOD from an existing system that used a naming convention to group sounds so we could use a key to play randomly from the group.
For example game logic that specified stone_footstep* would randomly play a sound from the following list found on disk:
Now that all these sounds are loaded into banks, I want to do the same thing with a hypothetical getSoundList method.
Additionally, game logic that has sound keys associated with various events could be validated against the sound table at runtime to ensure all the keys actually exist in the bank.