# About the quality in FMOD SoundBank Generator

**URL:** <https://qa.fmod.com/t/about-the-quality-in-fmod-soundbank-generator/13501>\
**Category:** FMOD Studio\
**Created:** [October 23, 2017, 3:17am UTC](https://qa.fmod.com/t/about-the-quality-in-fmod-soundbank-generator/13501 "2017-10-23T03:17:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssdjxl](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@ssdjxl](https://qa.fmod.com/u/ssdjxl)\
**Post date:** [October 23, 2017, 3:17am UTC](https://qa.fmod.com/t/about-the-quality-in-fmod-soundbank-generator/13501/1 "2017-10-23T03:17:37Z")

</div>

Hello,I am novice at the fmod.  
My computer system is window 10.  
I tried writing a new tool which can change the sound from the .bank in a game.  
This .bank is composed of .fev and .fsb.  
If I want to change the sound,I need to make a new .fsb by the FMOD SoundBank Generator.  
The order of sound in .fsb must be the same as the original.  
It’s too much trouble to put them in the order.  
So now I want to write a new tool which can Auto-arrange and then build a .fsb to replace the old bytes in the .bank.  
Now I face to a problem that I can’t control the vorbis quality.In the FMOD SoundBank Generator,we can change the format and then control quality.The tool I write can’t do it.  
If the .fsb I build is larger than the original .bank,the sound in the game will be boom!  
The fsbank.cpp conclude that  
subSounds[i].fileNames = &gTutorialFileNames[i];  
subSounds[i].numFileNames = 1;  
subSounds[i].speakerMap = FSBANK\_SPEAKERMAP\_ALLMONO;  
subSounds[i].overrideFlags = FSBANK\_BUILD\_DISABLESYNCPOINTS;  
subSounds[i].overrideQuality = 1;  
subSounds[i].desiredSampleRate = 1;  
result = FSBank\_Build(subSounds, gNumTutorialFileNames, FSBANK\_FORMAT\_VORBIS, FSBANK\_BUILD\_DEFAULT | FSBANK\_BUILD\_DONTLOOP, 100, NULL, “test.bank”);  
“100” is quality.Is it right?  
Can somebody tell me how to call fsbank.dll and which variable can control the quality?

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [October 23, 2017, 4:16am UTC](https://qa.fmod.com/t/about-the-quality-in-fmod-soundbank-generator/13501/2 "2017-10-23T04:16:57Z")

</div>

Hello, check out the documentation here :

[https://www.fmod.com/resources/documentation-api?page=content/generated/FSBank\_Build.html#/](https://www.fmod.com/resources/documentation-api?page=content/generated/FSBank_Build.html#/)

---

<div class="post-metadata">

**Author:** ![ssdjxl](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@ssdjxl](https://qa.fmod.com/u/ssdjxl)\
**Post date:** [October 23, 2017, 6:30am UTC](https://qa.fmod.com/t/about-the-quality-in-fmod-soundbank-generator/13501/3 "2017-10-23T06:30:49Z")

</div>

> [@](#):
>
> Hello, check out the documentation here :
> 
> [https://www.fmod.com/resources/documentation-api?page=content/generated/FSBank\_Build.html#/](https://www.fmod.com/resources/documentation-api?page=content/generated/FSBank_Build.html#/)

OK,I see.And the fileData is the whole of .fsb or each of the sound?

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [October 26, 2017, 4:18am UTC](https://qa.fmod.com/t/about-the-quality-in-fmod-soundbank-generator/13501/4 "2017-10-26T04:18:28Z")

</div>

FSBANK\_SUBSOUND::fileData is an array of pointers to each of the subsounds you want to include in the final .fsb
