# Reload programmer sound without restarting event?

**URL:** <https://qa.fmod.com/t/reload-programmer-sound-without-restarting-event/12771>\
**Category:** FMOD Studio\
**Created:** [October 25, 2016, 6:02am UTC](https://qa.fmod.com/t/reload-programmer-sound-without-restarting-event/12771 "2016-10-25T06:02:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wizardfu](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@wizardfu](https://qa.fmod.com/u/wizardfu)\
**Post date:** [October 25, 2016, 6:02am UTC](https://qa.fmod.com/t/reload-programmer-sound-without-restarting-event/12771/1 "2016-10-25T06:02:14Z")

</div>

I see from the `programmer_sound.cpp` example that it’s possible to reload a programmer sound with a different effect by calling `FMOD::Studio::EventInstance::start()`. If the event is already playing this will immediately stop the existing instance and start it again.

Is it possible to reload a programmer sound with a different sample without restarting the event?

---

<div class="post-metadata">

**Author:** ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)\
**Post date:** [October 27, 2016, 9:31am UTC](https://qa.fmod.com/t/reload-programmer-sound-without-restarting-event/12771/2 "2016-10-27T09:31:43Z")

</div>

> [@](#):
>
> I see from the `programmer_sound.cpp` example that it’s possible to reload a programmer sound with a different effect by calling `FMOD::Studio::EventInstance::start()`. If the event is already playing this will immediately stop the existing instance and start it again.
> 
> Is it possible to reload a programmer sound with a different sample without restarting the event?

Hi Nathanael, Apologoes for the delay, i’m just looking into this for you now. will report back soon

---

<div class="post-metadata">

**Author:** ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)\
**Post date:** [October 28, 2016, 12:46am UTC](https://qa.fmod.com/t/reload-programmer-sound-without-restarting-event/12771/3 "2016-10-28T00:46:16Z")

</div>

Hi Nathanael,  
You dont have to load the sound in the programmer callback, that example just happens to do it there.

If you preload the low level sound, and pass it to the callback, it can be played many times simultaneously by the same event or different events.

You can change the sound pointer the programmer sound callback asks for at any point.  
The callback gets called any time the cursor (time or parameter) enters the sound box.

---

<div class="post-metadata">

**Author:** ![wizardfu](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@wizardfu](https://qa.fmod.com/u/wizardfu)\
**Post date:** [October 28, 2016, 1:05am UTC](https://qa.fmod.com/t/reload-programmer-sound-without-restarting-event/12771/4 "2016-10-28T01:05:16Z")

</div>

> [@](#):
>
> Hi Nathanael,  
> You dont have to load the sound in the programmer callback, that example just happens to do it there.
> 
> If you preload the low level sound, and pass it to the callback, it can be played many times simultaneously by the same event or different events.
> 
> You can change the sound pointer the programmer sound callback asks for at any point.  
> The callback gets called any time the cursor (time or parameter) enters the sound box.

Good to know it works this way. Thanks.
