I’m using fmod for voice line localization. And I managed to set up Localized audio table with programmer instrument event. It calls out and plays correct voice lines but how can I access length of that specific audio file, using blueprints?
Or is it somehow possible to edit length of programmer instrument depending of loaded voice line?
Unfortunately, you cannot get the length of a sound via blueprints. You could use an event callback to get the sound attached to the
programmer instrument to get its length. Further explained under FMOD API | Studio API Guide.
It is not possible the change the length of an instrument from outside of FMOD Studio. However, setting the
programmer instrument as
Async will allow any length of audio file to play to completion.