# Automate parameter values over the timeline

**URL:** https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501
**Category:** FMOD Studio
**Created:** [March 29, 2019, 4:27pm UTC](https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501 "2019-03-29T16:27:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![T-ruth](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@T-ruth](https://qa.fmod.com/u/T-ruth)
#### Post date: [March 29, 2019, 4:27pm UTC](https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501/1 "2019-03-29T16:27:46Z")

</div>

I’m making an interactive piece of music, where the player can choose what line is sung after the current one. The pieces of music are all in one event because I need the smooth transitions.  
Now I’d like to pass out to Unity which line is currently playing. For example when I’m at line 3 I’d like to have a parameter that’s at three and that I can pick up from Unity.  
Is it possible to automate a parameter over the timeline? Or are there other things I can try to pass the information out to Unity?

---

<div class="post-metadata">

### Author: ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)
#### Post date: [April 1, 2019, 4:39am UTC](https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501/2 "2019-04-01T04:39:00Z")

</div>

You can automate parameters over the timeline. Right click on the parameter dial in the event editor and select “Add Automation”.

[https://www.fmod.com/resources/documentation-studio?version=2.0&page=authoring-events.html#automation-and-modulation](https://www.fmod.com/resources/documentation-studio?version=2.0&page=authoring-events.html#automation-and-modulation)

It depends entirely on how you have your event set up. You can use callbacks to see passed destination markers, or instruments or audio assets (the audio file) that have been triggered. Setting up callbacks does take a bit of time but is very useful.

[https://www.fmod.com/resources/documentation-api?version=2.0&page=studio-api-eventinstance.html#fmod\_studio\_event\_callback](https://www.fmod.com/resources/documentation-api?version=2.0&page=studio-api-eventinstance.html#fmod_studio_event_callback)

However if you’re using event instruments, callbacks can’t propagate from nested events. In which case, an automated parameter and using `getParameterByName` would also work.

---

<div class="post-metadata">

### Author: ![TorutheRedFox](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/torutheredfox/32/5255_2.png) [@TorutheRedFox](https://qa.fmod.com/u/TorutheRedFox)
#### Post date: [December 25, 2021, 10:01am UTC](https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501/3 "2021-12-25T10:01:18Z")

</div>

I don’t have the option to add automation from the timeline, only from another parameter

---

<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: [December 25, 2021, 10:39am UTC](https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501/4 "2021-12-25T10:39:38Z")

</div>

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

---

<div class="post-metadata">

### Author: ![TorutheRedFox](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/torutheredfox/32/5255_2.png) [@TorutheRedFox](https://qa.fmod.com/u/TorutheRedFox)
#### Post date: [December 25, 2021, 4:45pm UTC](https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501/5 "2021-12-25T16:45:13Z")

</div>

that option is not there for event parameters

---

<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: [December 25, 2021, 5:00pm UTC](https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501/6 "2021-12-25T17:00:03Z")

</div>

What do you mean by “event parameters”? What do you want to automate exactly?

---

<div class="post-metadata">

### Author: ![TorutheRedFox](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/torutheredfox/32/5255_2.png) [@TorutheRedFox](https://qa.fmod.com/u/TorutheRedFox)
#### Post date: [December 26, 2021, 10:41am UTC](https://qa.fmod.com/t/automate-parameter-values-over-the-timeline/14501/7 "2021-12-26T10:41:14Z")

</div>

I wanted a value to increase as with velocity but stop after a specified amount of time, but I’ve worked around it by using sustain points on the timeline

only issue with that is reading back which is made a tiny bit more difficult
