# How to save wav files by 16bit?

**URL:** <https://qa.fmod.com/t/how-to-save-wav-files-by-16bit/12484>\
**Category:** FMOD Engine\
**Created:** [May 7, 2016, 6:30am UTC](https://qa.fmod.com/t/how-to-save-wav-files-by-16bit/12484 "2016-05-07T06:30:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qq200600](https://avatars.discourse-cdn.com/v4/letter/q/c77e96/32.png) [@qq200600](https://qa.fmod.com/u/qq200600)\
**Post date:** [May 7, 2016, 6:30am UTC](https://qa.fmod.com/t/how-to-save-wav-files-by-16bit/12484/1 "2016-05-07T06:30:39Z")

</div>

I add effects to a exits sound, and save to result = FMOD\_System\_SetOutput(gSystem2, FMOD\_OUTPUTTYPE\_WAVWRITER);

but the output wav file is 32 bit, 2 channel. I want a 16bit, 1 channel file. how to do this?

and the input wav sound is 16bit, 1 channel

---

<div class="post-metadata">

**Author:** ![qq200600](https://avatars.discourse-cdn.com/v4/letter/q/c77e96/32.png) [@qq200600](https://qa.fmod.com/u/qq200600)\
**Post date:** [May 7, 2016, 9:29am UTC](https://qa.fmod.com/t/how-to-save-wav-files-by-16bit/12484/2 "2016-05-07T09:29:41Z")

</div>

soloved it:

//设置输出类型  
result = FMOD\_System\_SetOutput(gSystem2, FMOD\_OUTPUTTYPE\_WAVWRITER);  
CHECK\_RESULT(result, **LINE** );

```
result= FMOD_System_SetSoftwareFormat(gSystem2, 44100, FMOD_SPEAKERMODE_MONO, 1);
CHECK_RESULT(result, __LINE__ );
```
