Programmer Instrument - 'Get length' in Unreal Blueprints possible?

Hi,

Fmod 2.03.12 and Unreal Engine 5.5.4.

We have an implementation working using programmer sounds/instruments, however we need to get the length of a programmer sound. Is this possible in Blueprints or does it need to be done in code? We could get event length and timeline position, but nothing related to programmer sounds.
Thanks in advance!

This would need to be done in code, as the FMOD::Sound used in the programmer sound is not usable in blueprints and that is what you would need to access to determine the length (ie. Sound::getLength).

Thanks Cameron. I’m asking on behalf of our programmer really, as I’ve seen other threads similar but for UE4 or older. Is it still the same principal? Can you link me to how to do this in code for them please? Thanks!

We don’t have any code examples specifically for Unreal, however we do have a programmer_sound example available in our Engine download.