# Programmer sound file length in ue 4.27

**URL:** https://qa.fmod.com/t/programmer-sound-file-length-in-ue-4-27/19626
**Category:** Unreal Engine
**Tags:** ue4
**Created:** [December 7, 2022, 8:09am UTC](https://qa.fmod.com/t/programmer-sound-file-length-in-ue-4-27/19626 "2022-12-07T08:09:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pilvik](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@pilvik](https://qa.fmod.com/u/pilvik)
#### Post date: [December 7, 2022, 8:09am UTC](https://qa.fmod.com/t/programmer-sound-file-length-in-ue-4-27/19626/1 "2022-12-07T08:09:49Z")

</div>

Hey,  
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?

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [December 8, 2022, 11:44pm UTC](https://qa.fmod.com/t/programmer-sound-file-length-in-ue-4-27/19626/2 "2022-12-08T23:44:16Z")

</div>

Hi,

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](https://fmod.com/docs/2.02/api/studio-guide.html#event-callbacks).

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.
