# How to get UE4 to retrieve pitch & volume data of an event.

**URL:** <https://qa.fmod.com/t/how-to-get-ue4-to-retrieve-pitch-volume-data-of-an-event/12432>\
**Category:** FMOD Studio\
**Created:** [April 5, 2016, 1:14pm UTC](https://qa.fmod.com/t/how-to-get-ue4-to-retrieve-pitch-volume-data-of-an-event/12432 "2016-04-05T13:14:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheLovelySlug](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@TheLovelySlug](https://qa.fmod.com/u/TheLovelySlug)\
**Post date:** [April 5, 2016, 1:14pm UTC](https://qa.fmod.com/t/how-to-get-ue4-to-retrieve-pitch-volume-data-of-an-event/12432/1 "2016-04-05T13:14:53Z")

</div>

Hi all,

This question relates to FMOD Studio & UE4.

We have a robot character in UE4 and we would like to make it so that the colour and intensity of the light on the robot follows/matches the pitch and volume of the VO audio in FMOD.

We’ve tried doing this by using both parameters and markers, but we couldn’t find a way to make this work.

Does anyone know of any workarounds?

I hope that this makes sense!

Alex

---

<div class="post-metadata">

**Author:** ![geoff](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@geoff](https://qa.fmod.com/u/geoff)\
**Post date:** [April 8, 2016, 1:00am UTC](https://qa.fmod.com/t/how-to-get-ue4-to-retrieve-pitch-volume-data-of-an-event/12432/2 "2016-04-08T01:00:08Z")

</div>

There is a planned feature where you can automate a parameter then query its value at runtime, but it didn’t quite make it into 1.8.

As a workaround, you can obtain an event’s channelgroup, and get the pitch and volume from that. You’d need to edit the integration, have a look at the FMOD audio component. That already grabs the channelgroup as part of the tick. You can then call:

[http://www.fmod.org/documentation/#content/generated/FMOD\_ChannelControl\_GetPitch.html](http://www.fmod.org/documentation/#content/generated/FMOD_ChannelControl_GetPitch.html)  
[http://www.fmod.org/documentation/#content/generated/FMOD\_ChannelControl\_GetVolume.html](http://www.fmod.org/documentation/#content/generated/FMOD_ChannelControl_GetVolume.html)

---

<div class="post-metadata">

**Author:** ![TheLovelySlug](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@TheLovelySlug](https://qa.fmod.com/u/TheLovelySlug)\
**Post date:** [April 11, 2016, 11:48am UTC](https://qa.fmod.com/t/how-to-get-ue4-to-retrieve-pitch-volume-data-of-an-event/12432/3 "2016-04-11T11:48:37Z")

</div>

Looks promising - thanks!
