# Sample loading process unsing audio table

**URL:** <https://qa.fmod.com/t/sample-loading-process-unsing-audio-table/18501>\
**Category:** FMOD Studio\
**Created:** [March 10, 2022, 2:39pm UTC](https://qa.fmod.com/t/sample-loading-process-unsing-audio-table/18501 "2022-03-10T14:39:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoundTek\_Studio](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/soundtek_studio/32/3395_2.png) [@SoundTek\_Studio](https://qa.fmod.com/u/SoundTek_Studio)\
**Post date:** [March 10, 2022, 2:39pm UTC](https://qa.fmod.com/t/sample-loading-process-unsing-audio-table/18501/1 "2022-03-10T14:39:51Z")

</div>

Hello,  
I want to ask if someone can explain, how the sample loading works if you are using audio tables with programmer sounds.  
For example, I have multiple dialogue banks for each language, but all dialogue lines of one language are contained in a bank.  
I use UE blueprints to set the programmer sound name and then play it.  
When is the audio file actually loaded?  
Is it loaded, when the bank is loaded or if the programmer name is set, or even then when the play command comes?

The programmer in my team has created a custom dialogue system for the game and they want to know how FMOD handles this.

thank and regards

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [March 15, 2022, 11:53pm UTC](https://qa.fmod.com/t/sample-loading-process-unsing-audio-table/18501/2 "2022-03-15T23:53:19Z")

</div>

By default samples aren’t loaded until the event is played, but you can use [`Studio::EventDescription::loadSampleData`](https://fmod.com/resources/documentation-api?version=2.02&page=studio-api-eventdescription.html#studio_eventdescription_loadsampledata) to load individual event’s sample data ahead of time or [`Studio::Bank::loadSampleData`](https://fmod.com/resources/documentation-api?version=2.02&page=studio-api-bank.html#studio_bank_loadsampledata) if you want to preload an entire bank. The exception to this is streaming assets, where smaller chunks of sample data are loaded in as required while the event is playing.

---

<div class="post-metadata">

**Author:** ![SoundTek\_Studio](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/soundtek_studio/32/3395_2.png) [@SoundTek\_Studio](https://qa.fmod.com/u/SoundTek_Studio)\
**Post date:** [March 16, 2022, 10:17am UTC](https://qa.fmod.com/t/sample-loading-process-unsing-audio-table/18501/3 "2022-03-16T10:17:56Z")

</div>

Thanks for the reply! 🙂
