# How to get either (A) The length of whatever audio clip is playing in a multi instrument, or (B) an event that plays when a clip in a multi instrument is finished

**URL:** <https://qa.fmod.com/t/how-to-get-either-a-the-length-of-whatever-audio-clip-is-playing-in-a-multi-instrument-or-b-an-event-that-plays-when-a-clip-in-a-multi-instrument-is-finished/23021>\
**Category:** Unreal Engine\
**Created:** [June 7, 2025, 8:39pm UTC](https://qa.fmod.com/t/how-to-get-either-a-the-length-of-whatever-audio-clip-is-playing-in-a-multi-instrument-or-b-an-event-that-plays-when-a-clip-in-a-multi-instrument-is-finished/23021 "2025-06-07T20:39:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JRed3760](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jred3760/32/8408_2.png) [@JRed3760](https://qa.fmod.com/u/JRed3760)\
**Post date:** [June 7, 2025, 8:39pm UTC](https://qa.fmod.com/t/how-to-get-either-a-the-length-of-whatever-audio-clip-is-playing-in-a-multi-instrument-or-b-an-event-that-plays-when-a-clip-in-a-multi-instrument-is-finished/23021/1 "2025-06-07T20:39:44Z")

</div>

Basically, I have a 3d action event, with a multi instrument that has various clips of various lengths, between 1-10ish seconds.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/9/9baf9be4f5a67dbabfbc110337c9a5bb01afc6cd.png)  
When the sound randomly chosen by the multi instrument is completed, I want someway to tell UE about that.

I was reading that there’s a way to get the length of the clip via getLength or something, but I also read that that doesn’t work for multi instruments, and I’m not sure if that’s applicable to Get parameter value

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d9b518ce8a36e51b246efcea2a04ab08582ff9cc.png)

---

<div class="post-metadata">

**Author:** ![zymian](https://avatars.discourse-cdn.com/v4/letter/z/bc79bd/32.png) [@zymian](https://qa.fmod.com/u/zymian)\
**Post date:** [June 9, 2025, 12:40am UTC](https://qa.fmod.com/t/how-to-get-either-a-the-length-of-whatever-audio-clip-is-playing-in-a-multi-instrument-or-b-an-event-that-plays-when-a-clip-in-a-multi-instrument-is-finished/23021/2 "2025-06-09T00:40:55Z")

</div>

The best way I’ve found to do this is to use an Fmod Audio Component instead as it has access to the audio length, but in that case the component does need to get added to something. If you don’t have an actor for this, you could use something else like the player controller or game state and add the Fmod Audio Component there.

---

<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:** [June 13, 2025, 2:02am UTC](https://qa.fmod.com/t/how-to-get-either-a-the-length-of-whatever-audio-clip-is-playing-in-a-multi-instrument-or-b-an-event-that-plays-when-a-clip-in-a-multi-instrument-is-finished/23021/3 "2025-06-13T02:02:24Z")

</div>

Hi,

An option may be using the `On Event Stopped` callback: [Unreal Engine | API Reference - UFMODAudioComponent::OnEventStopped](https://fmod.com/docs/2.02/unreal/api-reference-ufmodaudiocomponent.html#ufmodaudiocomponent_oneventstopped)

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/6/69f84df667108deefde176a8d4ea7728cd42afc6.png)  
Please note, this will require using an FMOD Audio Component:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/f/fc0d8c39e6127193ba2d7e77fcb08072a8430991.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![GorillaPineapple](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@GorillaPineapple](https://qa.fmod.com/u/GorillaPineapple)\
**Post date:** [December 4, 2025, 7:44am UTC](https://qa.fmod.com/t/how-to-get-either-a-the-length-of-whatever-audio-clip-is-playing-in-a-multi-instrument-or-b-an-event-that-plays-when-a-clip-in-a-multi-instrument-is-finished/23021/4 "2025-12-04T07:44:25Z")

</div>

Just giving this a bump to see if there is anything new in this department? Retrieving the play length and / or current time of the selected sound in a Multi-Instrument on an FMod Component seems a valuable bit of information to have inside UE? At least to me?

---

<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, 2025, 11:02pm UTC](https://qa.fmod.com/t/how-to-get-either-a-the-length-of-whatever-audio-clip-is-playing-in-a-multi-instrument-or-b-an-event-that-plays-when-a-clip-in-a-multi-instrument-is-finished/23021/5 "2025-12-08T23:02:37Z")

</div>

Hi,

Unfortunately not, but I can add your interest in the feature.

I will note that is it possible to retrieve the length of a sound from an event callback: [FMOD Engine | Studio Api Eventinstance - Fmod::Studio::Event::Callback::Sound\_Played](https://fmod.com/docs/2.03/api/studio-api-eventinstance.html#fmod_studio_event_callback_type:~:text=Parameters%20%253D%20FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES.-,FMOD_STUDIO_EVENT_CALLBACK_SOUND_PLAYED,-Called%20when%20the).
