# FMOD Studio JS Audio Table Support?

**URL:** <https://qa.fmod.com/t/fmod-studio-js-audio-table-support/16946>\
**Category:** FMOD Engine\
**Tags:** html5, javascript\
**Created:** [March 25, 2021, 10:23pm UTC](https://qa.fmod.com/t/fmod-studio-js-audio-table-support/16946 "2021-03-25T22:23:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aishi](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/aishi/32/82_2.png) [@aishi](https://qa.fmod.com/u/aishi)\
**Post date:** [March 25, 2021, 10:23pm UTC](https://qa.fmod.com/t/fmod-studio-js-audio-table-support/16946/1 "2021-03-25T22:23:42Z")

</div>

Hi, I’m testing the create programmer sound callback in fmodstudioL.js wasm 2.01.07. A sound ptr is successfully being created with queried audio table data, and all functions are returning FMOD.OK, but even after setting the sound and subsoundIndex parameters no sound is being produced.

Creating a programmer sound from a local midi file is working correctly, so this is why I thought it possibly might be a JS/HTML5 audio table support issue. Also my desktop implementation using the same calls in cpp is working fine as well.  
I can share my code if needed.

Thank you for your help.

---

<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:** [March 26, 2021, 6:45am UTC](https://qa.fmod.com/t/fmod-studio-js-audio-table-support/16946/2 "2021-03-26T06:45:36Z")

</div>

hi, have you tried the programmer\_sound.js example in the studio\_api examples folder?  
Brett

---

<div class="post-metadata">

**Author:** ![aishi](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/aishi/32/82_2.png) [@aishi](https://qa.fmod.com/u/aishi)\
**Post date:** [March 26, 2021, 7:40am UTC](https://qa.fmod.com/t/fmod-studio-js-audio-table-support/16946/3 "2021-03-26T07:40:12Z")

</div>

I didn’t realize there were JS examples in here. Thank you, it’s a treasure trove.

One thing I missed was getting the subsound from the sound object. For some reason, just setting the subsoundIndex with the parent sound in the callback parameters worked in the fmodstudio dll.

Edit: It worked, thanks again.
