# Recording a mp3 from the FMOD master output for Unity

**URL:** <https://qa.fmod.com/t/recording-a-mp3-from-the-fmod-master-output-for-unity/13057>\
**Category:** Unity\
**Created:** [March 22, 2017, 5:01pm UTC](https://qa.fmod.com/t/recording-a-mp3-from-the-fmod-master-output-for-unity/13057 "2017-03-22T17:01:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonas808](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@Jonas808](https://qa.fmod.com/u/Jonas808)\
**Post date:** [March 22, 2017, 5:01pm UTC](https://qa.fmod.com/t/recording-a-mp3-from-the-fmod-master-output-for-unity/13057/1 "2017-03-22T17:01:26Z")

</div>

Hi everybody,

I’m developing a music creation game. For this I need to save the final “track” and export it to a server, so the player can download it later and listen to it.

So my Question is:  
Can you take the master output from FMOD’s mixer and save/ export it to mp3/wav or any other sound format?  
Another solution would be to route the FMOD output into Unity’s built-in Audio Mixer, but a previously asked question had a answer that this was not possible at that time. Maybe it is now?

Any suggestions? Thanks 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 24, 2017, 12:36am UTC](https://qa.fmod.com/t/recording-a-mp3-from-the-fmod-master-output-for-unity/13057/2 "2017-03-24T00:36:23Z")

</div>

You can, there is an example in fmod’s low level example folder, that takes the output of FMOD and writes it to an mp3.

Unfortunately the code is a pure mp3 output, meaning it does not go to the speakers, the output of the signal -only- goes to an mp3 file.

You can fix this though if you take the output\_mp3 code, and transfer the logic to a custom DSP instead. This way you can ‘capture’ the audio through a custom DSP unit (see the new /examples/custom\_dsp example, and write the PCM data to the mp3 encoder like the output\_mp3 code does instead.

---

<div class="post-metadata">

**Author:** ![chrisprobst](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@chrisprobst](https://qa.fmod.com/u/chrisprobst)\
**Post date:** [October 17, 2023, 5:07am UTC](https://qa.fmod.com/t/recording-a-mp3-from-the-fmod-master-output-for-unity/13057/3 "2023-10-17T05:07:03Z")

</div>

@brett Could you share where these low-level examples are located? Thanks a lot!

---

<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 17, 2023, 5:44am UTC](https://qa.fmod.com/t/recording-a-mp3-from-the-fmod-master-output-for-unity/13057/4 "2023-10-17T05:44:01Z")

</div>

this is called core\_api now, so check the api/core/examples/plugins folder
