# Using Unreal engine to change FMOD Parameter

**URL:** <https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678>\
**Category:** Unreal Engine\
**Tags:** ue4\
**Created:** [April 19, 2022, 6:47pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678 "2022-04-19T18:47:27Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![JackWood](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jackwood/32/3441_2.png) [@JackWood](https://qa.fmod.com/u/JackWood)\
**Post date:** [April 19, 2022, 6:47pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/1 "2022-04-19T18:47:27Z")

</div>

Hi, So basically im doing a sonification project on Co2 emissions by each continent. I have Data sheets in unreal and, Get data row nodes, along with an integer that ive set up hooked up to Row Name and ++ nodes every 1 second so it should be adding +1 so the row and going down? But its just simply not working. The get row value is then set up to Set global parameter, hooked up to pitch, etc. But the row value is just not changing! Any Help?!?!?

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [April 19, 2022, 7:50pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/2 "2022-04-19T19:50:15Z")

</div>

Can you screenshot the part where you concatenate the row name with the integer?

---

<div class="post-metadata">

**Author:** ![JackWood](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jackwood/32/3441_2.png) [@JackWood](https://qa.fmod.com/u/JackWood)\
**Post date:** [April 19, 2022, 8:43pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/3 "2022-04-19T20:43:40Z")

</div>

Yeah for sure!  
Here it is.

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

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [April 19, 2022, 8:56pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/4 "2022-04-19T20:56:57Z")

</div>

And the part with the ++? (or the whole event graph)

---

<div class="post-metadata">

**Author:** ![JackWood](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jackwood/32/3441_2.png) [@JackWood](https://qa.fmod.com/u/JackWood)\
**Post date:** [April 19, 2022, 9:02pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/5 "2022-04-19T21:02:00Z")

</div>

Heres the ++

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

Then the sequencer is hooked up to all the Continent music parameters i want to change real time.

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [April 19, 2022, 9:40pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/6 "2022-04-19T21:40:52Z")

</div>

So is the bug in UE or in FMOD in your opinion?

---

<div class="post-metadata">

**Author:** ![JackWood](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jackwood/32/3441_2.png) [@JackWood](https://qa.fmod.com/u/JackWood)\
**Post date:** [April 19, 2022, 9:44pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/7 "2022-04-19T21:44:18Z")

</div>

Hmmmm, im really not sure, im not too experienced in Unreal & FMOD, im a student and this is for my project due in two week (Panicking) aha.

But, if i change the integer manually, to another year then play, the parameters will change correctly. So maybe that means its a UE problem.

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [April 19, 2022, 9:48pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/8 "2022-04-19T21:48:18Z")

</div>

I don’t have the entire event graph, but I guess the problem is that the ++ increments the variable, but the “Row Name” variable you’re using in the first screenshot is called and stored with it’s default value, before any ++ has applied. Maybe try to do that another way, or check the **get** uses the correctly updated value.

---

<div class="post-metadata">

**Author:** ![JackWood](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jackwood/32/3441_2.png) [@JackWood](https://qa.fmod.com/u/JackWood)\
**Post date:** [April 19, 2022, 10:24pm UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/9 "2022-04-19T22:24:45Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/34d485355523f5f6ac0e21e1f0280749f9e7b897.png)  
So, ive changed the blueprint abit, so the row name prints in the print string, and it is changing correctly. But the sounds are still not changing, Im not sure if this is because its a continous sound playing or it has to be a short sound? or something completely different…

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [April 20, 2022, 7:46am UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/10 "2022-04-20T07:46:00Z")

</div>

You don’t get it. I’m talking about this one:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/f/f380b147fc0181b117868bddb5ac08cea0aaf419.jpeg)  
There’s a chance this get is called before any ++ and stay stored in memory with the default value. Especially since you’re apparently making this call at “begin play”. Make sure this get call is redone every time the ++ has occurred.

---

<div class="post-metadata">

**Author:** ![JackWood](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jackwood/32/3441_2.png) [@JackWood](https://qa.fmod.com/u/JackWood)\
**Post date:** [April 20, 2022, 10:21am UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/11 "2022-04-20T10:21:09Z")

</div>

i Changed it:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/5/5f1cd7cf76cf0a51f8dce649a5076b768a750756.png)  
the print string displays the value changing but parameters are still not being affected

---

<div class="post-metadata">

**Author:** ![JackWood](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jackwood/32/3441_2.png) [@JackWood](https://qa.fmod.com/u/JackWood)\
**Post date:** [April 20, 2022, 10:38am UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/12 "2022-04-20T10:38:09Z")

</div>

I FIXED IT!

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d5acb3fc43ccd4eaac2fd698cf5e1a26c2acf8ea.png)  
It apparently just required a delay? to reset the out row values i guess? ugh

---

<div class="post-metadata">

**Author:** ![gamecentric](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/gamecentric/32/3484_2.png) [@gamecentric](https://qa.fmod.com/u/gamecentric)\
**Post date:** [April 27, 2022, 6:49am UTC](https://qa.fmod.com/t/using-unreal-engine-to-change-fmod-parameter/18678/13 "2022-04-27T06:49:48Z")

</div>

Remove all those Delays, they don’t fix anything. From the screenshots, it’s apparent that the nodes you are using to set the FMOD parameters in the BeginPlay event are executed only **once**. They should be moved in the EveryYear node instead, so that the parameters are re-updated each time the counter is incremented.  
And, please, do yourself a favor and stop using the Sequence node that way. It hurts.
